Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Server Hosting Support
  3. PlutoT6 Server & IW4Admin on Ubuntu 20.04

PlutoT6 Server & IW4Admin on Ubuntu 20.04

Scheduled Pinned Locked Moved BO2 Server Hosting Support
guide
18 Posts 12 Posters 2.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • axiteundefined axite

    This guide goes over the complete setup of a PlutoT6 server & IW4Admin on Ubuntu 20.04. Running Windows on a VPS or bare-metal server can be expensive with licensing costs and many server operators have a preference for Linux (myself included).

    As an example, this guide will go over the setup of a PlutoT6 Zombies server & IW4MAdmin. The same concepts should apply to multiplayer, however you will need to adjust your dedicated.cfg file accordingly.

    Before we start, I'd like to give a huge shoutout to Minami for their original guide on setting up a PlutoT6 server on Debian. Many portions of their guide have been used to put together this guide.

    Prepare a VPS/Bare-Metal Server
    The first thing you need to do is have a VPS or bare-metal server ready to go with Ubuntu 20.04 LTS installed. We will not be using a desktop environment in this guide.

    The PlutoT6 server is not very resource intensive, however I recommend a server with at least 2 CPU cores & 4GB RAM for best performance.

    Login to the server as root, or become root with the below command. Note: To make things easier on yourself, it's best to just use a root user. Make sure you are securing your server using key-based authentication and implement a firewall solution, for example with UFW.

    sudo su
    

    Update apt cache and update all packages

    apt update && apt -y full-upgrade
    

    Install Wine

    dpkg --add-architecture i386 
    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    apt-key add winehq.key
    add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
    apt update
    apt install -y --install-recommends winehq-stable
    rm winehq.key
    

    Install .NET

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    dpkg -i packages-microsoft-prod.deb
    rm packages-microsoft-prod.deb
    
    apt update; \
      apt install -y apt-transport-https && \
      apt update && \
      apt install -y dotnet-sdk-3.1
    
    apt update; \
      apt install -y apt-transport-https && \
      apt update && \
      apt install -y aspnetcore-runtime-3.1
    

    Configure Wine

    echo -e 'export WINEPREFIX=~/.wine\nexport WINEDEBUG=fixme-all\nexport WINEARCH=win64' >> ~/.bashrc
    source ~/.bashrc
    winecfg
    

    Download the pre-compiled ZIP containing PlutoT6 server files & IW4Admin, unzip and create a shortcut
    Direct Download | Last Updated: 10/26/2021 | 1.24 GB

    apt install -y zip
    wget https://dl.axite.dev/T6-Server.zip
    unzip T6-Server.zip
    ln -s ~/T6-Server/Server/zone ~/T6-Server/Server/Zombie/zone
    ln -s ~/T6-Server/Server/zone ~/T6-Server/Server/Multiplayer/zone
    

    Configure StartT6Server.sh

    cd T6-Server/Plutonium/
    

    Create a server key on https://platform.plutonium.pw and set the server hostname & game of your choosing, then edit the StartT6Server.sh file using nano

    nano StartT6Server.sh
    

    Once you have pasted your key in the StartT6Server.sh file, save the file by using CTRL + x and then y
    Now we need to make sure script executable.

    chmod +x StartT6Server.sh
    

    Configure StartIW4MAdmin.sh
    We need to make the script executable.

    cd T6-Server/IW4MAdmin
    chmod +x StartIW4MAdmin.sh
    

    Configure the dedicated_zm.cfg file for use with IW4MAdmin.
    We need to set an RCON password in the dedicated_zm.cfg file so that IW4MAdmin can access it.
    Navigate to the folder containing dedicated_zm.cfg

    cd T6-Server/Server/Zombie/main
    nano dedicated_zm.cfg
    

    In this file, set a RCON password.
    rcon_password "examplepassword"
    Exit and save with CTRL + x and then y.

    Almost there!
    Now you're ready to start the server. To make things easier, we'll run the PlutoT6 server & IW4Admin in screen sessions so we can easily return to them if needed and let them run in the background.

    Start the PlutoT6 server

    screen -S t6server
    cd T6-Server/Plutonium
    ./StartT6Server.sh
    

    If all goes well, you should see the server start and after a few seconds you should see Heartbeat successful. messages in the console. Now, detach from this screen session using CTRL + a and then CTRL + d

    Start & configure IW4MAdmin

    screen -S iw4madmin
    cd T6-Server/IW4MAdmin
    ./StartIW4MAdmin.sh
    

    IW4MAdmin will present you with a configuration prompt on the first startup. You can use this guide to configure it to your liking.
    The server IP should be set as 127.0.0.1, and you will use the same RCON password you added to dedicated_zm.cfg earlier.

    If all goes well, IW4MAdmin will start and connect to your sever. If enabled, the webfront will be accessible at http://0.0.0.0:1624, with 0.0.0.0 being your VPS/bare-metal server's IP address.

    Finishing up
    You can now hop in-game and claim ownership of the server and generate credentials for use on the IW4MAdmin webfront (if enabled) To do so, join your game by finding it in the server list, or in the game console use the command connect 0.0.0.0:4976, replacing 0.0.0.0 with your VPS/bare-metal server's IP address.

    I hope this helps! If you run into any issues please drop a comment and I'll do my best to help out.

    Resxtundefined Offline
    Resxtundefined Offline
    Resxt
    Plutonium Staff
    wrote on last edited by
    #7

    axite Nice guide well done. The download is very nice!
    Do you have any VPS recommendation?

    Minamiundefined 1 Reply Last reply
    0
    • Minamiundefined Minami

      Sakul I think the problem is related to your connection ports, they are probably closed (4976-4977), if you host the server on your local network you can test to join it using connect localhost:4976 or connect localhost:4977, if all works correctly, i thinks it's your connection ports. If you use a VPS see to open your ports.

      Sakulundefined Offline
      Sakulundefined Offline
      Sakul
      wrote on last edited by
      #8

      Minami EDIT: Server now working. I fixed it by replacing the Plutonium folder of the .rar file with the one from my local pc. Guess yours is outdated or something.

      1 Reply Last reply
      1
      • Resxtundefined Resxt

        axite Nice guide well done. The download is very nice!
        Do you have any VPS recommendation?

        Minamiundefined Offline
        Minamiundefined Offline
        Minami
        Contributor
        wrote on last edited by
        #9

        @lResxt Personally I use Contabo, the prices are not very expensive.

        Resxtundefined Sakulundefined 2 Replies Last reply
        0
        • Minamiundefined Minami

          @lResxt Personally I use Contabo, the prices are not very expensive.

          Resxtundefined Offline
          Resxtundefined Offline
          Resxt
          Plutonium Staff
          wrote on last edited by
          #10

          Minami This was one of the best websites I found when I did my research but I didn't want to use it because of the setup fees. You basically pay twice the price just because of the setup fees. Even with 3 months the setup fee alone is 5€ for me but I admit that you get a good hardware so I'll give it a try next time I try hosting. Thank you!

          1 Reply Last reply
          1
          • Minamiundefined Minami

            @lResxt Personally I use Contabo, the prices are not very expensive.

            Sakulundefined Offline
            Sakulundefined Offline
            Sakul
            wrote on last edited by
            #11

            Minami Do you maybe know how to get the DLC maps working? I added them to the maprotation and added all the missing map files to the zone folder, yet the server skips the DLC maps when they are next in the maprotation.

            Minamiundefined 1 Reply Last reply
            0
            • Sakulundefined Sakul

              Minami Do you maybe know how to get the DLC maps working? I added them to the maprotation and added all the missing map files to the zone folder, yet the server skips the DLC maps when they are next in the maprotation.

              Minamiundefined Offline
              Minamiundefined Offline
              Minami
              Contributor
              wrote on last edited by
              #12

              Sakul I don't know, if you have the same configuration as here it should work. Or maybe you are missing some gamesettings. I don't think I can help you more 🙁

              If it can help you here is the tree of one of my folder for zombie servers.

              :::

              Serv.PNG

              :::

              1 Reply Last reply
              0
              • axiteundefined axite

                This guide goes over the complete setup of a PlutoT6 server & IW4Admin on Ubuntu 20.04. Running Windows on a VPS or bare-metal server can be expensive with licensing costs and many server operators have a preference for Linux (myself included).

                As an example, this guide will go over the setup of a PlutoT6 Zombies server & IW4MAdmin. The same concepts should apply to multiplayer, however you will need to adjust your dedicated.cfg file accordingly.

                Before we start, I'd like to give a huge shoutout to Minami for their original guide on setting up a PlutoT6 server on Debian. Many portions of their guide have been used to put together this guide.

                Prepare a VPS/Bare-Metal Server
                The first thing you need to do is have a VPS or bare-metal server ready to go with Ubuntu 20.04 LTS installed. We will not be using a desktop environment in this guide.

                The PlutoT6 server is not very resource intensive, however I recommend a server with at least 2 CPU cores & 4GB RAM for best performance.

                Login to the server as root, or become root with the below command. Note: To make things easier on yourself, it's best to just use a root user. Make sure you are securing your server using key-based authentication and implement a firewall solution, for example with UFW.

                sudo su
                

                Update apt cache and update all packages

                apt update && apt -y full-upgrade
                

                Install Wine

                dpkg --add-architecture i386 
                wget -nc https://dl.winehq.org/wine-builds/winehq.key
                apt-key add winehq.key
                add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
                apt update
                apt install -y --install-recommends winehq-stable
                rm winehq.key
                

                Install .NET

                wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
                dpkg -i packages-microsoft-prod.deb
                rm packages-microsoft-prod.deb
                
                apt update; \
                  apt install -y apt-transport-https && \
                  apt update && \
                  apt install -y dotnet-sdk-3.1
                
                apt update; \
                  apt install -y apt-transport-https && \
                  apt update && \
                  apt install -y aspnetcore-runtime-3.1
                

                Configure Wine

                echo -e 'export WINEPREFIX=~/.wine\nexport WINEDEBUG=fixme-all\nexport WINEARCH=win64' >> ~/.bashrc
                source ~/.bashrc
                winecfg
                

                Download the pre-compiled ZIP containing PlutoT6 server files & IW4Admin, unzip and create a shortcut
                Direct Download | Last Updated: 10/26/2021 | 1.24 GB

                apt install -y zip
                wget https://dl.axite.dev/T6-Server.zip
                unzip T6-Server.zip
                ln -s ~/T6-Server/Server/zone ~/T6-Server/Server/Zombie/zone
                ln -s ~/T6-Server/Server/zone ~/T6-Server/Server/Multiplayer/zone
                

                Configure StartT6Server.sh

                cd T6-Server/Plutonium/
                

                Create a server key on https://platform.plutonium.pw and set the server hostname & game of your choosing, then edit the StartT6Server.sh file using nano

                nano StartT6Server.sh
                

                Once you have pasted your key in the StartT6Server.sh file, save the file by using CTRL + x and then y
                Now we need to make sure script executable.

                chmod +x StartT6Server.sh
                

                Configure StartIW4MAdmin.sh
                We need to make the script executable.

                cd T6-Server/IW4MAdmin
                chmod +x StartIW4MAdmin.sh
                

                Configure the dedicated_zm.cfg file for use with IW4MAdmin.
                We need to set an RCON password in the dedicated_zm.cfg file so that IW4MAdmin can access it.
                Navigate to the folder containing dedicated_zm.cfg

                cd T6-Server/Server/Zombie/main
                nano dedicated_zm.cfg
                

                In this file, set a RCON password.
                rcon_password "examplepassword"
                Exit and save with CTRL + x and then y.

                Almost there!
                Now you're ready to start the server. To make things easier, we'll run the PlutoT6 server & IW4Admin in screen sessions so we can easily return to them if needed and let them run in the background.

                Start the PlutoT6 server

                screen -S t6server
                cd T6-Server/Plutonium
                ./StartT6Server.sh
                

                If all goes well, you should see the server start and after a few seconds you should see Heartbeat successful. messages in the console. Now, detach from this screen session using CTRL + a and then CTRL + d

                Start & configure IW4MAdmin

                screen -S iw4madmin
                cd T6-Server/IW4MAdmin
                ./StartIW4MAdmin.sh
                

                IW4MAdmin will present you with a configuration prompt on the first startup. You can use this guide to configure it to your liking.
                The server IP should be set as 127.0.0.1, and you will use the same RCON password you added to dedicated_zm.cfg earlier.

                If all goes well, IW4MAdmin will start and connect to your sever. If enabled, the webfront will be accessible at http://0.0.0.0:1624, with 0.0.0.0 being your VPS/bare-metal server's IP address.

                Finishing up
                You can now hop in-game and claim ownership of the server and generate credentials for use on the IW4MAdmin webfront (if enabled) To do so, join your game by finding it in the server list, or in the game console use the command connect 0.0.0.0:4976, replacing 0.0.0.0 with your VPS/bare-metal server's IP address.

                I hope this helps! If you run into any issues please drop a comment and I'll do my best to help out.

                0x3770_0undefined Offline
                0x3770_0undefined Offline
                0x3770_0
                wrote on last edited by 0x3770_0
                #13
                This post is deleted!
                1 Reply Last reply
                0
                • Kratos_26000undefined Offline
                  Kratos_26000undefined Offline
                  Kratos_26000
                  wrote on last edited by
                  #14

                  Hello it's to say I did the steps and it doesn't work

                  1 Reply Last reply
                  0
                  • A Former User? Offline
                    A Former User? Offline
                    A Former User
                    wrote on last edited by
                    #15

                    Can you update download link please ?

                    1 Reply Last reply
                    0
                    • axiteundefined axite

                      This guide goes over the complete setup of a PlutoT6 server & IW4Admin on Ubuntu 20.04. Running Windows on a VPS or bare-metal server can be expensive with licensing costs and many server operators have a preference for Linux (myself included).

                      As an example, this guide will go over the setup of a PlutoT6 Zombies server & IW4MAdmin. The same concepts should apply to multiplayer, however you will need to adjust your dedicated.cfg file accordingly.

                      Before we start, I'd like to give a huge shoutout to Minami for their original guide on setting up a PlutoT6 server on Debian. Many portions of their guide have been used to put together this guide.

                      Prepare a VPS/Bare-Metal Server
                      The first thing you need to do is have a VPS or bare-metal server ready to go with Ubuntu 20.04 LTS installed. We will not be using a desktop environment in this guide.

                      The PlutoT6 server is not very resource intensive, however I recommend a server with at least 2 CPU cores & 4GB RAM for best performance.

                      Login to the server as root, or become root with the below command. Note: To make things easier on yourself, it's best to just use a root user. Make sure you are securing your server using key-based authentication and implement a firewall solution, for example with UFW.

                      sudo su
                      

                      Update apt cache and update all packages

                      apt update && apt -y full-upgrade
                      

                      Install Wine

                      dpkg --add-architecture i386 
                      wget -nc https://dl.winehq.org/wine-builds/winehq.key
                      apt-key add winehq.key
                      add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
                      apt update
                      apt install -y --install-recommends winehq-stable
                      rm winehq.key
                      

                      Install .NET

                      wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
                      dpkg -i packages-microsoft-prod.deb
                      rm packages-microsoft-prod.deb
                      
                      apt update; \
                        apt install -y apt-transport-https && \
                        apt update && \
                        apt install -y dotnet-sdk-3.1
                      
                      apt update; \
                        apt install -y apt-transport-https && \
                        apt update && \
                        apt install -y aspnetcore-runtime-3.1
                      

                      Configure Wine

                      echo -e 'export WINEPREFIX=~/.wine\nexport WINEDEBUG=fixme-all\nexport WINEARCH=win64' >> ~/.bashrc
                      source ~/.bashrc
                      winecfg
                      

                      Download the pre-compiled ZIP containing PlutoT6 server files & IW4Admin, unzip and create a shortcut
                      Direct Download | Last Updated: 10/26/2021 | 1.24 GB

                      apt install -y zip
                      wget https://dl.axite.dev/T6-Server.zip
                      unzip T6-Server.zip
                      ln -s ~/T6-Server/Server/zone ~/T6-Server/Server/Zombie/zone
                      ln -s ~/T6-Server/Server/zone ~/T6-Server/Server/Multiplayer/zone
                      

                      Configure StartT6Server.sh

                      cd T6-Server/Plutonium/
                      

                      Create a server key on https://platform.plutonium.pw and set the server hostname & game of your choosing, then edit the StartT6Server.sh file using nano

                      nano StartT6Server.sh
                      

                      Once you have pasted your key in the StartT6Server.sh file, save the file by using CTRL + x and then y
                      Now we need to make sure script executable.

                      chmod +x StartT6Server.sh
                      

                      Configure StartIW4MAdmin.sh
                      We need to make the script executable.

                      cd T6-Server/IW4MAdmin
                      chmod +x StartIW4MAdmin.sh
                      

                      Configure the dedicated_zm.cfg file for use with IW4MAdmin.
                      We need to set an RCON password in the dedicated_zm.cfg file so that IW4MAdmin can access it.
                      Navigate to the folder containing dedicated_zm.cfg

                      cd T6-Server/Server/Zombie/main
                      nano dedicated_zm.cfg
                      

                      In this file, set a RCON password.
                      rcon_password "examplepassword"
                      Exit and save with CTRL + x and then y.

                      Almost there!
                      Now you're ready to start the server. To make things easier, we'll run the PlutoT6 server & IW4Admin in screen sessions so we can easily return to them if needed and let them run in the background.

                      Start the PlutoT6 server

                      screen -S t6server
                      cd T6-Server/Plutonium
                      ./StartT6Server.sh
                      

                      If all goes well, you should see the server start and after a few seconds you should see Heartbeat successful. messages in the console. Now, detach from this screen session using CTRL + a and then CTRL + d

                      Start & configure IW4MAdmin

                      screen -S iw4madmin
                      cd T6-Server/IW4MAdmin
                      ./StartIW4MAdmin.sh
                      

                      IW4MAdmin will present you with a configuration prompt on the first startup. You can use this guide to configure it to your liking.
                      The server IP should be set as 127.0.0.1, and you will use the same RCON password you added to dedicated_zm.cfg earlier.

                      If all goes well, IW4MAdmin will start and connect to your sever. If enabled, the webfront will be accessible at http://0.0.0.0:1624, with 0.0.0.0 being your VPS/bare-metal server's IP address.

                      Finishing up
                      You can now hop in-game and claim ownership of the server and generate credentials for use on the IW4MAdmin webfront (if enabled) To do so, join your game by finding it in the server list, or in the game console use the command connect 0.0.0.0:4976, replacing 0.0.0.0 with your VPS/bare-metal server's IP address.

                      I hope this helps! If you run into any issues please drop a comment and I'll do my best to help out.

                      GaryCraftundefined Offline
                      GaryCraftundefined Offline
                      GaryCraft
                      wrote on last edited by
                      #16

                      axite said in PlutoT6 Server & IW4Admin on Ubuntu 20.04:

                      wget https://dl.axite.dev/T6-Server.zip

                      It doesn't have IW4Admin out of the box, but it does have the server files
                      https://sftp.banabyte.com/dl/plutonium/server.zip

                      chrxstianundefined 1 Reply Last reply
                      0
                      • VZLAxSmokeundefined Offline
                        VZLAxSmokeundefined Offline
                        VZLAxSmoke
                        wrote on last edited by VZLAxSmoke
                        #17

                        https://prnt.sc/UpowPyUBcade

                        you can run the server on linux but the bad thing is the aggressive use of the cpu is there a way that when using wine the use of the % of the cpu is lower?

                        because I uploaded a test server when the % is filled the cpu goes up causing lag and jerks to the players

                        My discord in case you can help me

                        VZLAxSmoke#8458
                        Thanks !!

                        1 Reply Last reply
                        0
                        • GaryCraftundefined GaryCraft

                          axite said in PlutoT6 Server & IW4Admin on Ubuntu 20.04:

                          wget https://dl.axite.dev/T6-Server.zip

                          It doesn't have IW4Admin out of the box, but it does have the server files
                          https://sftp.banabyte.com/dl/plutonium/server.zip

                          chrxstianundefined Offline
                          chrxstianundefined Offline
                          chrxstian
                          wrote on last edited by
                          #18
                          This post is deleted!
                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Donate