How to Enable the Whitelist on Your 7 Days to Die Server
With the whitelist you can restrict access to your server to specific players.
Tip
Here you can find a guide on how to find your SteamID64.
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/Saves/serveradmin.xmlAdd players to whitelist
Add entries for each player in the<whitelist>section:xml<whitelist> <user platform="Steam" userid="76561198012345678" name="Player1" /> <user platform="Steam" userid="76561198087654321" name="Player2" /> </whitelist><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.
Note
As soon as one player is added to the whitelist, only listed players can join the server. Admins can always join regardless of the whitelist.
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 |