How to Configure Your DayZ Server (serverDZ.cfg)
Complete DayZ serverDZ.cfg reference — every setting for identity, network, security, time, persistence, and gameplay.
DayZ uses serverDZ.cfg in the server root. Uses C-like syntax with semicolons.
File Structure
serverDZ.cfg
DayZServer_x64.exe
mod1.bikey
types.xml
globals.xml
init.c
Server Identity
| Setting | Default | Description |
|---|---|---|
hostname | "" | Server name in browser |
password | "" | Join password (empty = public) |
passwordAdmin | "" | Admin/RCON password |
maxPlayers | 60 | Max concurrent players |
enableWhitelist | 0 | 0 = off, 1 = on |
Network
| Setting | Default | Description |
|---|---|---|
port | 2302 | Main game port (UDP) |
steamQueryPort | 2305 | Steam browser query port (UDP) |
steamPort | 2304 | Steam networking port (UDP) |
maxPing | 200 | Max ping before kick (ms) |
Security
| Setting | Default | Description |
|---|---|---|
BattlEye | 1 | Anti-cheat (0=off, 1=on) |
verifySignatures | 2 | PBO signature check (must be 2) |
forceSameBuild | 1 | Require matching game version |
allowFilePatching | 1 | Allow -filePatching clients |
Gameplay
| Setting | Default | Description |
|---|---|---|
disable3rdPerson | 0 | 1 = first person only |
disableCrosshair | 0 | Toggle crosshair |
disableVoN | 0 | Disable voice chat |
vonCodecQuality | 20 | Voice quality (0–30) |
respawnTime | 5 | Seconds before respawn |
Time & Day/Night Cycle
| Setting | Default | Description |
|---|---|---|
serverTime | "SystemTime" | Or "YYYY/MM/DD/HH/MM" |
serverTimeAcceleration | 12 | Time speed (1=real time, 12=full day in 2hrs) |
serverNightTimeAcceleration | 4 | Night speed multiplier (stacks with above) |
serverTimePersistent | 0 | Save time across restarts |
Time Examples
| Day Rate | Night Rate | Effect |
|---|---|---|
| 4 | 2 | Day 4x, Night 8x |
| 12 | 4 | Day 12x, Night 48x (very short nights) |
| 1 | 64 | Real-time days, ~22min nights |
Map Selection
class Missions
{
class DayZ
{
template = "dayzOffline.chernarusplus";
};
};See Map Guide for all maps.
Ports
| Port | Protocol | Purpose |
|---|---|---|
| 2302 | UDP | Game traffic |
| 2304 | UDP | Steam networking |
| 2305 | UDP | Steam query (browser) |
| 2306 | TCP | RCON (BattlEye) |
Related Guides
How is this guide?

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