Don't Starve Together

Don't Starve Together

Dedicated Servers
I really need help with starting up a dedicated server. I got up to the point of creating StartDSTServer.bat but it won't convert to a batch file. Any help? Did I do something wrong before? Any help appreciated!
< >
Showing 1-11 of 11 comments
Ozzey_Lee Jul 25, 2023 @ 7:09pm 
Do you have file extensions turned on? If you're on windows it's "View -> Hidden Items", check that box. Chances are your file is named StartDSTServer.bat.txt
Last edited by Ozzey_Lee; Jul 25, 2023 @ 7:09pm
daehoon.chung8 Jul 25, 2023 @ 7:44pm 
Hey I did not have it checked so I fixed it to a batch file. Thanks! Now I just have to figure out how to run it if anyone got help with that :(
Ozzey_Lee Jul 25, 2023 @ 7:49pm 
Originally posted by daehoon.chung8:
Hey I did not have it checked so I fixed it to a batch file. Thanks! Now I just have to figure out how to run it if anyone got help with that :(

Bit of a mistake on my part, do make sure FILE EXTENSIONS is checked, hidden items isn't required but still nice to have.

To run the batch file assuming everything is set up properly you just need to double click it the same as you would trying to open anything. If the information inside is correct it should handle everything once it's up and running.
daehoon.chung8 Jul 25, 2023 @ 7:49pm 
I have all the files in place but when I click the StartDSTServer.bat it ends up as

"Windows cannot find 'dontstarve_dedicated_server_nullrenderer_x64'."

I also cannot open up the file to copy paste Step 6 of Klei's instructions.
Ozzey_Lee Jul 25, 2023 @ 7:56pm 
If it's saying it can't fine the file that likely means the location the .bat file is pointing to doesn't exist.

Have you installed the dedicated serer tools? If so...

Change the extension back to txt and check that the directory that "dontstarve_dedicated_server_nullrenderer_x64" is located in is where it's at.

For example mine is located
C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64\dontstarve_dedicated_server_nullrenderer_x64.exe

If you haven't installed the server tools install those first and then check to see if the .bat file works.

To install them go to your library, click the games, soundtracks, etc... dropdown and enable tools. Once tools are enabled you will find DST dedicated server among the many listed. Install it and that may get things working.
daehoon.chung8 Jul 25, 2023 @ 8:22pm 
I located mine in Program Files (x86)

Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64\dontstarve_dedicated_server_nullrenderer_x64.exe

as well but the thing is that the location of my StartDSTServer says

c:\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64

which checks out.

I got all the files but idk if they in the right places. Some of my files are in Program Files x86\Steam\steamapps but my DontStarveTogether is in Users\Documents\Klei\DontStarveTogether and that's where I have been doing everything. Is this the same as you?
daehoon.chung8 Jul 25, 2023 @ 8:37pm 
I got everything in place as written in my StartDSTServer.bat as followed

"c:\steamcmd\steamcmd.exe +login anonymous +app_update 343050 validate +quit
cd /D "c:\Steam\steamapps\common\Don't Starve Together Dedicated Server\bin64"
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Master
start dontstarve_dedicated_server_nullrenderer_x64 -console -cluster MyDediServer -shard Caves"

but I open it and it doesn't work. Sorry for the bother :(
Ozzey_Lee Jul 25, 2023 @ 8:50pm 
So I went ahead to make sure I was up to date on everything and I am not. I think what you are following is the old way of doing things.

What you should do is go in game and press ~ to open the console, paste this into it without quotes: "TheNet:GenerateClusterToken()"

This will place a cluster_token file in your documents folder, specifically:

C:\Users\(WHATEVER USER)\Documents\Klei\DoNotStarveTogether\(STRING OF NUMBERS)\Cluster_1\cluster_token.txt


Copy Cluster_token.txt to "C:\Users\(WHATEVER USER)\Documents\Klei\DoNotStarveTogether\Cluster_1\(Your File Goes In This Directory)

Run the dedicated server tool from steam and your server should function normally. If you want to change the name go back to the original location of your cluster_token.txt and open the cluster_1 folder, open the cluster.ini file and under "network" you should see "cluster_name". Change that to whatever you want your worlds name to be and that should be all.

Sorry should probably be testing these things more frequently.
daehoon.chung8 Jul 25, 2023 @ 10:11pm 
Hey i finally got one started thanks to you and a youtube video! Only problem is I don't know how dedicated servers work because I've never run one. When I open the batch file, it creates two different documents. Do I have to keep these two documents running for the server to work? I just tried to exit and restart my laptop and the server didn't work.
Ozzey_Lee Jul 25, 2023 @ 11:55pm 
Yes, those files have to be running in order for the server to continue functioning.

If I'm remembering anything right, one is probably your caves and the other is your overworld.

As long as the two aren't halted by something your server will work.

Unfortunately shutting down and restarting a pc would do the same to the server it is on. There are other effects you can cause but for the most part just keep them running and the laptop workload low and you should have few problems.
Droider Feb 18, 2024 @ 4:23pm 
Originally posted by daehoon.chung8:
Hey i finally got one started thanks to you and a youtube video! Only problem is I don't know how dedicated servers work because I've never run one. When I open the batch file, it creates two different documents. Do I have to keep these two documents running for the server to work? I just tried to exit and restart my laptop and the server didn't work.
could you send that video you watched im having that same problem lol
Last edited by Droider; Feb 18, 2024 @ 4:24pm
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jul 25, 2023 @ 7:04pm
Posts: 11