Don’t Starve together How to Make a Dedicated Server?
- By Admin --
- Dec 31,2021 --
- 1798 Views ,
- 2 Comments
Don’t Starve Together (DST) is the improvised version of the dedicated server that works for a longer time without causing any problem of graphical overhead. You can host such a server yourself or rent it from a third-party service provider.
You can find DST servers on Windows and Linux operating systems. Steam and Steam CMD are the platforms through which you can optimize the dedicated server.
Things to need for establishing DST:
Copy of DST Hosting - You need a copy of DST for creating your dedicated server. However, with a single file, you can create multiple servers.
Port - There must be port forwarding to be reachable by all your game clients. 10999 port is the default port for UDP traffic.
Knowledge – as a user, you must know file system navigation and editing of text files.
System requirements – for the dedicated servers to work properly, you need your system with the following requirements:
- Internet (Upload) = 8Kbytes / player / s
- Ram = around 65Mbytes/player
- CPU = N/A
- VCRedist_2008 (x86)
Process of making dedicated servers:
Below is the main process of making dedicated servers:
Install - You have to install the software through Steam CMD. Here is the link for your help: https://developer.valvesoftware.com/wiki/SteamCMD.
Depending upon the operating system, the link might differ, so you might have to look for the relevant source for downloading purposes.
Update repository – you’ll have to create an update script. Find the code for updating the repository.
Configure – GSA has two different directories with executable server files
dontstarve_dedicated_server_nullrenderer.exe on Windows and dontstarve_dedicated_server_nullrenderer on Linux. The directory should look like that:
Download and extract Steam – install the command-line tool. Stream network is the best place to download the file. Name the folder as “steamcmd” to download and extract the file. Below is the code you have to follow:
# mkdir steamcmd
# cd steamcmd
# wget http://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
After the completion of the download, extract the file in the same folder.
# tar -xvzf steamcmd_linux.tar.gz
Update the Steam tool – update the Steam tool by executing the following command: ./steamcmd.sh. This process will take some time, so you’ll have to wait for it.
Log in to Steam – Login to your Steam account with your username and password. Even if you don’t have an account on Steam, you can use “anonymous” as a username, and you will not need a password then.
Install Don’t Starve Together Game – Follow this command to install Steam> force_install_dir /home/DST. Choose the name of the folder for saving your folder wherever you want.
Run the server – create a shell script to run the Don’t Starve Together dedicated server. When you have the script running, press CTRL+A. Now press D to come out of the screen without disrupting the server.
By using the following script, you can run the shell server: $ vim start_dst.sh. This script will allow you to continue it further:
#!/bin/sh
cd /home/DST/bin
/usr/bin/screen -S "DST" /bin/sh -c './dontstarve_dedicated_server_nullrenderer –console
Save and exit it.
Connect the DST Game server – open the game console and press the “play” button on the screen. You’ll get to a new screen. By pressing this sign (-), you can find this prompt.
_connect ("IP", port, "password")
Enter the password, IP, and port.
Summing Up:
By following this process, you can install and launch your Don’t Starve together dedicated server and enjoy your game.
Comment