Project Zomboid Sandbox settings control much of what actually happens inside your world. Zombie populations, loot rarity, infection, XP, vehicles, electricity, water, and many other gameplay systems can all be adjusted.
On a self-hosted Project Zomboid Build 42 server, these settings are stored in a Lua configuration file. That gives server owners plenty of control, but it is not particularly beginner-friendly if you have never worked with Project Zomboid configuration files before.
This guide explains how to change Build 42 Sandbox settings manually and how Project Zomboid hosting can make the same process much easier.
How To Change Sandbox Settings On A Self-Hosted Server
Start by completely stopping your Project Zomboid server.
You should avoid changing configuration files while the server is running.
Find The SandboxVars File
On Windows, Project Zomboid normally stores server configuration under:
C:\Users\YourUsername\Zomboid\Server\
For a default server called servertest, the Sandbox configuration is:
servertest_SandboxVars.lua
Do not confuse this with:
servertest.ini
The .ini file primarily controls normal multiplayer server configuration, while _SandboxVars.lua controls gameplay rules.
Open The File In A Text Editor
Right-click the file and open it with Notepad or another plain-text editor.
Inside, you will see a long list of Sandbox options using Lua-style formatting.
A setting may look similar to:
OptionName = 3,
Other options may use:
true
or:
false
Be careful when editing the file. The punctuation is part of the configuration, so accidentally removing commas or other structural characters can stop settings from loading correctly.
Change Zombie Settings
Build 42 allows extensive control over zombie behavior.
Depending on the configuration available to your server, you can adjust areas such as:
- Zombie population
- Distribution
- Respawning
- Strength
- Speed
- Memory
- Hearing and sight
- Infection behavior
These settings can dramatically change the difficulty of a multiplayer server.
Do not assume that a larger number always means a more difficult setting. Many Sandbox options use numerical choices where each number represents a specific preset.
Change Loot And Survival Settings
Sandbox configuration also controls how abundant resources are.
You can adjust categories such as food, weapons, medical supplies, survival gear, and other loot.
Other useful settings include:
- XP multiplier
- Day length
- Food spoilage
- Water shutoff
- Electricity shutoff
- Generator behavior
- Vehicles
- Meta events
This lets you create anything from a forgiving private server to an extremely difficult long-term survival world.
Save And Restart The Server
After making your changes, save _SandboxVars.lua.
Start your server again using your normal startup method, such as:
StartServer64.bat
Once the world loads, check whether the changed settings are behaving as expected.
If nothing changed, confirm that you edited the SandboxVars file belonging to the server name that is actually being launched.
Sandbox Settings With Dedicated Project Zomboid Hosting
Using dedicated Project Zomboid hosting removes the need to manually interpret the SandboxVars file.
With Pine Hosting, Sandbox configuration is available through the Easy Config panel.
Instead of opening:
servertest_SandboxVars.lua
and working through Lua values, you can view the available gameplay settings in a normal user interface.
Server owners can change zombie settings, world behavior, loot options, gameplay configuration, and other Sandbox choices without having to determine which number represents each option.
Pine Hosting also separates normal server settings and Sandbox settings, making it much easier to understand whether you are changing multiplayer access or actual gameplay behavior.
Once the options are configured, you can save them and manage the server directly through the panel.
This is one of the clearest advantages of Project Zomboid server hosting for players who want a customized world without learning the underlying configuration syntax.
Build The Project Zomboid World You Actually Want
Sandbox settings are where a Project Zomboid server becomes your own. You can make survival harsher, increase loot, change zombie behavior, speed up progression, or completely reshape how a world plays.
With Pine Hosting's Easy Config, those options are presented directly in the panel instead of being buried inside SandboxVars.lua and numerical configuration values.
That means you can spend more time experimenting with your server's gameplay and less time figuring out which line in a Lua file needs to change.
Customize your Build 42 Project Zomboid server with Pine Hosting and create the survival experience that fits your community.