A whitelist is an access list that restricts who can join your server. In 7 Days To Die, it is usually managed in the serveradmin.xml file, which stores the whitelisted Steam accounts. Once enabled, only players listed there can connect.
In the Files tab for your server, open the Saves folder and then the serveradmin.xml file. Your server creates it there the first time it starts. Open the file and find the <whitelist> section inside <adminTools>.
Add at least one SteamID64 to the whitelist. The format below follows the standard structure used by the game.
<whitelist>
<user platform="Steam" userid="76561198021925107" name="PlayerName" />
</whitelist>
Save the file and restart the server to load the new whitelist. If your file only contains commented-out examples, make sure your <user ... /> line is not inside an XML comment.
To add another player, repeat the change in serveradmin.xml by adding another <user ... /> entry inside <whitelist>. Use the player's SteamID64 as the userid.
To remove a player, delete the corresponding <user ... /> line from the <whitelist> section, save the file, and restart the server.
If you prefer using a command, use the whitelist command in the in-game developer console (F1; you must be an admin) or via Telnet, as explained in RCON. Run help whitelist to see what information the command requires to add or remove players. Your server saves the change to serveradmin.xml automatically. For 7 Days to Die, the Console in ZapX does not accept commands.
After restarting the server, try connecting with an account that is not on the whitelist. The connection attempt should be rejected. Then test with a whitelisted account to make sure access works.
If the server still lets non-whitelisted players in, check again that your whitelist entries are not commented out and that you edited serveradmin.xml in the Saves folder.
If you followed all the steps correctly, your whitelist is now active, and you can control exactly who can access the server. If access still does not work as expected, restart the server again and check the file or console output to make sure the change was applied.
If you have any further questions or run into any issues, our support team is available every day—don't hesitate to contact us! 🙂
