In this guide, we will show you how to edit every setting on your Project Zomboid server, including sandbox settings for gameplay mechanics like loot spawns, zombie behavior, and difficulty.
Basic Server Configuration
Basic settings such as Server Password, Server Name and more can be configured directly in our game panel, here are the steps for basic configuration:
- 1Access the Game Host Bros Panel and stop your Project Zomboid server.
- 2In the sidebar, go to
Startup Parameters. - 3Edit the setting you want to change.
- 4Start your server.
Using The Configuration File
- 1Access the Game Host Bros Panel and stop your Project Zomboid server.
- 2In the sidebar, click
File Managerand navigate to.cache/Server/pzserver.ini. - 3Make the changes you want and then restart the server.
If the settings exist in Startup Parameters, then they will override what is in the configuration file.
Configuring Sandbox Settings
Sandbox settings control various gameplay mechanics such as loot spawns, zombie behavior, zombie spawns, player stats, weather, and much more. These settings allow you to customize your server's difficulty and gameplay experience.
- 1Access the Game Host Bros Panel and
Stopyour Project Zomboid server. - 2In the sidebar, click
File Managerand navigate to.cache/Server/pzserver_SandboxVars.lua. - 3Edit the settings you want to change. Each setting has comments with their valid values.
- 4Save the file and start your server.
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.
Troubleshooting Sandbox Settings
If your changes aren't applying make sure your changes are being saved, if the issue persists consider the following:
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.