How to Configure Your Project Zomboid Server (server.ini)

Complete Project Zomboid server.ini reference — server name, players, PvP, mods, whitelist, and key settings.

PZ uses [servername].ini in the Zomboid/Server/ directory. Gameplay settings are separate in [servername]_SandboxVars.lua.

Key Settings

Server Identity

SettingDefaultDescription
PublicNameMy ServerServer browser name
PublicDescription""Browser description
PublictrueShow in public browser
Password""Join password (empty = public)
MaxPlayers32Max concurrent players
DefaultPort16261Main UDP port
UDPPort16262Secondary UDP port

Gameplay

SettingDefaultDescription
PVPtrueEnable PvP
SafetySystemtrueOpt-in PvP (players toggle their own PvP flag)
PauseEmptytruePause world when empty
SleepAllowedfalseAllow sleeping
Opentruefalse = whitelist only

Mods

WorkshopItems=498441420;2297098490
Mods=Hydrocraft;Arsenal(26)GunFighter

Semicolon-separated (not commas). WorkshopItems = Workshop IDs, Mods = mod folder names. Both needed.

RCON

SettingDefaultDescription
RCONPort27015RCON TCP port
RCONPassword""Set to enable RCON

Ports

PortProtocolPurpose
16261UDPPrimary game
16262UDPDirect UDP
27015TCPRCON (optional)

Important Note

If sandbox changes don't apply, delete map_sand.bin from the save folder and restart.

How is this guide?

40% Off — Limited TimeGet your Project Zomboid server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page