Don’t Starve Together Dedicated Server Setup Guide
Don’t Starve is game about just that, not starving to death in the cold, cruel Tim Burtonesque world. And that’s just the tip of the iceberg, later you’ll be more concerned about spelunking in caves, hunting down tallbirds, and not getting killed by the giants who also claim this land as their own. And now, you can do all of this with your friends in Don’t Starve Together. And this guide will tell you how.
- First, you’re going to need a program called SteamCMD. You can get it here: https://developer.valvesoftware.com/wiki/SteamCMD
- The download should be a .zip file. Create a folder in your C: directory called “SteamCMD” and extract the contents to it.
- Now to get the actual server software. Open steam and mouse over your library. On the menu that appears, select the tools section and find the listing for “Don’t Starve Together Dedicated Server”. Right click it and install.
- Now, we’re going to start creating the files you’ll need to run the server. You’ll need to find the folder
We’re going to add a new folder called “MyDedicatedServer”.
- Inside the newly created folder we’ll create two more, one named “Master” and another named “Caves”. These will contain the server information for the overworld and caves respectively.
- Two more things need to be added to this folder. The first is a file called “cluster.ini”. Create a new text document with this name and paste the following into it using notepad. Then configure it however you would like.
game_mode = survival
max_players = 1 – 64
pvp = true | false
pause_when_empty = true | false
cluster_name = My Server
cluster_description = Welcome
cluster_intention = social | endless | wilderness
autosaver_enabled = true | false
enable_vote_kick = true | false
console_enabled = true | false
shard_enabled = true | false
bind_ip = 127.0.0.1
master_ip = 127.0.0.1
master_port = 11001
cluster_key = dst
- The second file you’ll need is called a cluster token. You’ll need to open Don’t Starve Together (yes the game) and on the menu screen, click the button labeled “Acct Info”. Once there you should see a dedicated server token. If not, click on the button to generate one. Go ahead and copy the text.
- With your special token in hand, head back to your “MyDedicatedServer” folder. Create a new text document called “cluster_token.txt” and paste your token inside. By now your “MyDedicatedServer” folder should look like this.
- Now to get the servers set up, we’ll start with the Master. Open the Master folder and create a new text document, name it “server.ini”. Inside you’ll paste the following.
server_port = 10999
is_master = true
master_server_port = 12346
- That’s it for this folder. Now to the Caves. Create another “server.ini” here. It has slightly different contents.
server_port = 11000
is_master = false
name = Caves
- You will also need to add a file named “worldgenoverride.lua” with the following contents.
override_enabled = true,
preset = “DST_CAVE”,
- Almost done. All that’s left is to actually make a way to run the servers. Go all the way back to your Klei folder (the one that contains the DoNotStarveTogether folder. Create a file called “StartDSTServers.bat” and paste the following code into it.
c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit
cd /D “c:\steamcmd\steamapps\common\Don’t Starve Together Dedicated Server\bin”
start dontstarve_dedicated_server_nullrenderer -console -cluster MyDedicatedServer -shard Master
start dontstarve_dedicated_server_nullrenderer -console -cluster MyDedicatedServer -shard Caves
- Now double click your newly created .bat file and let the computer do the rest. The first time running this will take a while. Eventually the two consoles will look something like this.
- Find your server in game. If you’re on the same LAN or the same computer that’s hosting the server, it will be under LAN, otherwise it will be in the normal server list.
- One last important step, if you don’t plan on playing through a LAN, you’re going to need to forward port 10999 to UDP on your router. This is a different process for every router, so I suggest googling for a port forwarding guide for your specific router. Alternatively, if you’re only wanting to play with friends, use Hamachi to create a virtual LAN. Download link: http://hamachi.en.softonic.com/download
Leave a Reply