Skip to content
/SLASHPLAY

How to turn off zombie infection in Project Zomboid

Set Transmission = 4, inside ZombieLore in Zomboid/Server/main_SandboxVars.lua and restart the server.

ZombieLore.Transmission

How the Knox virus spreads: 1 blood and saliva, 2 saliva only, 3 everyone's infected, 4 none. Default 1.

Transmission = <number>,

Examples

Transmission = 4,

No infection.

Values

ValueWhat it does
1Default Blood and Saliva
2 Saliva Only
3 Everyone's Infected
4 None

What it does

Set 4 to turn infection off.

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 ZombieLore = { ... } 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.