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 Aneryan3 min read3 viewsUpdated

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 toadminlist.txtin 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
- Sign in to panel.skyes.id and open your Don't Starve Together server.
- Open Console and tap Stop.
- Open Files and go to the cluster folder (the one containing
cluster.ini, usuallyCluster_1). - Open
adminlist.txt. If it doesn't exist, create a new file with that name. - Add one Klei User ID per line:
KU_AbCd1234
KU_EfGh5678
- Tap Save Content, then Start from Console.
Make sure
console_enabled = trueis set in the[MISC]section ofcluster.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
| Command | What 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_rollbackcan only go back as many saves as are kept, set bymax_snapshotsincluster.ini.
If it doesn't work
| Symptom | Common cause | Fix |
|---|---|---|
| In-game console doesn't run commands on the server | Remote mode isn't on | Press Ctrl until Remote appears |
| Player isn't an admin yet | Wrong ID, or the server wasn't restarted | Check the ID starts with KU_ with no spaces, then restart |
| Command not recognized | Typo or missing brackets | Type it exactly, for example c_save() |
| No console commands work at all | console_enabled = false | Set it to true in cluster.ini, then restart |
| Banned player can still join | Ban used a name instead of the Klei User ID | Use 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?

