Klei Dedicated Server Token
The account button is still available. It's on the bottom left of your game main window. From there you can access the token list over the games tab and then over the server list button on Don't starve together in the games list. There you can see your current ones, and generate new ones. You just need to add in the white box Klei Dedicated Server Token and click on Generate Server Token. You need to add server token in both master and caves servers inside Server Token Click on Configuration Files then edit MyDediServer clustertoken.txt Server Token.
- C:serverbin>dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Master
- [00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/MyDediServer/Master/
- [00:00:00]: Version: 180846
- [00:00:00]: Current time: Mon Jun 13 17:02:13 2016
- [00:00:00]: Don't Starve Together: 180846 WIN32
- [00:00:00]: Parsing command line
- [00:00:00]: Command Line Arguments: -console -cluster MyDediServer -shard Master
- [00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead.
- [00:00:00]: ....Done
- [00:00:00]: ...Done
- [00:00:00]: CurlRequestManager::ClientThread::Main()
- [00:00:00]: [Connect] PendingConnection::Reset(true)
- [00:00:00]: Network tick rate: U=15(2), D=0
- [00:00:00]: [Warning] Authorized application C:serverbindontstarve_dedicated_server_nullrenderer.exe is not setup in the firewall.
- [00:00:00]: Authorized application C:serverbindontstarve_dedicated_server_nullrenderer.exe is now enabled in the firewall.
- [00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure)
- [00:00:00]: THREAD - started 'ConsoleInput' (9956)
- [00:00:01]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure)
- [00:00:01]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure)
- [00:00:01]: Renderer initialize: Okay
- [00:00:01]: Buffers initialize: Okay
- [00:00:01]: cDontStarveGame::DoGameSpecificInitialize()
- [00:00:01]: FMOD Error: An invalid object handle was used.
- [00:00:01]: cGame::StartPlaying
- [00:00:01]: DoLuaFile scripts/main.lua
- [00:00:01]: DoLuaFile loading buffer scripts/main.lua
- [00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.
- [00:00:01]: DownloadMods(0)
- [00:00:01]: FMOD Error: An invalid object handle was used.
- [00:00:01]: PlayerDeaths could not load morgue
- [00:00:01]: PlayerHistory could not load player_history
- [00:00:01]: Could not load saveindex
- [00:00:01]: OnUpdatePurchaseStateComplete
- [00:00:03]: Load FE: done
- [00:00:03]: ModIndex: Load sequence finished successfully.
- [00:00:04]: [200] Account Failed (6): 'E_INVALID_TOKEN'
- [00:00:04]: !!!! Your Server Will Not Start !!!!
- [00:00:04]: No auth token could be found.
- [00:00:04]: open the console from a logged-in game
- [00:00:04]: client with the tilda key (~ / �) and type:
- [00:00:04]: This will create 'cluster_token.txt' in
- [00:00:04]: your client settings directory. Copy this
- [00:00:04]: into your cluster settings directory.
- [00:00:04]: [Connect] PendingConnection::Reset(true)
Don't Starve Together dedicated server guide for all platforms (Linux, Mac, Windows) with Docker. Extensive documentation covering mods installation, server config and performance, world generation and setting up admins.
Project maintained by mathieloHosted on GitHub Pages — Theme by mattgrahamThe definitive guide on how to generate a cluster token for your Don’t Starve Together dedicated server.
There are two main ways a cluster token can be generated. While both ways are in-game (you need to launch the game client), one is done via typing in a console command, while the other is done via GUI.

For this project, the cluster_token.txt
file is located in DSTClusterConfig/cluster_token.txt
.
This file must be generated based on your Steam account. The account that generates the token automatically gains admin access in-game, meaning you can rollback, regenerate the world or use console commands while playing.
Via console command
Enter the game and press “Play”. After you’re logged in, bring up the console (by pressing ~
) and type the following command:
Press enter. The console will go away, and a cluster_token.txt
was generated in:
- Unix:
~/.klei/DoNotStarveTogether
- Windows:
C:Users<username>DocumentsKleiDoNotStarveTogether
Get the generated file and overrideDSTClusterConfig/cluster_token.txt
with it.
Klei Dedicated Server Tokens
Via “Account” interface
Open the game and press “Play”.
On the bottom left of the screen, click “Account”. This will bring up information about your Klei Account.

You’ll see your account information along with a list of all the Cluster Tokens your account ever generated in any way (console command, hosting a local server, etc).
Scroll to the bottom and you’ll see a “Generate Server Token” button. You can add a “friendly name” for it so you can remember what it was created for.
Klei Dedicated Server Token Login
The newly generated token will show up in the list along with the name you gave it. Open DSTClusterConfig/cluster_token.txt
, erase it completely and paste the token in the file. Make sure to not leave any extra spaces or blank lines.