How to Change Sandbox Settings on Your Project Zomboid Server

Updated June 10, 2026 · By Host Havoc Technical Support Team

Sandbox settings control how the world plays: how many zombies there are, how often loot comes back, how fast you earn XP, how long a day lasts and more. They're kept in servertest_SandboxVars.lua.

Note: Server settings, like the name, password, PvP, safehouses and chat, are in HH Server Admin > Settings instead. See Use HH Server Admin.

Edit the sandbox settings

  1. Log in to the Game Control Panel and navigate to your Project Zomboid server.
  2. Stop your server.
  3. Click Configuration Files, find servertest_SandboxVars.lua and click Text Editor.
  4. Change the settings you want. The common ones are below.
  5. Click Save and start your server.

Changes don't touch anyone's progress, or loot already in containers. Fewer or more zombies show up in places nobody has been yet.

Common settings

SettingDefaultWhat it does
Zombies31 = Insane, 2 = High, 3 = Normal, 4 = Low, 5 = None
Distribution1Where loot is: 1 = mostly in towns, 2 = everywhere
DayLength2Real time per in-game day: 1 = 15 minutes, 2 = 30 minutes, up to 8 = 24 hours
XpMultiplier1.0How fast everyone earns XP
LootRespawn11 = never, 2 = every day, 3 = every week, 4 = every month
StarterKitfalseNew players start with a few items
FoodRotSpeed21 = very fast, 2 = normal, 3 = very slow
Farming2Crop speed: 1 = very fast to 5 = very slow
WaterShut2When the water goes off: 0 = straight away, 1 = 0 to 30 days, 2 = 0 to 2 months, up to 6 = 6 to 12 months
ElecShut2When the power goes off, same choices as WaterShut
TimeSinceApo11 = the start, 2 = a few weeks later, up to 8 = a year later

Example: an easier server

Zombies = 4,
DayLength = 4,
XpMultiplier = 3.0,
LootRespawn = 2,
StarterKit = true,
FoodRotSpeed = 3,