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.
You can grant admin and whitelist privileges - or ban players - by adding their unique identifier to the desired file. The relevant files can be found in the
DSTClusterConfig/ adminlist.txt blocklist.txt whitelist.txt
See below what each of these actually means and how to get the players identifiers.
Grant admin powers with caution . As per the official Wiki:
An administrator has the ability to kick and ban users in the game, as well as to execute arbitrary lua on the server. WARNING: Only grant administrator rights to those who the GSA would trust with full access to their server / machine.
Whitelisted players have guaranteed access to your server at all times, regardless.
Quite straightforward. Don’t want someone messing around your world? Add them to this list.
Remember you can kick/ban players from the game interface! That will add the player to the
blocklist.txt file automatically for you.
The identifiers are usually (they might vary a bit) 11 characters long, always prefixed by
KU_ followed by 8 (or more) alphanumeric characters (
Once you have the ids, add them - one per line - in the file you want. Example of
KU_A1b2C3d4 KU_aAaA11bB KU_zyXWFegd
There are a few ways to get the player identifier. Here’s 2 methods for you to choose the one that suits you best:
Easiest one if you have access to the server logs. Watch the logs (
tail -f - or however you prefer) while the desired player is joining. You’ll see some messages like these:
[01:52:27]: New incoming connection 184.108.40.206|44444 -- IP Address|Port from client connecting [01:52:27]: Client connected from 220.127.116.11|44444 [01:52:27]: ValidateGameSessionToken pgs-usc^KU_aBCd1234^DontStarveTogether^1cx+crazyEncryptedTokenHash/yolol9= [01:52:28]: Client authenticated: (KU_aBCd1234) WesIsTheBes
You can see the identifier shows up twice. It’s easier to visualize in the last line, where you can also see the player’s nickname on Steam. From this example:
Sounds weird but it works quite well. This way the player id will show up in
blocklist.txt. All you have to do is to move it from there to your desired
Don’t forget to actually (re)move it from
blocklist.txtor that player won’t be able to join the server!