Free config generator

Project Zomboid settings generator

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)

Project Zomboid
Start with a preset:
Access & server browser
PublicName

This name is shown in the in-game and Steam browser. Change it here, not via the Server Name panel variable, which only sets the file name and therefore the world.

Default: My PZ Server

PublicDescription

Text in the in-game server browser. Room for rules, language or your mod list.

Default: –

Public

Lists the server in the public in-game browser. Default false; set true for an open community server.

Default: Off

Open

With true anyone who knows the password can create an account. With false only players created by an admin can join.

Default: On

Rules & PvP
PVP

Players can hurt and kill each other. Set false for pure co-op servers.

Default: On

SafetySystem

Each player toggles PvP for themselves (skull icon); damage only happens if one of the two has PvP on. With false PvP always applies to everyone.

Default: On

PauseEmpty

Game time stops when nobody is online. Keep true for small groups so power and water do not shut off without you.

Default: On

GlobalChat

Turns server-wide chat on or off. Without it only local chat and radios remain.

Default: On

SleepAllowed

Players may sleep when tired. Default false.

Default: Off

SleepNeeded

Players get tired and must sleep. Only works with SleepAllowed=true.

Default: Off

NoFire

Disables all fire except campfires. Helps against arson on public servers.

Default: Off

AnnounceDeath

Every player death is announced to everyone in chat.

Default: Off

SpawnPoint

All new players spawn at these x,y,z coordinates (find them on map.projectzomboid.com). 0,0,0 means normal spawn selection.

Default: 0,0,0

SaveWorldEveryMinutes

Loaded map parts are saved after this many real minutes. Default 0 saves only when players leave an area; 10–30 protects better against data loss after a crash.

Default: 0

Safehouses
PlayerSafehouse

Players and admins can claim buildings as safehouses.

Default: Off

AdminSafehouse

Only admins can claim safehouses. Only useful when PlayerSafehouse is off.

Default: Off

SafehouseAllowTrepass

Players without an invite may enter other safehouses. Often false on PvP servers.

Default: On

Zombies
PopulationMultiplier

The actual zombie density. The menu presets equal: Insane 2.5, Very High 1.6, High 1.2, Normal 0.65, Low 0.15, None 0.

Default: 0.65

Speed

How fast zombies move. Build 42 defaults to Random; the share of sprinters is then set with SprinterPercentage.

Default: Random

SprinterPercentage

Only with speed “Random”: percent of zombies that sprint. Default 0; 5–10 adds jump scares.

Default: 0

Strength

How much damage a zombie attack deals. Default Normal.

Default: Normal

Toughness

How many hits a zombie can take. Build 42 defaults to Random.

Default: Random

Transmission

How the Knox virus spreads. Default: blood and saliva, so through bites and scratches.

Default: Blood and saliva

Mortality

How quickly the infection kills. Default 2–3 days.

Default: 2–3 days

Cognition

Whether zombies open doors and navigate. Default: basic navigation, no doors.

Default: Basic navigation

RespawnHours

In-game hours before zombies may respawn in a cell. Default 0 means no respawn; 72–216 keeps cleared areas dangerous.

Default: 0

World, time & shutoffs
DayLength

How long one in-game day lasts in real time. Build 42 defaults to 1.5 hours; longer days give more time to loot and build.

Default: 1.5 hours

StartMonth

Month the world starts in. Default July; starting in autumn or winter makes survival much harder. Only affects a new world.

Default: July

WaterShut

Time window in which running water shuts off. Default 0–30 days; “Disabled” makes the game much easier. Best set before creating a new world.

Default: 0–30 days

ElecShut

Time window in which power shuts off for good. Default 14–30 days; after that you need generators. Best set before creating a new world.

Default: 14–30 days

ErosionSpeed

How fast grass, vines and trees reclaim the world. Build 42 defaults to Slow (200 days).

Default: Slow (200 days)

Helicopter

How often the helicopter flies over and drags zombie hordes along. Default: once.

Default: Once

CarSpawnRate

How many vehicles spawn on the map. Build 42 defaults to Low.

Default: Low

Loot & progression
Global

How fast all skills level up. Default 1.0; 2–3 for more relaxed servers. Applies while GlobalToggle is on (default).

Default: 1

FoodLootNew

Amount of food that can rot. Default 0.8; range 0 to 4.

Default: 0.8

CannedFoodLootNew

Canned and dried food plus drinks. Default 0.6.

Default: 0.6

WeaponLootNew

Weapons that do not belong to other categories. Default 0.6.

Default: 0.6

RangedWeaponLootNew

Firearms including attachments. Default 1.2.

Default: 1.2

AmmoLootNew

Loose ammo, boxes and magazines. Default 0.6.

Default: 0.6

MedicalLootNew

Medicine, bandages and first aid tools. Default 0.6.

Default: 0.6

HoursForLootRespawn

After this many in-game hours, containers in towns that were looted refill. Default 0 means never; 168 is one in-game week.

Default: 0

MaxItemsForLootRespawn

Containers holding this many items or more do not respawn loot. Default 5.

Default: 5

NatureAbundance

How much you find while foraging. Default Normal.

Default: Normal

StarterKit

New characters start with chips, a water bottle, a small backpack, a baseball bat and a hammer.

Default: Off

How to use the file on your server

  1. Choose your values above.
  2. Stop your server in the game panel – the server writes these files itself and would overwrite changes made while it runs.
  3. 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.
  4. Change the lines shown in the .ini and replace the whole content of Pterodactyl_SandboxVars.lua. Save.
  5. 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.

All Project Zomboid settings explained in our docs →

No Project Zomboid server yet?

Our game servers run on AMD EPYC with NVMe in Frankfurt, with DDoS protection and a panel with file manager and SFTP – ready in a few minutes.

FAQ: Project Zomboid server settings

Where are the config files?

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.

More config generators