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

SettingDefaultDescription
hostname""Server name in browser
password""Join password (empty = public)
passwordAdmin""Admin/RCON password
maxPlayers60Max concurrent players
enableWhitelist00 = off, 1 = on

Network

SettingDefaultDescription
port2302Main game port (UDP)
steamQueryPort2305Steam browser query port (UDP)
steamPort2304Steam networking port (UDP)
maxPing200Max ping before kick (ms)

Security

SettingDefaultDescription
BattlEye1Anti-cheat (0=off, 1=on)
verifySignatures2PBO signature check (must be 2)
forceSameBuild1Require matching game version
allowFilePatching1Allow -filePatching clients

Gameplay

SettingDefaultDescription
disable3rdPerson01 = first person only
disableCrosshair0Toggle crosshair
disableVoN0Disable voice chat
vonCodecQuality20Voice quality (0–30)
respawnTime5Seconds before respawn

Time & Day/Night Cycle

SettingDefaultDescription
serverTime"SystemTime"Or "YYYY/MM/DD/HH/MM"
serverTimeAcceleration12Time speed (1=real time, 12=full day in 2hrs)
serverNightTimeAcceleration4Night speed multiplier (stacks with above)
serverTimePersistent0Save time across restarts

Time Examples

Day RateNight RateEffect
42Day 4x, Night 8x
124Day 12x, Night 48x (very short nights)
164Real-time days, ~22min nights

Map Selection

class Missions
{
    class DayZ
    {
        template = "dayzOffline.chernarusplus";
    };
};

See Map Guide for all maps.

Ports

PortProtocolPurpose
2302UDPGame traffic
2304UDPSteam networking
2305UDPSteam query (browser)
2306TCPRCON (BattlEye)

How is this guide?

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

On this page