NEW 📢 Save up to 30% on your first month, limited time offer!

How to change your Don't Starve Together server name, password and settings

Don't Starve TogetherUpdated Sep 24, 20263 min read

A Don't Starve Together server is a cluster. The settings for the whole cluster are in cluster.ini, and each shard has its own smaller server.ini.


1. The cluster token is not optional

Without a valid token the server starts and then refuses to go online. The token comes from your own Klei account.

  1. In the game, open Account, then the games and servers section, and generate a server token.
  2. Stop your server in the Game Panel.
  3. In the Files tab, open the cluster folder and create or edit cluster_token.txt.
  4. Paste the token in on its own, with no quotation marks and no extra lines.
  5. Save and start the server.

2. Edit cluster.ini

  1. Stop the server.
  2. Open cluster.ini in the cluster folder.
SettingSectionWhat it does
cluster_name[NETWORK]The name in the server list.
cluster_description[NETWORK]One line about the server.
cluster_password[NETWORK]Password to join. Empty means open.
cluster_intention[NETWORK]cooperative, competitive, social or madness.
max_players[GAMEPLAY]Player slots.
pvp[GAMEPLAY]true or false.
game_mode[GAMEPLAY]survival, endless or wilderness.
pause_when_empty[GAMEPLAY]Freezes the world with nobody online.
console_enabled[MISC]Must be true for admin commands.

3. Shard settings

Each shard folder, usually Master and Caves, has its own server.ini holding the shard name and its port. Leave the ports alone. They are set to match the ports allocated to your service, and changing them breaks the link between the two shards.


4. World generation

World options such as season length and resource abundance are in worldgenoverride.lua in each shard folder. They only apply when a world is generated. An existing world keeps the settings it was made with.


5. Save and restart

  1. Save your files.
  2. Start the server and read the console. It reports the cluster name and whether the token was accepted.

If a setting does not apply, check it is under the right section header and that the server was stopped when you saved.

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS