Skip to content
/SLASHPLAY

How to stop zombies respawning in sight in Project Zomboid

Set RespawnUnseenHours = 16.0, inside ZombieConfig in Zomboid/Server/main_SandboxVars.lua and restart.

ZombieConfig.RespawnUnseenHours

Hours a chunk must go unseen before zombies may respawn in it. Default 0.

RespawnUnseenHours = <number>,

Examples

RespawnUnseenHours = 16.0,

16 hours unseen.

What it does

Keeps zombies from respawning in front of players.

Good to know

  • Set it in Zomboid/Server/main_SandboxVars.lua on the **Files** tab (under **Advanced**) and restart the server.
  • It sits inside the ZombieConfig = { ... } block of that file.

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.