Free Project Zomboid tool

Project Zomboid sandbox settings generator

Pick a preset, tune the zombies, loot, XP and the day the power dies, then copy a ready SandboxVars.lua for your Build 42 or Build 41 server. Already have a file? Import it and your mod settings stay in.

Checked for Build 42.21 (also Build 41.78)

Loading the sandbox settings generator…

How to use this generator

Choose Build 42 or Build 41 first, then a preset. Apocalypse is the game default, Rising is gentle, and Nightmare is our own mix for groups who want to suffer.

Open any group, like Zombie lore or Loot, and change what you like. Changed settings get a marker and a reset button, and the threat meter shows how hard the world feels.

Copy or download the file when you are happy. The second tab makes a short servertest.ini with the name, password, player limit and mod lines.

Where the files go

Stop the server. Put <servername>_SandboxVars.lua and <servername>.ini in the Zomboid/Server folder of the user that runs the server: ~/Zomboid/Server/ on Linux, C:\Users\<name>\Zomboid\Server\ on Windows. Then start the server again.

If the server starts with -cachedir, the Zomboid folder lives in that path instead. On a hosted server, open the file manager and look for the Server folder inside Zomboid.

Settings that shape a new world, like the start month or the months since the outbreak, only count when the world is created. To feel them, start a fresh save.

How we checked the settings

Every key, default, range and option number comes from the game files of Build 42.21 and Build 41.78, and the file is written in the same layout the game writes. Game presets copy the changes in the game's own preset files.

Importing reads your file with a small Lua reader. Settings the game does not know, often from mods, stay in the new file. Values out of range are pulled back in and listed so you can see what changed.

The threat meter is our own rough guess from the settings that matter most. It is not a number the game uses.

Tips for a good multiplayer world

The population multiplier is the real zombie amount. Normal is 0.65 in Build 42 and 1.0 in Build 41, so copy numbers between builds with care.

Push power and water out to a few months if your group plays a few evenings a week. With Pause when empty on, the clock stops while nobody is online.

Very high populations, respawn and a large ZombiesCountBeforeDelete can make a server lag. Raise them a step at a time.

Questions players ask

Where is the SandboxVars.lua file on a Project Zomboid server?

It sits in the Zomboid/Server folder inside the home folder of the user that runs the server, next to servertest.ini. On Linux that is usually ~/Zomboid/Server/ and on Windows C:\Users\<name>\Zomboid\Server\. The name starts with your server name, so the default server uses servertest_SandboxVars.lua.

Why do my Project Zomboid sandbox settings keep resetting?

Most of the time the file name does not match the server name, so the server makes a fresh file with default settings. The file must be called <servername>_SandboxVars.lua, using the exact name you start the server with. Also stop the server first, then replace the file and start it again.

What changed in the sandbox settings in Build 42?

Build 42 swaps the old loot rarity steps for a multiplier per loot category, adds per-skill XP multipliers, animals, basements and a 1 hour 30 minute day. Its file starts with VERSION = 6, while Build 41 files say VERSION = 5. Switch builds in the tool and your changed settings come across.

How do I make the power and water last longer in Project Zomboid?

Set ElecShutModifier and WaterShutModifier to the number of days you want. A server goes by these day counts, not by the shut-off windows like 0 - 30 Days. Use -1 to have them off from the start, or 2147483647 to keep them on forever.

How do I turn on zombie respawn in Build 42?

Respawn is off by default in Build 42. Set Zombie Respawn to Low, Normal or High and the tool fills in RespawnHours, RespawnUnseenHours and RespawnMultiplier under ZombieConfig, like the game menu does. While RespawnHours is 0, no zombies come back.

How do I add mods to a Project Zomboid server?

Put the mod IDs on the Mods line of servertest.ini and the Steam Workshop item IDs on the WorkshopItems line. In Build 42 every mod ID gets a backslash in front, like Mods=\ModA;\ModB. The ini tab here writes both lines from whatever you paste, links included.

A rare treasure appears!

You found Tosk’s golden acorn. It’s worth 25% off your first payment.

Your codeTOSK25

Claim my treasure

25% off your first payment, for new customers. Then the normal price; cancel any time. The button takes the code to checkout for you.