Turn Off Infection in Project Zomboid (Build 42.19): Transmission = None

Turn Off Infection in Project Zomboid (Build 42.19): Transmission = None

Build 42.19 · turn off Knox virus (Transmission = None)

Direct answer To stop new Knox-virus infection from zombie attacks, set Transmission to None in Zombie Lore (sandbox file value 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.

UI label vs file name The sandbox screen shows “Infection Mortality.” In the server sandbox file, under the Zombie Lore block, the field is named Mortality. Adding a separate top-level key named InfectionMortality will not change the game.
Project Zomboid character showing infection-related moodles on the health panel
Infection shows up as health and moodle changes. Setting Transmission to None prevents new Knox infections from zombie attacks.

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

  1. Start a new game with Custom Sandbox (or open sandbox options if your flow allows editing before start).
  2. Open the Zombie Lore section.
  3. Set Transmission to None.
  4. Optionally set Infection Mortality to Never if you also want the virus timer never to kill.
  5. 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

  1. Open your server settings (Host → Edit Settings / Manage Settings, or the dedicated panel’s sandbox editor).
  2. Find SandboxZombie Lore.
  3. Set Transmission = None (core).
  4. Optionally set Infection Mortality = Never.
  5. Stop the server cleanly if it is running, then start it again so clients load the new sandbox values.
Before any change Stop the server, copy a backup of the server profile (at least the server .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), not User.
  • 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

  1. Stop the multiplayer server completely.
  2. Copy the server sandbox file to a backup (for example add .bak to the name).
  3. Open the file in a plain-text editor.
  4. Find the Zombie Lore block (ZombieLore = { … }).
  5. Set Transmission = 4. Optionally set Mortality = 7.
  6. Save the file. Confirm braces and commas still look valid.
  7. 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
    -- ...
},
Minimum change for “infection off” Only 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.”