New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Add an Admin to Your Don’t Starve Together Server

How to Add an Admin to Your Don’t Starve Together Server

Add an admin to a Don’t Starve Together server

2 min read
Jul 30, 2026

Admins are defined on your server through the adminlist.txt file. That is where you enter the Klei user ID of every player who should receive admin rights.

Find the Klei user ID

There are several ways to find your Klei user ID:

  • In game: Click Account in the main menu. The account page opens in your browser and shows your user ID.

  • In the browser: Sign in at accounts.klei.com with your Steam account. Your user ID is shown in the account overview.

  • Via the console: Press ~ in game and enter the following command:

    TheNet:GetUserID()
    
  • For other players: If you already are an admin, this console command lists all players with their user ID:

    c_listallplayers()
    

    The output uses the format [1] (KU_xxxxxxxx) PlayerName <character>.

Add the admin

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP or use the file browser in the dashboard.

  3. Open the cluster folder
    Navigate to the folder that contains the cluster.ini file. That is your cluster folder.

  4. Open adminlist.txt
    Open the adminlist.txt file there. If it does not exist yet, create it:

    <cluster folder>/adminlist.txt
    
  5. Enter the user IDs
    Add exactly one Klei user ID per line – without commas and without quotation marks:

    KU_xxxxxxxx
    KU_yyyyyyyy
    
  6. Start the server
    Save the file and start your server. The server only reloads the adminlist.txt on startup.

Written byEmeraldHost Team
Last updated on Jul 30, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Don't Starve Together

Ready to get started?

Rent your Don't Starve Together Server now

Join our Discord community 1257 members online right now