How to Configure Your DayZ Server (serverDZ.cfg)

Complete DayZ serverDZ.cfg reference — every setting for identity, network, security, time, persistence, visibility, and gameplay.

DayZ uses serverDZ.cfg in the server root. The file uses C-like syntax — every line ends with a semicolon.

File Structure

serverDZ.cfg
types.xml
globals.xml
init.c

How to Edit

Stop the server

In the XGamingServer Panel, go to Console and stop the server.

Open serverDZ.cfg

Click Files in the sidebar and open serverDZ.cfg in the server root.

Make changes and save

Edit the settings. Every line must end with a semicolon (;). Click Save Content.

Start the server

Start from Console.

Full Settings Reference

SettingDefaultDescription
hostname""Server name shown in the browser
password""Join password (empty = public)
passwordAdmin""Admin/RCON password
description""Description shown in the client server browser
maxPlayers60Max concurrent players
enableWhitelist00 = off, 1 = on
shardId""Six alphanumeric characters to mark as Private server. Remove or leave empty to appear in the Community browser. See Make Server Public
SettingDefaultDescription
steamQueryPort2305Steam browser query port (UDP). Check your panel's Network tab — XGamingServer may assign a different port

The game port and Steam networking port are set via startup parameters, not in the cfg. Check the Startup tab for -port= values.

Required Ports

PortProtocolPurpose
Game portUDPGame traffic (default 2302)
Game port +2UDPSteam networking
steamQueryPortUDPSteam query (browser listing)
RCON portTCPBattlEye RCON (default 2306)
SettingDefaultDescription
BattlEye1Anti-cheat (0 = off, 1 = on)
verifySignatures2PBO signature check (must be 2)
forceSameBuild1Require matching game version to join
allowFilePatching1Allow clients using -filePatching
SettingDefaultDescription
disable3rdPerson01 = first person only
disableCrosshair0Toggle crosshair
disablePersonalLight1Disable the personal light (ambient glow near player in dark)
lightingConfig0Lighting configuration preset
disableVoN0Disable voice chat
vonCodecQuality20Voice quality (0–30)
respawnTime5Seconds before respawn
SettingDefaultDescription
serverTime"SystemTime"Initial time. Use "SystemTime" for local machine time, or a fixed value like "2015/4/8/17/23" (YYYY/MM/DD/HH/MM)
serverTimeAcceleration12Time speed multiplier. 1 = real time, 12 = full day/night cycle in ~2 hours
serverNightTimeAcceleration1Night speed multiplier (stacks with serverTimeAcceleration). Higher = shorter nights
serverTimePersistent0Save time across restarts (0 = reset to serverTime on restart)

Time Examples

serverTimeAccelerationserverNightTimeAccelerationEffect
121Full cycle in ~2 hours, night same speed as day
124Full cycle in ~2 hours, nights ~4x faster (very short nights)
42Day 4x speed, night 8x speed
164Real-time days, ~22 minute nights
SettingDefaultDescription
instanceId1Server instance ID. Identifies storage folders for persistence files
storageAutoFix1Check for corrupted persistence files and replace with empty ones (0 = off, 1 = on)
guaranteedUpdates1Communication protocol (always use 1)

Persistence data is stored in mpmissions/<template>/storage_1/. See Persistence Settings.

SettingDefaultDescription
loginQueueConcurrentPlayers5Players processed simultaneously during login. Prevents performance drops during mass connections
loginQueueMaxPlayers500Max players that can wait in the login queue

Map Selection

The map is set in the Missions class block at the bottom of serverDZ.cfg:

class Missions
{
    class DayZ
    {
        template="dayzOffline.chernarusplus";
    };
};
MapTemplateNotes
Chernarus+dayzOffline.chernarusplusDefault vanilla map
LivoniadayzOffline.enochRequires Livonia DLC
SakhaldayzOffline.sakhalRequires Frostline DLC

See Map Guide for community maps.

Example serverDZ.cfg

hostname = "My DayZ Server";
password = "";
passwordAdmin = "MyAdminPass";
description = "A survival server";
enableWhitelist = 0;
maxPlayers = 60;

verifySignatures = 2;
forceSameBuild = 1;
BattlEye = 1;

disableVoN = 0;
vonCodecQuality = 20;

disable3rdPerson = 0;
disableCrosshair = 0;
disablePersonalLight = 1;
lightingConfig = 0;

serverTime = "SystemTime";
serverTimeAcceleration = 12;
serverNightTimeAcceleration = 1;
serverTimePersistent = 0;

guaranteedUpdates = 1;
loginQueueConcurrentPlayers = 5;
loginQueueMaxPlayers = 500;

instanceId = 1;
storageAutoFix = 1;

steamQueryPort = 2305;

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

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