How to Ban and Unban Players on Your Project Zomboid Server
Learn how to ban, unban, and kick players from your Project Zomboid server using in-game commands and Steam IDs.
Managing disruptive players is essential for maintaining a healthy server community. This guide covers all methods to ban, unban, and kick players.
Kick a Player
Kicking removes a player from the server immediately, but they can rejoin.
/kickuser "PlayerName"Kick with a reason:
/kickuser "PlayerName" -r "Breaking server rules"Ban a Player
Ban by Username
/banuser "PlayerName"With a reason:
/banuser "PlayerName" -r "Griefing and teamkilling"Ban by Steam ID
For players who change their name or aren't currently online:
/banid 76561198012345678💡 Tip: Use SteamID Finder to find a player's Steam ID64 from their profile URL.
Unban a Player
Unban by Username
/unbanuser "PlayerName"Unban by Steam ID
/unbanid 76561198012345678View the Ban List
You can check the ban list by viewing the server files:
Review or edit manually
The file contains entries of banned players. You can remove entries manually to unban players, then restart the server.
Using RCON for Bans
If you use RCON, the same commands work without the / prefix:
banuser "PlayerName" -r "Cheating"
unbanuser "PlayerName"
banid 76561198012345678Best Practices
- Always include a reason — it helps other admins understand why someone was banned
- Use Steam ID bans for serious offenders — username bans can be bypassed by changing names
- Keep a ban log — document who was banned, when, and why
- Give warnings first — for minor offenses, a kick with a reason is often enough
Related Guides
See also: Become a Server Admin | Admin Commands | RCON
If you need help, join our Discord.
How is this guide?

How to Back Up and Restore Your Project Zomboid Server
Create, manage, and restore backups of your Project Zomboid server world, player data, and configuration.
How to Become an Admin on Your Project Zomboid Server
Learn how to become an admin on your Project Zomboid server with different access levels for managing players and server settings.