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 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • axiteundefined Offline
    axiteundefined Offline
    axite
    wrote on last edited by axite
    #1

    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 0x3770_0undefined GaryCraftundefined 3 Replies Last reply
    3
    • BO2undefined Offline
      BO2undefined Offline
      BO2 Contributor Banned
      wrote on last edited by
      #2

      Damn, Nice Guide!

      1 Reply Last reply
      1
      • fipso100undefined Offline
        fipso100undefined Offline
        fipso100
        wrote on last edited by
        #3

        Nice timing man. I am struggling since hours to get the .net dependencies working. 👍 👍 👍

        1 Reply Last reply
        1
        • Minamiundefined Offline
          Minamiundefined Offline
          Minami Contributor
          wrote on last edited by
          #4

          Nice, thanks for the new guide 🧙

          1 Reply Last reply
          0
          • Sakulundefined Offline
            Sakulundefined Offline
            Sakul
            wrote on last edited by Sakul
            #5

            Hey man thanks for the nice guide, very easy to follow. I have one problem. My server is running and I even get the heartbeat; the problem is that I can't join ingame. The game just stays in a loading loop, it is connecting to the server because when you try to connect using an invalid ip the game just doesn't do anything. It is also missing from the server list. I think there might be something wrong with the game files, wine or my configuration, do you know what this could be? I converted the script so the game should run a normal multiplayer (t6mp) instead of zombies. Maybe I did something wrong? Do you have a working config for t6mp?

            #Shell script for Plutonium T6 Multiplayer/Zombie Server on Ubuntu/Debian
            PAT=~/T6-Server/Server/Multiplayer #Game path
            KEY='SECRET' #Server key https://platform.plutonium.pw/serverkeys
            CFG=dedicated.cfg #Configuration file the server should use (default: dedicated.cfg)
            PORT=4976 #Server port (default: 4976)
            MODE=t6mp #Game mode ( Multiplayer / Zombie ) - ( t6mp / t6zm )
            
            wine .\\bin\\plutonium-bootstrapper-win32.exe $MODE $PAT -dedicated +start_map_rotate +set key $KEY +set net_port $PORT +set sv_config $CFG
            
            Minamiundefined 1 Reply Last reply
            0
            • Minamiundefined Offline
              Minamiundefined Offline
              Minami Contributor
              replied to Sakul on last edited by
              #6

              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 1 Reply Last reply
              0
              • Resxtundefined Offline
                Resxtundefined Offline
                Resxt Plutonium Staff
                replied to axite 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
                • Sakulundefined Offline
                  Sakulundefined Offline
                  Sakul
                  replied to Minami 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
                  • Minamiundefined Offline
                    Minamiundefined Offline
                    Minami Contributor
                    replied to Resxt on last edited by
                    #9

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

                    Resxtundefined Sakulundefined 2 Replies Last reply
                    0
                    • Resxtundefined Offline
                      Resxtundefined Offline
                      Resxt Plutonium Staff
                      replied to Minami 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
                      • Sakulundefined Offline
                        Sakulundefined Offline
                        Sakul
                        replied to Minami 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
                        • Minamiundefined Offline
                          Minamiundefined Offline
                          Minami Contributor
                          replied to Sakul 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
                          • 0x3770_0undefined Offline
                            0x3770_0undefined Offline
                            0x3770_0
                            replied to axite 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
                                • GaryCraftundefined Offline
                                  GaryCraftundefined Offline
                                  GaryCraft
                                  replied to axite 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
                                    • chrxstianundefined Offline
                                      chrxstianundefined Offline
                                      chrxstian
                                      replied to GaryCraft on last edited by
                                      #18
                                      This post is deleted!
                                      1 Reply Last reply
                                      0

                                      • Login

                                      • Don't have an account? Register

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