Admins are defined through the file Admins.cfg. What you enter is the player's SteamID64 – a 17-digit number starting with 7656.
Add an admin
-
Stop the server
Stop your server via the dashboard. The admin list is read on server start. -
Connect via SFTP
Connect to your server via SFTP. -
Open Admins.cfg
Open the following file. If it does not exist yet, create it in this folder:/HarshDoorstop/Saved/Config/LinuxServer/Admins.cfg -
Enter the SteamID64
Enter exactly one SteamID64 per line – no names, no comments and no other characters:76561198012345678 76561198087654321 -
Start the server
Save the file and start your server.
Use admin commands in game
As a listed admin you control the server directly from within the game.
-
Join the server
Join your server – see Join Server. -
Open the console
Press the~key to open the in-game console. -
Enter a command with the prefix
In game, every admin command starts withadmin, for example:admin statusadmin servertravel <map name>
Manage admins while the server is running
Through an RCON client you can grant admin rights while the server is running. These commands take effect immediately, without stopping the server:
| Command | Description |
|---|---|
admin add <name> |
Adds a player as admin by name |
admin addid <id#> |
Adds a player as admin by the ID number from status |
admin remove <name> |
Removes admin rights from a player |
admin removeid <id#> |
Removes admin rights by ID number |
Reload the configuration
If you edited Admins.cfg while the server was running, you do not necessarily have to restart it. The following RCON command reloads the configuration files from disk:
RELOADSERVERCONFIG
Among others it refreshes Admins.cfg, Bans.cfg and MapCycle.cfg.
