Skip to content

Become an Admin in Don't Starve Together

Learn how to become an admin on your Don't Starve Together server using adminlist.txt and your Klei User ID → Find out more

19 November 20262 min read2 Views0 helpful

Introduction

As an admin on your Don't Starve Together server, you can kick or ban players, save the server, send announcements, and reset the world if needed. The adminlist.txt file in your server's cluster folder determines which players are admins. Here's how to add yourself and other players as admins.

Find a Klei User ID

Admins are added using their Klei User ID. It has the format KU_ followed by several characters, for example KU_aBcD1234.

When a player joins your server, the server writes a line containing their ID to the output when they log in, similar to this:

Code
Read save location file for (KU_aBcD1234)

You can find this line in the Console tab of your game server.

Info

Without an adminlist.txt file (or if the file is empty), only the player whose Klei account owns the Klei Cluster Token entered under Startup Parameters in the Configuration is an admin on a public server.

Add admins

  1. Stop your server.
  2. Open the Files tab or connect to your server via SFTP.
  3. Go to the DoNotStarveTogether/Cluster_1/ folder.
  4. Create the adminlist.txt file there, or open it if it already exists.
  5. Add one Klei User ID per line:
txt
KU_aBcD1234
KU_eFgH5678
  1. Save the file and start the server.
Important

The adminlist.txt file belongs in the Cluster_1 folder, not in the Master or Caves subfolders. It applies to the entire server, including the caves.

To revoke a player's admin privileges, remove their line from adminlist.txt and restart the server.

In-game admin commands

The Console in the panel is read-only for Don't Starve Together. You must enter admin commands in the game:

  1. Open the console in the game. On English keyboards, the default key is ~.
  2. Press Ctrl to switch to Remote mode. This ensures the commands run on the server rather than just locally.
  3. Enter the command you want and press Enter.
CommandDescription
c_announce("Neustart in 5 Minuten")Sends an announcement to all players
c_save()Saves the world immediately
c_rollback(1)Rolls the world back by the specified number of saves
c_listallplayers()Lists all players with their names and player numbers
TheNet:Kick("KU_aBcD1234")Kicks a player from the server
TheNet:Ban("KU_aBcD1234")Bans a player from the server
Tip

As an admin, you can also kick and ban players more easily from the in-game player list (scoreboard).

Conclusion

Congratulations, you've set up admin privileges on your Don't Starve Together server. If you have any questions or need help, our support team is available every day! 🙂

FAQ

Frequently asked questions

Add one Klei User ID (KU_...) per line in adminlist.txt in DoNotStarveTogether/Cluster_1/, then restart the server.
When they join, the server logs a line like Read save location file for (KU_...). You can find it in your game server's Console tab.
On a public server, only the player whose Klei account owns the configured Klei Cluster Token is an admin.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.