Skip to content Nodecraft
Support / Don't Starve Together / Adding Admins on your Don't Starve Together Server

Adding Admins on your Don't Starve Together Server

Adding players as admins in your Don't Starve Together server is done by creating (or editing) a file called adminlist.txt.

To add a player as an admin on a Linux server (All Nodecraft servers use Linux operating systems) you will need their "KU" ID from the Klei website.

Get the Player's "KU" ID

This is an ID number assigned to each player by the game developer, Klei, when they create an account on Klei's website. These ID numbers are called "KU" IDs because they always begin with "KU_" followed by the actual ID number (which can be a combination of letters and numbers).

There is a second ID number shown on their account, which is longer and made entirely of numbers. That's the player's Steam64ID number, which is not needed for adding admins on our Don't Starve Together servers.

A player can provide their own KU ID if they know it. They can get this information from their account page on Klei when they log into their website with their account name and password. A player can also automatically go to their account page on the Klei website by clicking on the "Account" button on the title page of Don't Starve Together in Steam.

A view of a Klei account page

You can also get a player's KU ID from the chat logs on the server - simply have the player say something in chat first. These logs will be located in both the "Master" and "Caves" directories (/.klei/DoNotStarveTogether/MyDediServer/Master or /.klei/DoNotStarveTogether/MyDediServer/Caves). The logs are called server_chat_log.txt. Select the file and click Edit on the Nodecraft control panel to show the contents of the log. A player's KU ID will be listed in front of every message they have sent.

A view of the location of the server_chat_log.txt file for Don't Starve Together within Nodecraft Pro

Create an adminlist.txt File

The adminlist.txt file may not be on the server and you will need to create this file manually. If you already have an adminlist.txt file created, then just select and edit it.

To create a new text file entirely on the Nodecraft Pro panel, simply click on the Create File button in the Server Files tab in the following location: /.klei/DoNotStarveTogether/MyDediServer. This opens up a text editor built into the control panel.

Make sure the file is named adminlist.txt by editing the dark gray text that initially says New File.txt. Click on the text and you will be able to enter the file name there. Then, enter the information in the editing window below, where you see the blinking cursor bar on line 1.

A view of how to create an adminlist.txt file for Don't Starve Together within Nodecraft Pro

Entering the KU ID into the adminlist.txt File

Inside the adminlist.txt file, add the KU ID for each person you want to make an admin, each on a separate line.

A view of adding a Klei User ID to an adminlist.txt file for Don't Starve Together within Nodecraft Pro

When you're finished, Save the changes. Alternatively, you can just create the adminlist.txt file on your home computer, using any text editor, and upload it to your server.

Restart and Test

The last step is to Restart your server! It will load the adminlist.txt file and the player should be granted access to admin commands in the game.

Checking Players are Admins

The easiest way to see if players have been granted admin power is to have the players connect to the server and hit Tab. This opens the list of players connected to the server.

If they have a gray star next to their character portraits in the player listings, they are considered admins by the game.

An in-game view of the icon admin'd players have in Don't Starve Together

Of course, it's always a good idea to have them try testing out using a few admin commands just to make sure.

Opening Admin Console

The players open the console by hitting the tilde key ~. This key is usually right above Tab, and to the left of the 1 key on most keyboards. This opens up a brown bar near the bottom of the screen and also displays a column of white text showing various bits of information about the server.

Pressing ctrl while the console is open can also toggle it between "remote" and "local" mode (depending on if you are the host of the server). You will see the words "remote" or "local" at the left end of the console bar. Some commands need to be run locally and some in remote. The wiki has more information about which commands need to be run in which mode.

The vast majority of the commands you will frequently use will be entered in "remote" mode.

Below are two simple commands that are easy to use to see if admin powers are working correctly:

  • c_sethealth(.50) will set your health to half.

  • c_sethealth(1) will set it back to full (max).

Console Command-List

A full list of all the console (admin) commands for Don't Starve Together can be found in our Admin Commands guide.

Alternatively, you can also view this information on their wiki.

Don't Starve Together Icon
Create a Don't Starve Together Server today!
Start Free Trial

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.