How To Add Admins to Your Don't Starve Together Server
Learn how to grant admin permissions on your Don't Starve Together dedicated server.
Adding admins to your Don't Starve Together server gives trusted players the ability to use console commands, manage players, and control the server.
Find the Player's Klei User ID
Each player has a unique Klei User ID (KU_ID) that looks like KU_xxxxxxxx. Players can find their own ID by opening the in-game console and typing TheNet:GetUserID(). Alternatively, check the server log files for connected player IDs.
Open Files
Log in to the XGamingServer Panel and select your Don't Starve Together server. In the sidebar, click Files.
Navigate to the Cluster Directory
Go to the cluster directory (usually something like DoNotStarveTogether/Cluster_1/).
Edit or Create adminlist.txt
Open the adminlist.txt file. If it does not exist, create it. Add one Klei User ID per line:
KU_xxxxxxxx
KU_yyyyyyyySave and Restart
Save the file and restart your server from the Console page.
📝 Note: Admin players can use the in-game console (press
~) to run commands likec_rollback(1)to roll back one day,c_regenerateworld()to regenerate the world, orTheNet:Kick(userid)to kick a player.
💡 Tip: You can also set up a
blocklist.txtfile with the same format to permanently ban specific players from your server.
How is this guide?