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
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP or use the file browser in the dashboard. -
Open the cluster folder
Navigate to the folder that contains thecluster.inifile. That is your cluster folder. -
Open adminlist.txt
Open theadminlist.txtfile there. If it does not exist yet, create it:<cluster folder>/adminlist.txt -
Enter the user IDs
Add exactly one Klei user ID per line – without commas and without quotation marks:KU_xxxxxxxx KU_yyyyyyyy -
Start the server
Save the file and start your server. The server only reloads theadminlist.txton startup.
