Admins on an Eco server are entered in the file /Configs/Users.eco. Everyone listed there is allowed to use the admin chat commands of the server.
Find your own ID
The server shows you your SLG ID directly in the game:
-
Open the chat
PressEnterin the game to open the chat. -
Enter the command
Enter the following command to display your own ID:/manage whoamiFor other players you can use
/manage whois <PlayerName>as well as/manage listusers– the latter lists all users known to the server with their name and ID.
Add the admin
-
Stop the server
Stop your server via the dashboard. Configuration files are only read on server start. -
Connect via SFTP
Connect to your server via SFTP. -
Open Users.eco
Open the following file:/Configs/Users.eco -
Enter the ID
Look for theAdminssection and add the ID inside$values:"Admins": { "System.String": { "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$values": [ "76561198012345678" ] } }The
$typeline already exists in your file – leave it unchanged and only add the IDs under$values. Depending on the server version it can look different from the example.Multiple admins are listed one below the other, separated by commas – there is no comma after the last entry:
"$values": [ "76561198012345678", "76561198087654321" ] -
Start the server
Save the file and start your server. The admin rights are applied on startup.
Grant admin rights in the game
Once you are an admin, you can appoint further admins directly in the game:
| Command | Description |
|---|---|
/manage admin <NameOrID> [reason] |
Shows the admin list or adds a user as admin. Short form: /admin |
/manage removeadmin <NameOrID> [reason] |
Removes admin rights from a user |
/manage listadmins |
Shows all admins of the server |
/manage authlevel |
Shows your current authorisation level |
For <NameOrID> the commands accept the account id, Steam ID, SLG ID or the user name.
