Skip to content
Skyes Hosting

Admins and Console Commands on a Don't Starve Together Server

How to make players admins through adminlist.txt with their Klei User ID, open the remote console, and use key commands such as save, rollback, kick, and ban.

dont-starve-togetherWritten by 3 min read3 viewsUpdated

Admins and Console Commands on a Don't Starve Together Server

Admins on a Don't Starve Together (DST) server can run console commands from inside the game, such as saving the world, rolling back, or kicking players. Admins are set in the adminlist.txt file, which lists players' Klei User IDs.

In short: find the Klei User ID (KU_...) → stop the server → add it to adminlist.txt in the cluster folder → start the server → press ~ in game to open the console.

Step 1 — Find the Klei User ID

Every DST account has a Klei User ID that starts with KU_, for example KU_AbCd1234. It is not the same as a Steam name.

  • Sign in at accounts.klei.com with the account used to play, and look for Klei User ID on the account page.
  • Or, after the player joins the server, find their ID in the panel's Console log. The line logged when a player joins includes their KU_....

Step 2 — Add it to adminlist.txt

  1. Sign in to panel.skyes.id and open your Don't Starve Together server.
  2. Open Console and tap Stop.
  3. Open Files and go to the cluster folder (the one containing cluster.ini, usually Cluster_1).
  4. Open adminlist.txt. If it doesn't exist, create a new file with that name.
  5. Add one Klei User ID per line:
KU_AbCd1234
KU_EfGh5678
  1. Tap Save Content, then Start from Console.

Make sure console_enabled = true is set in the [MISC] section of cluster.ini, so console commands work.

Step 3 — Use the console

There are two places to run commands:

  • From the panel: type the command in the Skyes Game Panel Console field. It runs directly on the server.
  • In game (admins): press ~ (below Esc) to open the console. Press Ctrl until Remote appears, so commands are sent to the server instead of only your own game.

Key commands

CommandWhat it does
c_save()Save the world now
c_rollback(1)Go back to an earlier save. The number = how many saves to roll back
c_reset()Reload the world from the last save
c_announce("Server restarts in 5 minutes")Send an announcement to all players
c_listallplayers()List players who are online
TheNet:Kick("KU_AbCd1234")Kick a player from the server
TheNet:Ban("KU_AbCd1234")Ban a player from joining again
c_shutdown(true)Save, then shut the server down
c_regenerateworld()Delete the world and generate a new one

c_regenerateworld() can't be undone. All world progress is lost. Download a backup first and make sure every player agrees.

c_rollback can only go back as many saves as are kept, set by max_snapshots in cluster.ini.

If it doesn't work

SymptomCommon causeFix
In-game console doesn't run commands on the serverRemote mode isn't onPress Ctrl until Remote appears
Player isn't an admin yetWrong ID, or the server wasn't restartedCheck the ID starts with KU_ with no spaces, then restart
Command not recognizedTypo or missing bracketsType it exactly, for example c_save()
No console commands work at allconsole_enabled = falseSet it to true in cluster.ini, then restart
Banned player can still joinBan used a name instead of the Klei User IDUse the KU_... ID in TheNet:Ban

Safe practice

  • Only give admin access to people you trust.
  • Save the world (c_save()) before running commands that change it.
  • Tell players before a rollback or restart.

If you still have problems, contact Skyes Hosting support with your server name and the command you ran.

Was this article helpful?

Open support center