By the end of this guide your friends have admin rights on your Don't Starve Together server, unwanted players are banned, and your group can have reserved slots if you want them. Three plain text files in the server's cluster folder handle all of it. All you need are the players' Klei User IDs and the file manager in the panel.
Requirements
- A running Don't Starve Together server with a Klei server token entered.
- The Klei User ID of every player you want to add.
- Access to Files & worlds → Files in the panel.
The three files
According to the Don't Starve wiki, the lists live in the cluster folder next to cluster.ini and cluster_token.txt. On your server that folder is DoNotStarveTogether/config/server/. All three files are optional and share one format: one User ID per line.
| File | Effect |
|---|---|
adminlist.txt |
These players are admins. |
blocklist.txt |
These players are banned. |
whitelist.txt |
These players get a reserved slot. |
If adminlist.txt is missing or empty, the only admin on an online server is the owner of the cluster token. Without blocklist.txt, nobody is banned.
Find a Klei User ID
The ID starts with KU_ followed by a string of characters. Klei's support article on the KUID explains where to look: start the game, click "Account" in the lower left of the main menu and read the ID on the USER INFO page. Each friend does this on their own PC and sends you the ID.
You can also do it without their help. The wiki notes that the server console logs a player's User ID whenever they log in. Have the player join once, then copy the ID from the console.
Add admins
- Stop the server.
- Open Files & worlds → Files and go to
DoNotStarveTogether/config/server/. - Use New file to create
adminlist.txt. - Put each ID on its own line, for example
KU_ab12Cd3E. Leave out spaces. - Save and start the server.
If you want to stay an admin yourself, add your own ID as well. As soon as the file contains IDs, only that list counts.
Ban players
Create blocklist.txt in the same folder and add the IDs of banned players, one per line. Restart the server afterwards. To lift a ban, delete the line and restart again.
Reserve slots with the whitelist
In Don't Starve Together the whitelist reserves a slot out of the maximum player count for every listed player, so they can always get in. Other players can still join while free slots are left. You need two entries:
whitelist.txtwith the IDs, one per line.- In
cluster.ini, under[NETWORK], the linewhitelist_slots = 2. The number should match the number of IDs exactly.
Reserved slots come out of the value in Maximum players. With eight slots and two whitelist slots, six remain for everyone else.
The panel rewrites some cluster.ini values on every start, including server name, password, PvP and player count. Change those under Game settings → Server Variables. The whitelist_slots line is not one of them and stays as you set it.
Common errors
| Problem | Cause and fix |
|---|---|
| A listed admin has no admin rights | The file is in the wrong folder or has a different name. Check that adminlist.txt sits directly in DoNotStarveTogether/config/server/, then restart. |
| You lost admin rights after editing the list | Your own ID is missing. Once the list contains IDs, only it counts. Add yourself. |
| An ID is not recognised | A typo or a trailing space. Copy the ID straight from the console or the USER INFO page. |
| Only one whitelisted player has a reserved slot | The wiki reports a bug where only the last ID in the whitelist is respected. Also check that whitelist_slots matches the number of IDs. |
A server name or password change in cluster.ini disappears |
The panel sets these values on every start. Change them under Server Variables. |
If a problem persists, copy the first console lines after the server start and open a ticket.
Next steps
Create a backup under Backups & recovery before larger changes. The Don't Starve Together order page shows prices and locations.