Build your own DST (Don't Starve Together) server by LinuxGSM.
Login to klei, then visit this page to create a server token.
After entering the server's name, click "ADD NEW SERVER", and you will get an access token.
Later Installing will ask you to enter the token, so please copy it to your clipboard.
The easiest way to install DST game server is by running the following command
curl -sLf https://raw.githubusercontent.com/gaunthan/Dont-Starve-Together-Game-Server/master/easy-install.bash | bash
If you want to install the game server step by step, please follow the instructions proposed in section "Detailed Steps".
cd /tmp
git clone https://github.com/gaunthan/Dont-Starve-Together-Game-Server.git
cd Dont-Starve-Together-Game-Server
Run the following commands on your Linux Terminal to install dstserver
./install-dependencies.bash
./install-server.bash
You should install mods for better game experience.
Put your favorite mods in file mods.txt
, then run the following commands to deploy the settings
./deploy-mod-settings.bash
Modify file /home/dstserver/.klei/DoNotStarveTogether/Cluster_1/cluster.ini
to configure your server.
su - dstserver -c "~/dstserver start"