With the whitelist you can restrict access to your server to specific players.
Set up whitelist via serveradmin.xml
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open serveradmin.xml
Open the fileserveradmin.xmlin the directory:/Saves/serveradmin.xml -
Add players to whitelist
Add entries for each player in the<whitelist>section:<whitelist> <user platform="Steam" userid="76561198012345678" name="Player1" /> <user platform="Steam" userid="76561198087654321" name="Player2" /> </whitelist> -
Start the server
Save the file and start your server.
Manage whitelist via console command
If you are already an admin, you can also manage the whitelist in-game. Press F1 to open the console:
| Command | Description |
|---|---|
whitelist add <SteamID64> |
Add a player to the whitelist |
whitelist remove <SteamID64> |
Remove a player from the whitelist |
whitelist list |
Show all players on the whitelist |
