Managing bans and whitelists is crucial for maintaining a healthy DayZ server community. DayZ uses BattlEye for anti-cheat and banning. This guide covers ban management, whitelist setup, and best practices.
Banning Players via RCON
The quickest way to ban problematic players is through RCON commands.
playersGet the player list to find player IDs
Example: Shows all connected players
ban <PlayerID> <Minutes> <Reason>Ban by player ID (temporary)
Example: ban 5 60 Cheating
addBan <GUID> <Minutes> <Reason>Ban by BattlEye GUID
Example: addBan abc123... 0 Permanent ban
Tip
- Use 0 for minutes to create permanent bans
- Player IDs change each session - use GUID for reliability
- BattlEye GUID is different from Steam64 ID
Managing bans.txt
DayZ stores bans in a bans.txt file that you can edit directly.
abc123def456 0 CheatingPermanent ban format
Example: GUID Minutes Reason
xyz789abc123 1440 Temporary ban24-hour ban format
Example: 1440 minutes = 24 hours
- 1Navigate to your server's BattlEye folder
- 2Open or create bans.txt
- 3Add bans in format: GUID Minutes Reason
- 4Use 0 for permanent bans, or number of minutes
- 5One ban per line
- 6Save and the server will reload bans automatically
Tip
- Backup bans.txt regularly
- BattlEye reloads bans.txt periodically
- Comments can be added with //
Unbanning Players
Remove bans when appropriate.
removeBan <BanID>Remove a ban by its ID number
Example: removeBan 5
bansList all bans with their IDs
Example: Find the ban ID first
- 1Use 'bans' command to list all bans with IDs
- 2Find the ban ID for the player you want to unban
- 3Use 'removeBan <ID>' to remove the ban
- 4Or manually edit bans.txt and remove the line
Setting Up Whitelist
Whitelisting restricts your server to approved players only.
- 1Enable whitelist in serverDZ.cfg: verifySignatures=2 and passwordAdmin=yourpassword
- 2Create whitelist.txt in your server's profile folder
- 3Add Steam64 IDs of allowed players, one per line
- 4Set enableWhitelist=1 in serverDZ.cfg
- 5Restart the server for changes to take effect
Tip
- Steam64 IDs are 17-digit numbers starting with 7
- Some hosting providers have whitelist management in their panel
- Whitelist is more secure than just using a password
CF Tools Ban Sync
CF Tools offers advanced ban management with community ban sharing.
Tip
- Global ban database shared across participating servers
- Automatic detection of known cheaters
- Ban reasons and evidence tracking
- Web interface for easy management
- Discord integration for ban notifications
- Requires CF Tools mod and account
Best Practices
Guidelines for fair and effective ban management.
Tip
- Always record the reason and evidence for bans
- Consider temporary bans before permanent ones
- Respond to ban appeals professionally
- Keep logs of all admin actions
- Use Discord for community ban appeals
- Regularly review and clean up old bans
Ready to Start Your DayZ Server?
Get instant setup, powerful hardware, and 24/5 support with Loafhosts.
Get DayZ Hosting