Project Zomboid Server Configuration Guide
The Project Zomboid server settings files (.ini, SandboxVars.lua, spawnregions, spawnpoints), the most commonly changed settings, and how to apply changes safely.
project-zomboidWritten by Aneryan5 min read0 viewsUpdated

Project Zomboid server settings are split across several files. The .ini file controls the server (name, slots, PvP, mods), while SandboxVars.lua controls the gameplay rules (zombie count, speed, loot, time). This guide explains each file and the settings people change most.
In short: stop the server → open Files →
.cache/Server/→ edit<server-name>.inior<server-name>_SandboxVars.lua→ save → start the server.
Settings files
They all live in .cache/Server/, prefixed with the server name, for example servertest:
| File | Controls |
|---|---|
<server-name>.ini | Server identity, slots, password, PvP, safehouses, chat, mods, backups |
<server-name>_SandboxVars.lua | Gameplay rules: zombies, time, loot, power and water, XP |
<server-name>_spawnregions.lua | Towns players can choose to spawn in |
<server-name>_spawnpoints.lua | Exact coordinates where players spawn |
If you change the server name, the server creates new settings files with default values. The old files stay and can be used again by switching back to the old name.
Key settings in the .ini file
Each line is Name=Value, with no spaces around =.
| Setting | Example | What it does |
|---|---|---|
PublicName | PublicName=Skyes Survival | Server name in the server list |
PublicDescription | PublicDescription=A relaxed server | Server description |
Public | Public=true | Shows the server in the public list |
Password | Password=secret | Join password. Leave empty for an open server |
MaxPlayers | MaxPlayers=16 | Player limit. Do not exceed your plan's slots |
Open | Open=true | true: anyone can create an account. false: only accounts created by an admin (whitelist) |
PVP | PVP=true | Players can attack each other |
PauseEmpty | PauseEmpty=true | World time stops when the server is empty |
GlobalChat | GlobalChat=true | Enables global chat |
ServerWelcomeMessage | ServerWelcomeMessage=Welcome! | Message shown when players join |
SaveWorldEveryMinutes | SaveWorldEveryMinutes=15 | Autosave every N minutes. 0 = off |
DropOffWhiteListAfterDeath | DropOffWhiteListAfterDeath=false | Deletes the account when the character dies |
Mods / WorkshopItems | see the mod guide | Mod list |
Map | Map=Muldraugh, KY | Map to load |
BackupsOnStart / BackupsPeriod / BackupsCount | BackupsCount=5 | Automatic backups |
Do not change DefaultPort or UDPPort. The panel already sets the server ports from the allocation in the Network menu, and values in the file are overridden.
Mod settings are covered in Installing Project Zomboid Mods.
Key settings in SandboxVars.lua
Many sandbox settings are option numbers, not real amounts. For example, Zombies = 4 means the 4th option (Normal), not 4 zombies.
| Setting | Values | What it does |
|---|---|---|
Zombies | 1 Insane, 2 Very High, 3 High, 4 Normal, 5 Low, 6 None | Zombie count |
Distribution | 1 urban focused, 2 uniform | Zombie spread |
ZombieRespawn | 1 High, 2 Normal, 3 Low, 4 None | How fast zombies respawn |
DayLength | 1 = 15 min, 2 = 30 min, 3 = 1 hour, 4 = 1.5 hours | Length of an in-game day |
StartMonth | 1–12 | Starting month (default July) |
WaterShut / ElecShut | from 1 (instant) to 9 (never) | When water and power shut off |
FoodRotSpeed | 1 very fast – 5 very slow | How fast food spoils |
HoursForLootRespawn | 0 = never | Hours until loot respawns |
The ZombieLore section holds zombie traits, such as Speed:
ZombieLore.Speed | Meaning |
|---|---|
1 | Sprinters |
2 | Fast Shamblers |
3 | Shamblers (slow walkers) |
4 | Random |
An example excerpt:
SandboxVars = {
Zombies = 4,
DayLength = 3,
StartMonth = 7,
ZombieLore = {
Speed = 3,
},
}
Change the numbers only. Do not remove commas or curly braces: a syntax mistake in a .lua file stops the server from starting.
Applying changes
| File | How to apply |
|---|---|
.ini | Restart the server. Most settings can also be reloaded with /reloadoptions without a restart, except mods |
SandboxVars.lua, spawnregions, spawnpoints | Stop the server, edit, then start |
Safe editing steps:
- Stop the server from the Console.
- Create a backup in the Backups menu.
- Open Files →
.cache/Server/and edit the file you need. - Click Save Content.
- Start the server and watch the Console until it shows
SERVER STARTED.
You can also change one .ini setting from in game with /changeoption OptionName "value". See Adding Admins and Basic Commands in Project Zomboid.
Troubleshooting
| Problem | Common cause | Fix |
|---|---|---|
| The server will not start after a sandbox edit | A missing comma or curly brace in the .lua | Compare with your backup and fix the syntax |
.ini changes do not apply | No restart, or the wrong server's file was edited | Check the file name matches the server name, then restart |
| Every setting is back to default | The server name changed, so new files were created | Restore the server name, or copy your settings into the new files |
| Players cannot create accounts | Open=false | Set Open=true, or create accounts with /adduser |
| Ports change by themselves | Ports are managed by the panel | Do not change ports in the file |
Safe practices
- Back up the
.cache/Server/folder before changing settings. - Change a few settings at a time, then test.
- Keep a copy of a working settings file on your computer.
- Announce big rule changes (PvP, zombie count) to players before applying them.
If the server will not start after changing settings, contact Skyes Hosting support and include the server name, the file you changed, and the log lines from the Console.
Was this article helpful?


