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
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 User "KU" ID
This is an ID number assigned to each customer 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 actually 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 making a player on a Linux Don't Starve Together server.
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.
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/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.
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 control panel, simply click on the
Create File button in the
File Manager 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
my-file-name.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.
Entering the "KU" ID into the
adminlist.txt file, add the "KU" ID for each person you want to make an admin, each on a separate line.
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.
Test it's working
The last step is to your
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.
Of course, it's always a good idea to have them actually 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.
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 in local 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).
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.