Two settings files
| File | Holds |
|---|---|
<name>.ini | The server: name, password, PVP, max players, mods, safehouses |
<name>_SandboxVars.lua | The 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
- Stop the server. It writes these files itself and can overwrite changes made while it runs.
- Open the file and find the setting. Each one has a comment above it with its default and allowed values.
- 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 want | Look for |
|---|---|
| More or fewer zombies | The zombie population settings (in Build 42 under ZombieConfig) |
| Faster or slower zombies | Speed under ZombieLore (shamblers, fast shamblers, sprinters) |
| Tougher zombies | Strength and Toughness under ZombieLore |
| How infection spreads | Transmission under ZombieLore |
| More loot | The loot rarity per category, and loot respawn |
| Longer days | DayLength |
| A different start | StartMonth, StartDay and StartTime |
| Water and power for longer | The water and electricity shutoff settings |
| Faster levelling | The 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:
showoptionschangeoption PVP "false"reloadoptionsMods 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.

