Project Zomboid server sandbox settings

By the Max Hosting team · Updated 14 November 2026 · 2 min read

Sandbox settings decide what kind of apocalypse your server is: a slow, lonely survival or a horde around every corner. On a server they live in a file, and a few rules keep your changes from disappearing.

Two settings files

FileHolds
<name>.iniThe server: name, password, PVP, max players, mods, safehouses
<name>_SandboxVars.luaThe world: zombies, loot, time, utilities, XP

On Max Hosting they're .cache/Server/MaxHosting.ini and .cache/Server/MaxHosting_SandboxVars.lua on the Files tab.

Changing them safely

  1. Stop the server. It writes these files itself and can overwrite changes made while it runs.
  2. Open the file and find the setting. Each one has a comment above it with its default and allowed values.
  3. Change the value, save and start the server.

Setting names and scales changed between Build 41 and Build 42, and guides online often mix them up. Trust the comments in your own file: the server writes them for its own version.

What people usually change

You wantLook for
More or fewer zombiesThe zombie population settings (in Build 42 under ZombieConfig)
Faster or slower zombiesSpeed under ZombieLore (shamblers, fast shamblers, sprinters)
Tougher zombiesStrength and Toughness under ZombieLore
How infection spreadsTransmission under ZombieLore
More lootThe loot rarity per category, and loot respawn
Longer daysDayLength
A different startStartMonth, StartDay and StartTime
Water and power for longerThe water and electricity shutoff settings
Faster levellingThe XP multipliers (per skill in Build 42)

What applies to an existing world

Most sandbox settings apply to your existing world after a restart. Settings about how the world is made, like the start date, the map and how loot and zombies are spread, only apply to a new world or to parts nobody has explored yet.

Server options from the console

Options in the .ini file can also be changed from the console while the server runs:

showoptions
changeoption PVP "false"
reloadoptions

Mods can override sandbox settings. If a change doesn't seem to apply, check whether a mod sets the same thing. More about mods in how to add mods to a Project Zomboid server, and the basics in how to run a Project Zomboid server.

Questions

Can I copy settings from my single player game?

The sandbox options are the same kind, but copy the values by hand into the server's file rather than the whole file, so the names match the server's build.

How do I start over with new settings?

Take a backup, stop the server, move the world's save folder away and start it: the server makes a new world with the current settings.

Why did my change disappear?

The server was running when you saved the file and wrote over it. Stop the server first, then change the file.

Read next