GAME SERVER HOSTING: 50% OFF first order with code GHOST50
Project Zomboid background

How To Configure Sandbox Settings On Your Project Zomboid Server

Learn how to configure sandbox settings on your Project Zomboid server to customize zombie behavior, loot rarity, and survival difficulty.

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.

Tip

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

  1. Access the GhostCap Panel and Stop your server.
  2. In the sidebar, go to File Manager.
  3. Navigate to .cache/Server/ and open the pzserver_SandboxVars.lua file.
  4. Edit the settings you want to change.
  5. Save the file and Start your server.
Note

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

Caution

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.