Set up the server INI and sandbox rules of your Project Zomboid server with a form. The generator writes the matching INI lines and a complete SandboxVars.lua for Build 42.
Valid for Project Zomboid Build 42.22.2 stable (November 2026)
Start with a preset:
How to use the file on your server
Choose your values above.
Stop your server in the game panel – the server writes these files itself and would overwrite changes made while it runs.
Open the folder .cache/Server/ with the file manager (or via SFTP). The files are named after the Server Name panel variable, e.g. Pterodactyl.ini.
Change the lines shown in the .ini and replace the whole content of Pterodactyl_SandboxVars.lua. Save.
Start the server and check the settings in-game.
Set these in the panel under Startup, not in the file:
Server Name (file name and world, default Pterodactyl) · Admin username · Admin password · Game port (DefaultPort, from your allocation) · UDP port (UDPPort)
The panel writes them into the config on every start, so changes in the file would be overwritten.
At NexoraHost the server starts with -cachedir=/home/container/.cache, so the files are in .cache/Server/ and are named after the Server Name panel variable, by default Pterodactyl.ini and Pterodactyl_SandboxVars.lua.
Why is HoursForLootRespawn no longer in the INI?
In Build 42, HoursForLootRespawn, MaxItemsForLootRespawn and other loot options moved to SandboxVars.lua. Older Build 41 guides still list them as INI entries.
How do I set more or fewer zombies?
What counts is PopulationMultiplier in the ZombieConfig block. The menu presets equal Insane 2.5, Very High 1.6, High 1.2, Normal 0.65 and Low 0.15. Higher values cost noticeably more server performance.
I changed Server Name in the panel – where is my world?
With a new name the server creates new files and a new world. The old one is kept but no longer loaded. Set the old name again and change the display name only via PublicName.
Do all changes apply to a running world?
Most values apply after a restart. Start month and start day only take effect when a new world is created; power and water shutoff are best set before the first start. Make a backup before bigger changes.