You can remove players directly in the game using chat commands or block them permanently through the file /Configs/Users.eco.
Use commands in the game
-
Open the chat
PressEnterin the game to open the chat. -
Identify the player
The following command lists all users known to the server with their name and ID:/manage listusers -
Run the command
Enter the desired command, for example:/manage ban 76561198012345678 Griefing 1w
Kick a player
/manage kick <NameOrID> [reason]
The player is removed from the running session but can rejoin at any time. Short form: /kick
Ban a player
/manage ban <NameOrID> [reason] [time]
Without a duration the ban is permanent. Short form: /ban
Unban a player
/manage unban <NameOrID> [reason]
Short form: /unban
Command overview
| Command | Short form | Description |
|---|---|---|
/manage listusers |
– | Show all known users with name and ID |
/manage whois <user> |
– | Show information about a user |
/manage kick <NameOrID> [reason] |
/kick |
Remove a player from the running session |
/manage ban <NameOrID> [reason] [time] |
/ban |
Ban a player, permanently if no duration is given |
/manage unban <NameOrID> [reason] |
/unban |
Lift a ban |
/manage mute <NameOrID> [reason] [time] |
/mute |
Mute a player |
/manage unmute <NameOrID> [reason] |
/unmute |
Unmute a player |
/manage warnuser <user> <warning> |
– | Send a warning to a player |
Manage the lists via the configuration file
Bans and mutes can also be set directly in the configuration without being in the game:
/Configs/Users.eco
| Section | Purpose |
|---|---|
BlackList |
Listed users are denied a connection to the server |
MuteList |
Listed users are muted |
Admins |
Users with admin rights, see Add 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. -
Enter the ID
Open/Configs/Users.ecoand add the SLG ID or SteamID64 to$valuesin the desired section. The structure of the section already exists – only add the IDs and leave the rest unchanged:"BlackList": { "System.String": { "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$values": [ "76561198012345678", "76561198087654321" ] } }The example shows two entries – they are separated by a comma. With only one entry, the second one including its comma is omitted.
-
Start the server
Save the file and start your server.
