Your Project Zomboid group wants sprinters on the streets, but enough loot to survive against them. Both choices are small edits in your server’s configuration! Project Zomboid sandbox settings cover zombie numbers, zombie behavior, loot, weather, time, and skill XP, and most are a number or a true/false value. In this Apex Hosting guide, we will show you how to edit them and list all the options for you to get started.
What are Project Zomboid Sandbox Settings?
The server keeps these rules in a file named [worldName]_SandboxVars.lua. A separate file called World Config in the panel holds other Project Zomboid server settings, such as Password, Mods, and WorkshopItems.
Most settings require number values. The Zombies option, for example, uses 1 for Insane, 4 for Normal, and 6 for None. Enter the code number, not the label. Other settings take a decimal such as 0.6, or true or false.
Some options sit inside blocks. ZombieLore, ZombieConfig, and MultiplierConfig each open a block with braces, and their settings live inside it. Change the value only, and keep every comma and brace where it was.
Key names shift a little between game builds. Loot settings, for example, often end in New in the current stable build. Older builds use some different key names, so match the names in your own file.
How to Edit Sandbox Settings on Apex
Open the Config Files area of your Apex server panel, select the sandbox file, change a value, and save. Then restart the server to apply the change. It takes a few clicks, and you don’t need an external program.
- Head towards your Apex server panel and stop the server.
- Head towards the
Config Filesarea from your server panel. - Locate the
[worldName]_SandboxVars.luafile option, then select it. - Search for the setting you want, then edit its value.
- Click
Saveat the top. - Restart the server from the main panel.
Change only the number or the true/false word after the equals sign. If a line reads Speed = 1,, the comma stays. The World Config option opens a different file, for options such as Password.
You can also reach the file through FTP File Access. Log in with your password, then open the Server folder, which holds the four main server files. Check that you’re in the correct Server Profile. Our guide to connecting to a Project Zomboid server via FTP covers the log-in and external programs.
Zombie Population
Zombie count starts with the Zombies settings, which takes a code from 1 (Insane) to 6 (None). Normal is 4.
| Code | Preset | PopulationMultiplier |
|---|---|---|
| 1 | Insane | 2.5 |
| 2 | Very High | 1.6 |
| 3 | High | 1.2 |
| 4 | Normal | 0.65 |
| 5 | Low | 0.15 |
| 6 | None | 0.0 |
In the ZombieConfig block, PopulationStartMultiplier defaults to 1.0 and PopulationPeakMultiplier defaults to 1.5. You can type a custom number into the block, within 0 to 4 for all three multipliers.
| Key | Default | Codes or Range | What It Does |
|---|---|---|---|
Distribution |
1 |
1 Urban Focused, 2 Uniform | Sets how zombies spread across the map. |
ZombieRespawn |
4 |
1 High, 2 Normal, 3 Low, 4 None | Sets how often new zombies join the world. |
ZombieMigrate |
true |
true or false |
Lets zombies move into empty cells. |
PopulationPeakDay |
28 |
1 to 365 | Sets the day the population reaches its peak. |
RespawnHours |
0.0 |
0 to 8760 | Hours before zombies may respawn in a cell. At 0, spawning is off. |
RespawnUnseenHours |
0.0 |
0 to 8760 | Hours a chunk must stay unseen before zombies can respawn in it. |
RespawnMultiplier |
0.0 |
0 to 1 | Fraction of a cell’s population that may respawn every RespawnHours. |
RedistributeHours |
12.0 |
0 to 8760 | Hours before zombies migrate to empty parts of the same cell. At 0, migration is off. |
FollowSoundDistance |
100 |
10 to 1000 | Distance a zombie walks toward the last sound it heard. |
RallyGroupSize |
20 |
0 to 1000 | Size of idle zombie groups. At 0, zombies don’t form groups. |
Every option from PopulationPeakDay down sits in the ZombieConfig block. To thin out a crowded server, lower PopulationMultiplier, for example to 0.15, the Low value. For a horde world, raise it toward 2.5.
Zombie Lore
The ZombieLore block controls how zombies move, fight, and sense you. Speed is the headline pick, and sprinters are code 1. With the Random speed code, SprinterPercentage sets what share of zombies sprint.
| Key | Default | Codes or Range | What It Does |
|---|---|---|---|
Speed |
4 |
1 Sprinters, 2 Fast Shamblers, 3 Shamblers, 4 Random | Sets how fast zombies move. |
SprinterPercentage |
0 |
0 to 100 | With Random speed, the percentage of zombies that sprint. |
Strength |
2 |
1 Superhuman, 2 Normal, 3 Weak, 4 Random | Sets the damage zombies deal per attack. |
Toughness |
4 |
1 Tough, 2 Normal, 3 Fragile, 4 Random | Sets how hard zombies are to kill. |
Transmission |
1 |
1 Blood and Saliva, 2 Saliva Only, 3 Everyone’s Infected, 4 None | Sets how the Knox virus spreads. |
Mortality |
5 |
1 Instant, 2 0-30 Seconds, 3 0-1 Minutes, 4 0-12 Hours, 5 2-3 Days, 6 1-2 Weeks, 7 Never | Sets how quickly infection takes effect. |
Reanimate |
3 |
1 Instant, 2 0-30 Seconds, 3 0-1 Minutes, 4 0-12 Hours, 5 2-3 Days, 6 1-2 Weeks | Sets how quickly infected corpses rise. |
Cognition |
3 |
1 Navigate and Use Doors, 2 Navigate, 3 Basic Navigation, 4 Random | Sets zombie intelligence. |
Memory |
2 |
1 Long, 2 Normal, 3 Short, 4 None, 5 Random, 6 Random between Normal and None | Sets how long zombies remember you. |
Sight |
5 |
1 Eagle, 2 Normal, 3 Poor, 4 Random, 5 Random between Normal and Poor | Sets the zombie vision radius. |
Hearing |
5 |
1 Pinpoint, 2 Normal, 3 Poor, 4 Random, 5 Random between Normal and Poor | Sets the zombie hearing radius. |
ActiveOnly |
1 |
1 Both, 2 Night, 3 Day | Picks when zombies are “active”. |
Active zombies use your Speed value. Inactive ones are slower and tend not to give chase. The block has more keys, too. ThumpOnConstruction (default true) lets zombies destroy player constructions, and ZombiesDragDown (default true) lets groups drag you down.
Time, Utilities and Weather
These options set the clock, the day the world starts, and when the lights and taps stop working. Time keys sit at the top level of the file, next to Zombies.
| Key | Default | Codes or Range | What It Does |
|---|---|---|---|
DayLength |
4 |
1 to 4 run 15 Minutes, 30 Minutes, 1 Hour, 1 Hour 30 Minutes. 5 to 26 run 2 to 23 Hours. 27 is Real-time. | Sets the length of the in-game day. |
StartMonth |
7 |
1 January to 12 December | Sets the month the game starts. 7 is July. |
StartDay |
9 |
A day of the month | Sets the day of the month the game starts. |
StartTime |
2 |
1 7 AM, 2 9 AM, 3 12 PM, 4 2 PM, 5 5 PM, 6 9 PM. 7 12 AM, 8 2 AM, 9 5 AM. | Sets the hour the game starts. |
TimeSinceApo |
1 |
1 to 13, standing for 0 to 12 | Starts the world later after the outbreak. Affects erosion and food spoilage, not the start date. |
DayNightCycle |
1 |
1 Normal, 2 Endless Day, 3 Endless Night | Sets whether the time of day changes. |
NightDarkness |
3 |
1 Pitch Black, 2 Dark, 3 Normal, 4 Bright | Sets the ambient light at night. |
NightLength |
3 |
1 Always Night, 2 Long, 3 Normal, 4 Short, 5 Always Day | Sets the time from dusk to dawn. |
WaterShut and ElecShut both default to 2. Both count from the default start date, July 9, 1993. The meaning of codes 2 to 6 differs between the two.
| Code | WaterShut | ElecShut |
|---|---|---|
| 1 | Instant | Instant |
| 2 | 0-30 Days | 14-30 Days |
| 3 | 0-2 Months | 14 Days-2 Months |
| 4 | 0-6 Months | 14 Days-6 Months |
| 5 | 0-1 Year | 14 Days-1 Year |
| 6 | 0-5 Years | 14 Days-5 Years |
| 7 | 2-6 Months | 2-6 Months |
| 8 | 6-12 Months | 6-12 Months |
| 9 | Disabled | Disabled |
The sample also lists WaterShutModifier and ElecShutModifier, which both default to 14. Weather has its own settings.
| Key | Default | Codes or Range | What It Does |
|---|---|---|---|
ClimateCycle |
1 |
1 Normal, 2 No Weather, 3 Endless Rain, 4 Endless Storm, 5 Endless Snow, 6 Endless Blizzard | Sets whether weather changes or stays in one state. |
FogCycle |
1 |
1 Normal, 2 No Fog, 3 Endless Fog | Sets whether fog occurs naturally, never, or always. |
Temperature |
3 |
1 Very Cold, 2 Cold, 3 Normal, 4 Hot, 5 Very Hot | Sets the global temperature. |
Rain |
3 |
1 Very Dry, 2 Dry, 3 Normal, 4 Rainy, 5 Very Rainy | Sets how often it rains. |
ErosionSpeed |
4 |
1 Very Fast (20 Days), 2 Fast (50 Days), 3 Normal (100 Days), 4 Slow (200 Days), 5 Very Slow (500 Days) | Sets the days until vines, long grass, and new trees reach full growth. |
ErosionDays |
0 |
-1 to 36500 | Sets a custom erosion length. At 0, ErosionSpeed applies. |
Loot and Respawn
Loot settings are multipliers from 0 to 4, so 0.6 is the common default. For the group that wants sprinters but more loot, raise a few of these. Pair Speed = 1 in ZombieLore with a higher FoodLootNew, MedicalLootNew, and WeaponLootNew.
| Key | Default | What It Covers |
|---|---|---|
FoodLootNew |
0.8 |
Any food that can rot or spoil. |
CannedFoodLootNew |
0.6 |
Canned and dried food, plus beverages. |
MedicalLootNew |
0.6 |
Medicine, bandages, and first aid tools. |
WeaponLootNew |
0.6 |
Weapons that aren’t tools in other categories. |
RangedWeaponLootNew |
1.2 |
Ranged weapons, including weapon attachments. |
AmmoLootNew |
0.6 |
Loose ammo, boxes, and magazines. |
ClothingLootNew |
0.6 |
Wearable items that aren’t containers. |
MechanicsLootNew |
0.6 |
Vehicle parts and the tools to install them. |
KeyLootNew |
0.4 |
Keys for buildings and cars, key rings, and locks. |
OtherLootNew |
0.8 |
Everything else. Also affects foraging in Town and Road zones. |
Several more keys use the same 0 to 4 range. Each defaults to 0.6. They are LiteratureLootNew, SkillBookLoot, RecipeResourceLoot, SurvivalGearsLootNew, ContainerLootNew, MediaLootNew, MementoLootNew, CookwareLootNew, MaterialLootNew, FarmingLootNew, and ToolLootNew. Leave RollsMultiplier at 1.0.
Three keys control whether loot comes back.
| Key | Default | Range | What It Does |
|---|---|---|---|
HoursForLootRespawn |
0 |
0 to 2147483647 | When above 0, containers in towns and trailer parks respawn loot after this many hours. |
SeenHoursPreventLootRespawn |
0 |
0 to 2147483647 | When above 0, zones visited within this many in-game hours don’t respawn loot. |
MaxItemsForLootRespawn |
5 |
0 to 2147483647 | Containers holding this many items or more won’t respawn. |
A container must have been looted at least once before it can respawn loot. ConstructionPreventsLootRespawn (default true) also stops respawn in buildings that players have barricaded or built in. HoursForWorldItemRemoval (default 24.0) sets how many hours dropped items stay before removal, and 0 means no removal. WorldItemRemovalList names the item types it applies to.
For a one-time refresh, use a soft reset instead. Our Project Zomboid soft reset guide explains that it replaces every container’s loot, including player-made ones. So move valuables into your inventory first.
Survival, Farming, and XP
These options set how hard daily survival feels. They’re mostly code picks, so a quick test world is the safest way to feel the difference.
| Key | Default | Codes or Range | What It Does |
|---|---|---|---|
FoodRotSpeed |
3 |
1 Very Fast, 2 Fast, 3 Normal, 4 Slow, 5 Very Slow | Sets how fast food spoils, in or out of a fridge. |
FridgeFactor |
3 |
1 Very Low, 2 Low, 3 Normal, 4 High, 5 Very High, 6 No decay | Sets how well a fridge keeps food fresh. |
Farming |
3 |
1 Very Fast, 2 Fast, 3 Normal, 4 Slow, 5 Very Slow | Sets the speed of plant growth. |
FarmingSpeedNew |
1.0 |
0.1 to 100 | Sets the speed of plant growth as a multiplier. |
FarmingAmountNew |
1.0 |
0.1 to 10 | Sets the abundance of harvested crops. |
NatureAbundance |
3 |
1 Very Poor, 2 Poor, 3 Normal, 4 Abundant, 5 Very Abundant | Sets the abundance of items found when foraging. |
InjurySeverity |
2 |
1 Low, 2 Normal, 3 High | Sets how much injuries hurt and how long they take to heal. |
BoneFracture |
true |
true or false |
Decides whether survivors can break limbs from impacts, zombie damage, and falls. |
HoursForCorpseRemoval |
216.0 |
-1 to 2147483647 | Hours before dead zombies disappear. At 0, maggots don’t spawn on corpses. |
CharacterFreePoints |
0 |
-100 to 100 | Adds free points during character creation. |
There are two growth-speed options, Farming and FarmingSpeedNew, with the same description. The wiki doesn’t say which one the server reads, so test a change on a copy of your world before you rely on it. For CharacterFreePoints, our guide to adding more traits and points walks through the panel edit.
XP has its own block. Inside MultiplierConfig, the Global option sets the rate at which all skills level up. It defaults to 1.0 and takes 0 to 1000. When GlobalToggle is true, every skill uses that value. So Global = 2.0 levels every skill at twice the rate.
Per-skill keys sit in the same block, including Fitness, Axe, Cooking, Farming, and Mechanics. Each also defaults to 1.0. To give a player XP on the spot, our admin commands guide covers addxp.
Project Zomboid Sandbox Settings FAQ
Work through this checklist. Edit [worldName]_SandboxVars.lua, not World Config. Click Save at the top, then restart the server. Match each key name to the one in your file, since older builds use some different names. If zombie numbers look wrong, check PopulationMultiplier in the ZombieConfig block as well as Zombies.
Use a soft reset. Stop the server, open Customizations, and check Soft Reset under the World category. Start the server, then turn the option off again once it loads. A soft reset resets all zombies and replaces every container’s loot. It keeps player buildings and inventories, and our soft reset guide has the full steps.
Open the MultiplierConfig block in [worldName]_SandboxVars.lua. Set Global to the rate you want, such as 2.0, and keep GlobalToggle on true. Save the file and restart the server.



























