Here's how to configure the built-in anti-cheat on your Project Zomboid server, including what each check does and whether it bans, kicks or only logs players.
Note
Mods can trigger the anti-cheat by mistake. When this happens, the kicked or banned player will see a message like Malformed packet detected. If players are being kicked or banned this way, try setting the related option to 3 or 4.
Anti-Cheat Settings On B42
These settings apply to B42, the current stable build of Project Zomboid. Each anti-cheat option in pzserver.ini takes a number that decides what happens when a player trips that check:
| Value | Action |
|---|---|
1 | Ban the player. |
2 | Kick the player. |
3 | Log it only. The player stays connected and admins get a warning in admin chat. |
4 | Disabled. |
Here's what each option checks and its default value:
| Option | What It Checks | Default |
|---|---|---|
AntiCheatSafety | PVP safety toggle abuse. | 2 |
AntiCheatSpeed | Players moving faster than possible. | 2 |
AntiCheatNoClip | Players walking through walls (noclip). | 4 |
AntiCheatHit | Hit damage, hit distance, weapons and vehicle hits. | 2 |
AntiCheatPacketException | Malformed or unexpected network packets. | 4 |
AntiCheatPermission | Admin-only powers and capabilities used by regular players. | 2 |
AntiCheatXP | XP gains that are too large. | 2 |
AntiCheatSafeHouse | Safehouse ownership and membership. | 2 |
AntiCheatPlayer | Player stats, state updates and targeting. | 2 |
AntiCheatChecksum | Game and mod file checksums. | 2 |
Changing B42 Anti-Cheat Settings
- 1Log in to Bropanel and
Stopyour server. - 2In the sidebar, go to
Files. - 3Navigate to
.cache/Server/and openpzserver.ini. - 4Find the anti-cheat option you want to change, for example
AntiCheatSpeed. - 5Set it to the value you want from the table above:
AntiCheatSpeed=3 - 6Click save and start your server.
If you get stuck at any time, you can reach out to us on Discord.
