Generating Server Mods and Sandbox Settings
Setting up your Supercraft server manually by typing out dozens of Workshop IDs, Map folder names, and Sandbox variables can be incredibly tedious. This guide will walk you through the fastest method: using the in-game local host menu to automatically generate perfectly formatted configuration files that you can just upload to your server.
Generating the Configuration
- Launch Project Zomboid and from the main menu, click Host.
- Click on Manage Settings.
- Click Create New Settings.
- When prompted for a name, enter exactly
pzserver(this needs to match the default configuration name on most dedicated servers). - You will now be taken to the visual server settings menu. Here, you can easily click through and customize your Sandbox settings, spawn regions, adding maps, and enabling mods directly through the UI. When you are happy with the setup, hit Save.
Locating and Uploading Your Files
- On your computer, press
⊞ Win + Rto open the Run dialogue box. - Copy and paste the following path into the box and press Enter:
%USERPROFILE%\Zomboid\Server\ - In the newly opened folder, you should see three files you just generated:
pzserver.ini(Server behavior, mods, and workshop lists)pzserver_SandboxVars.lua(Zombie behavior, loot rarity, day length, etc.)pzserver_spawnregions.lua(Allowed spawn coordinates and map folders)
- Log into your server host's File Manager.
- Navigate to the settings directly:
/server-data/Server/. - Drag and drop all three files into this folder, replacing the existing defaults.
- Important: You must update the core network ports in the new config. Make sure to follow our Upload Server INI Guide to set your
DefaultPortandUDPPortcorrectly, otherwise your server will not boot on the host network. - Restart your server! The new Sandbox settings and mods will be automatically applied.
Note: If you are adding major map mods to an existing world, you may need to perform a Soft Reset or map wipe to ensure the new structures generate properly without corrupting the surrounding terrain.