Developer 255 Posted February 16, 2016 Developer Share Posted February 16, 2016 This guide will help you set up a dedicated server on an Ubuntu machine (32 or 64-bit) 1. Install dependencies: Spoiler For a 64-bit machine: sudo apt-get install libstdc++6:i386 libgcc1:i386 libcurl4-gnutls-dev:i386 For a 32-bit machine: sudo apt-get install libstdc++6 libgcc1 libcurl4-gnutls-dev 2. Install steamcmd. Spoiler Download and install steamcmd by following the instructions here: https://developer.valvesoftware.com/wiki/SteamCMD#Linux . This guide will assume that you have installed steamcmd to ~/steamcmd/ . You can skip the part about creating a new user if you wish. A shortened version of the necessary commands: mkdir -p ~/steamcmd/ cd ~/steamcmd/ wget "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" tar -xvzf steamcmd_linux.tar.gz 3. Configure and download the server settings Spoiler 3a. Visit the Klei Accounts site and log in to your account. (Please note, Dedicated Servers are not supported for the Xbox and PlayStation versions of the game.). Spoiler 3b. On the accounts page, visit the “GAMES” tab, then scroll down to Don’t Starve Together and click on the “Game Servers” button. Spoiler 3c. If you don’t have any server yet, please click the “ADD NEW SERVER” button. If you have a valid server, click the green “CONFIGURE” button. Expired servers are colored in red and should be deleted. Spoiler 3d. In the “Configure Server” page you will find a form with some options that you can edit to customize your server. Once you are ready, click the “Download Settings” button. Download the Zip archive, extract the content, and place the folder “MyDediServer” inside ~/.klei/DoNotStarveTogether/. Spoiler 4. Create the script that will run the servers. Spoiler Download this shell script and move it to ~/run_dedicated_servers.sh. 5. Give the script executable permissions Spoiler In a terminal, run: chmod u+x ~/run_dedicated_servers.sh 6. Run the script to start the dedicated servers: Spoiler In a terminal, run: ~/run_dedicated_servers.sh 19 6 1 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now