Fix Project Zomboid Malformed Packet
After adding mods, a Project Zomboid server can kick players with “Malformed Packet Detected”. A mod can trip the built-in anti-cheat. The kick names one protection type. Change that check, not every anti-cheat option.
Before you change anti-cheat
Section titled “Before you change anti-cheat”Check the mod you just added before you weaken a protection. The Project Zomboid wiki says to unsubscribe and subscribe again if a mod stops you connecting, and to remove a mod that conflicts with another.
Build 41 and Build 42
Section titled “Build 41 and Build 42”| Where the setting lives | What to change | |
|---|---|---|
| Build 42 | Named options in the server ini | Set the check named in the kick to 3 (log only) or 4 (disabled). Malformed packets are AntiCheatPacketException. |
Build 41 (legacy41) |
Numbered AntiCheatProtectionType options |
Set the number from the kick message to false. Leave the other numbers unchanged. |
Build 42 values are explained in How to configure anti-cheat on your Project Zomboid server. 3 logs the event and leaves the player connected. 4 disables that check.
Build 41 steps
Section titled “Build 41 steps”- Open the File Manager for your server
- Navigate to
.cache/Server - Select your ini. If you did not change the world name, it is
dedicated.ini - Find
AntiCheatProtectionType - Set the numbered option that matches the type in the kick message to
false, then save. Do not set the other numbers tofalse - Restart the server
If the kicks continue
Section titled “If the kicks continue”Read the new kick. If it names a different type, change that type the same way. If it names the same type, update or remove the suspected mod, or unsubscribe and subscribe to it again. Do not turn off every protection.