This guide covers how to configure sandbox settings on your Project Zomboid server. Sandbox settings let you customize nearly every aspect of your server's gameplay, from zombie behavior and loot rarity to weather patterns and survival difficulty.
Some changes will only take effect after a server restart.
Always make a backup of your pzserver_SandboxVars.lua file before making changes, so you can easily revert if needed.
Editing Sandbox Settings
- Access the GhostCap Panel and
Stopyour server. - In the sidebar, go to
File Manager. - Navigate to
.cache/Server/and open thepzserver_SandboxVars.luafile. - Edit the settings you want to change.
Savethe file andStartyour server.
Sandbox settings are only applied when a new world is generated or when a server restart occurs. Some changes may require a world reset to take effect.
Troubleshooting
Invalid Values: Values may be invalid or formatted incorrectly. Double-check the sandbox file for the correct format and valid options listed for each setting.
Corrupted Files: Your save may be corrupted. Stop your server, go to File Manager, and delete the map_sand.bin file in your save folder located at .cache/Saves/Multiplayer/pzserver/map_sand.bin.
Mod Conflicts: There may be a mod-related issue, ensure that you don't have any mods overriding specific sandbox settings.
Reset Your Server: If you need to start fresh, follow our guide to reset your Project Zomboid server.
For a complete list of sandbox settings, check the Project Zomboid Wiki.
