Before you start

  • A Don’t Starve Together server with us and access to the game panel.
  • A Klei account to create a server token at accounts.klei.com.

1. Add the Klei token

  1. Sign in at accounts.klei.com and open the game servers page for Don’t Starve Together. Type a name and click Add New Server. The token appears in the list, copy it.
  2. In the client area open Services, pick the server and click Open game panel.
  3. On the Startup tab paste the token into the SERVER TOKEN field. It saves by itself.
  4. On the Console tab click Restart (the circular arrow at the top near the server's name).

2. Find the server in the game

  1. In the game open Browse Games and search for the server's name. You find the name on the Startup tab in CLUSTER NAME.
  2. Pick the server and join. If it has a password, the game asks for it.

3. Set up the server

  1. On the Startup tab: CLUSTER NAME is the name in the server list, CLUSTER DESCRIPTION the description, MAX PLAYERS the player limit (1 to 64) and GAME MODE the game mode survival, endless or wilderness.
  2. Type the join password into SERVER PASSWORD. An empty field means no password.
  3. Changes take effect after a restart: on the Console tab click Restart.

4. Add admins

  1. Join the server. When you sign in, the console on the Console tab prints your Klei ID. It starts with KU_.
  2. On the Files tab open the DoNotStarveTogether/config/server folder, where cluster.ini is, and click New File.
  3. Type the IDs, one per line, for example KU_ab12cd34. Click Create File, type adminlist.txt in File Name and confirm with the Create File button.
  4. Restart the server. An admin can then kick and ban players in the game.

5. Add Steam Workshop mods

  1. A mod's ID is in the address of its Steam Workshop page after ?id=, for example 378160973.
  2. On the Files tab open the dedicated_server_mods_setup.lua file in the mods folder. Add the line ServerModSetup("378160973") with your mod's ID at the end and save it with Save Content.
  3. In the DoNotStarveTogether/config/server/Master folder create a modoverrides.lua file with New File containing return { ["workshop-378160973"] = { enabled = true } }. Create the same file in the Caves folder too.
  4. Restart the server. The server downloads the mods by itself at the start.

Troubleshooting

The server won't start

A valid token is missing. The console then prints E_INVALID_TOKEN and Your Server Will Not Start. Check that SERVER TOKEN holds the whole token without spaces and restart the server.

I can't join after a game update

The server and the game need the same version. On the Startup tab switch on AUTO-UPDATE SERVER and restart the server.

An admin has no rights

The file must be named exactly adminlist.txt and sit next to cluster.ini, not in the Master or Caves folder. The ID must start with KU_, a Steam ID does not work. Restart the server after a change.

A mod did not load

In modoverrides.lua the ID needs the workshop- prefix, in dedicated_server_mods_setup.lua it is only the number. The modoverrides.lua file must be in both the Master and Caves folders.

Still stuck?

Message us on Discord. The AI assistant Aurel answers first, and you can call an admin. Or open a ticket in the client area.