Skip to content
Back to Homepage

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.

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.

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.

  1. Open the File Manager for your server
  2. Navigate to .cache/Server
  3. Select your ini. If you did not change the world name, it is dedicated.ini
  4. Find AntiCheatProtectionType
  5. Set the numbered option that matches the type in the kick message to false, then save. Do not set the other numbers to false
  6. Restart the server

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.