Turn Off Infection in Project Zomboid (Build 42.19): Transmission = None
Build 42.19 · turn off Knox virus (Transmission = None)
4). Setting Infection Mortality to Never (sandbox value 7) is optional: it only changes how long an already-infected character has before the virus kills them. You do not need both values just to disable spread.
What “turn off infection” means
In Project Zomboid, players usually mean the Knox virus (zombie plague), not ordinary wound sepsis or food sickness. Sandbox Zombie Lore controls the plague:
Transmission (required for “no new infection”)
Set Transmission to None (value 4 in the sandbox file).
Bites, scratches, and lacerations no longer spread the Knox virus.
Infection Mortality (optional)
Set Infection Mortality to Never (value 7 in the sandbox file under Mortality).
An infected character does not die on the virus timer. It does not by itself stop new infections.
Mortality. Adding a separate top-level key named InfectionMortality will not change the game.
Method A: Sandbox / server settings UI
Prefer the in-game controls when you can. They write the same sandbox values without hand-editing files.
Single-player custom sandbox
- Start a new game with Custom Sandbox (or open sandbox options if your flow allows editing before start).
- Open the Zombie Lore section.
- Set Transmission to None.
- Optionally set Infection Mortality to Never if you also want the virus timer never to kill.
- Start the world. Changing these mid-save is not always exposed the same way; multiplayer servers use the server sandbox file or admin sandbox tools instead.
Multiplayer Host / dedicated server
- Open your server settings (Host → Edit Settings / Manage Settings, or the dedicated panel’s sandbox editor).
- Find Sandbox → Zombie Lore.
- Set Transmission = None (core).
- Optionally set Infection Mortality = Never.
- Stop the server cleanly if it is running, then start it again so clients load the new sandbox values.
.ini and the matching _SandboxVars.lua file), then edit or use the UI. Do not delete world saves to “apply sandbox.”
Method B: Edit the server sandbox file
Use this when the Host UI is unavailable (remote dedicated box, scripted deploy) or when you need to confirm the exact values on disk.
Where the file lives
| Platform | Typical path |
|---|---|
| Windows | C:\Users\<Username>\Zomboid\Server\<ServerName>_SandboxVars.lua |
| macOS | ~/Zomboid/Server/<ServerName>_SandboxVars.lua |
| Linux | ~/Zomboid/Server/<ServerName>_SandboxVars.lua (or the home of the user that runs the server process) |
- The directory is
Users(with an s), notUser. - The file name includes your server name (for example
servertest_SandboxVars.lua), not a generic sandbox file with no server name. - If the server runs under a different system user or container home, use that user’s
Zomboid/Server/tree.
Safe edit steps
- Stop the multiplayer server completely.
- Copy the server sandbox file to a backup (for example add
.bakto the name). - Open the file in a plain-text editor.
- Find the Zombie Lore block (
ZombieLore = { … }). - Set
Transmission = 4. Optionally setMortality = 7. - Save the file. Confirm braces and commas still look valid.
- Start the server again and join with a test character if you can.
-- Inside <ServerName>_SandboxVars.lua (other Zombie Lore fields omitted)
ZombieLore = {
-- ...
Transmission = 4, -- None: no new Knox virus from zombie attacks
Mortality = 7, -- Never: optional; already-infected do not die from the virus timer
-- ...
},
Transmission = 4 is required to stop new spread. Keep the default mortality setting if you still want infection to be lethal when you use other transmission modes later. Use Mortality = 7 only when you also want “Never” on the infection death timer.
Transmission and Mortality values (Build 42.19)
These match the English sandbox menu labels. Numbers start at 1 in the order shown in-game.
| UI: Transmission | Sandbox value | Effect |
|---|---|---|
| Blood and Saliva | 1 |
Default-style spread through blood and saliva routes |
| Saliva Only | 2 |
Stricter transmission path (saliva-focused) |
| Everyone's Infected | 3 |
Everyone already carries the virus lore-wise; zombification rules differ from “catching it from a wound” |
| None | 4 |
No new Knox virus transmission from zombie attacks |
| UI: Infection Mortality | Sandbox value | Effect |
|---|---|---|
| Instant | 1 |
Infection kills immediately |
| 0-30 Seconds | 2 |
Very short timer |
| 0-1 Minutes | 3 |
Short timer |
| 0-12 Hours | 4 |
Same-day timer |
| 2-3 Days | 5 |
Multi-day timer (common default-style pace) |
| 1-2 Weeks | 6 |
Long timer |
| Never | 7 |
Virus timer never kills (optional; not required to disable spread) |
Gameplay impact
With Transmission = None, players stop treating every scratch as a potential soft-lock. Combat mistakes still kill through bleeding, fractures, exhaustion, and being swarmed—only the Knox infection channel is closed.
- Easier long-term multiplayer: fewer forced character resets after one bad bite.
- Lower tension: the signature “you are already dead” pressure is gone; some groups prefer that for RP or building servers.
- Not invulnerability: zombies still damage and can overwhelm you. Ordinary wound infection and food sickness are separate systems.
- Existing infected characters: Transmission alone does not rewrite history. If someone is already on the virus clock, use medical or admin tools for that case, or set mortality to Never if your goal is “never die from the timer.”
Related guides
- Broader infection guide — mods, cheats, and longer context around Knox vs ordinary illness.
- Server administrator tips — backups, sandbox, and day-to-day host tasks.
- Server survival admin notes — additional multiplayer admin practices.
- Server memory planning — Host vs dedicated heap settings on Build 42.19.