A whitelist is an access list that limits who can join your server. DayZ has a built-in whitelist mode that you can activate and enable or disable for individual players.
In the Configuration tab, open Startup parameters and set Enable whitelist to 1. Your server writes the enableWhitelist entry to serverDZ.cfg from this startup parameter every time it starts, so any changes made directly to the file will be overwritten.
Next, find the whitelist file provided by your host—it is usually named whitelist.txt and is in the same directory as your server configuration files. Add one SteamID64 per line.
XXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXX
Save all files and restart the server to apply the whitelist.
To add a player, append their SteamID64 to whitelist.txt, save the file, and restart the server. To remove a player, delete their line from whitelist.txt, save the file, and restart the server.
Keep the file tidy, with one ID per line. Comments aren't supported everywhere, so avoid adding extra text on the same line unless you've confirmed your server accepts it.
After restarting, try connecting with an account that isn't listed in whitelist.txt. Access should be denied. Then connect with a listed account to confirm it works.
If listed players can't join, check that you've used their SteamID64 and that the server is loading the whitelist.txt file you edited.
If you've followed all the steps correctly, your whitelist is now active, and you can control exactly who can access your server. If access still doesn't work as expected, restart the server again and check the file or command output to make sure the change was applied.
If you have any further questions or problems, our support team is here to help every day! 🙂
