Server Config CFG Format

serverDZ.cfg

Main server configuration file. Sets server name, passwords, player slots, network ports, logging options, and mission template.

Overview

The serverDZ.cfg file is the main server configuration file for DayZ. Unlike other CE files, it uses a CFG key-value format, not XML. It controls server name, passwords, player limits, gameplay rules, and mission selection.

This file is located in the server root directory and is referenced by the -config startup parameter.

File Structure

The CFG format uses simple key-value pairs. Strings are wrapped in quotes, numbers are bare, and the Missions block uses a class-based syntax:

hostname = "My DayZ Server";
password = "";
passwordAdmin = "secretAdminPass";
maxPlayers = 60;

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

Important: Every line must end with a semicolon. Missing semicolons will cause the server to fail to start or use default values.

Key Parameters

Parameter Type Description
hostnameStringServer name shown in the server browser
passwordStringPassword required to join (empty = public)
passwordAdminStringAdmin password for remote admin tools
maxPlayersIntegerMaximum concurrent players (typically 60)
verifySignaturesInteger0 = off, 2 = verify mod signatures (recommended)
forceSameBuildInteger1 = require matching game version
disableThirdPersonInteger1 = first-person only server
serverTimeStringInitial server time, e.g. "2020/4/1/08/00"
serverTimeAccelerationIntegerTime multiplier (1-64). 1 = real time
serverNightTimeAccelerationIntegerNight-only time multiplier (1-64)
disablePersonalLightInteger1 = disable the ambient player light at night

Missions Template

The Missions block tells the server which map and mission folder to load:

class Missions
{
    class DayZ
    {
        template = "dayzOffline.chernarusplus";  // Chernarus
        // template = "dayzOffline.enoch";       // Livonia
    };
};

The template value must match a folder name inside the mpmissions directory.

Network Settings

Parameter Default Description
steamQueryPort27016Steam query port for server browser
guaranteedUpdates11 = guaranteed network updates
loginQueueConcurrentPlayers5Players processed simultaneously during login
loginQueueMaxPlayers500Maximum players in login queue

Logging Options

enableDebugMonitor = 0;       // Show debug info on screen
adminLogPlayerHitsOnly = 0;   // Log only player hits
adminLogPlacement = 0;        // Log base building placement
adminLogBuildActions = 0;     // Log build/dismantle actions
adminLogPlayerList = 0;       // Periodic player list logging

Additional logging is controlled via startup parameters like -adminlog and -netlog.

Mod Loading

Mods are not configured in serverDZ.cfg directly — they are loaded via the -mod= startup parameter. However, the verifySignatures setting affects mod validation:

verifySignatures = 2;  // Verify mod signatures (recommended for public servers)
// 0 = no verification (allows unsigned mods)
// 2 = full verification (rejects unsigned/modified mods)

Example Configuration

hostname = "My DayZ Server | 1PP | Modded";
password = "";
passwordAdmin = "MySecureAdminPassword";
maxPlayers = 60;

verifySignatures = 2;
forceSameBuild = 1;
guaranteedUpdates = 1;

disableThirdPerson = 1;
disablePersonalLight = 1;

serverTime = "2020/4/1/08/00";
serverTimeAcceleration = 4;
serverNightTimeAcceleration = 8;
serverTimePersistent = 0;

enableDebugMonitor = 0;
adminLogPlayerHitsOnly = 0;
adminLogPlacement = 0;
adminLogBuildActions = 0;
adminLogPlayerList = 0;

steamQueryPort = 27016;
loginQueueConcurrentPlayers = 5;
loginQueueMaxPlayers = 500;

instanceId = 1;
storageAutoFix = 1;
respawnTime = 5;

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