Skip to content
/SLASHPLAY

How to remove player corpses in Project Zomboid

Set RemovePlayerCorpsesOnCorpseRemoval=true in Zomboid/Server/main.ini on the Files tab and restart the server.

RemovePlayerCorpsesOnCorpseRemoval

Corpse removal also removes dead players' bodies.

RemovePlayerCorpsesOnCorpseRemoval=<true|false>

Examples

RemovePlayerCorpsesOnCorpseRemoval=true

Turns it on.

What it does

By default only zombie corpses are cleared. The timer is HoursForCorpseRemoval in the sandbox settings.

Good to know

Run it on your server

Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.

Your own
Project Zomboid server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.