Wiki Navigation

serverDZ.cfg Configuration

Configure your DayZ server's core settings using the serverDZ.cfg file.

Overview

The serverDZ.cfg file is the main configuration file for your DayZ server. It controls:

  • Server name, password, and basic connection settings
  • Player limits, respawn settings, and gameplay rules
  • Performance settings, logging, and administrative controls
  • Mod configuration and server-side settings

File Location

The serverDZ.cfg file is typically located in your DayZ server's root directory:

C:\Program Files (x86)\Steam\steamapps\common\DayZServer\serverDZ.cfg

This file must be properly configured before starting your server. If the file doesn't exist, you'll need to create it.

Basic Configuration

Here are the essential settings you'll need to configure:

Parameter Description Example
hostname The name of your server as it appears in the server browser hostname = "My DayZ Server";
password Server password (leave empty for no password) password = "secretpassword";
passwordAdmin Password for admin access passwordAdmin = "adminpassword";
maxPlayers Maximum number of players allowed on the server maxPlayers = 60;

Example Configuration

hostname = "My DayZ Server";
password = "";
passwordAdmin = "adminpassword";
maxPlayers = 60;
verifySignatures = 2;
forceSameBuild = 1;
disableCrosshair = 0;
disablePersonalLight = 1;
guaranteedUpdates = 1;
loginQueueConcurrentPlayers = 5;
loginQueueMaxPlayers = 500;
instanceId = 1;
steamQueryPort = 2303;
steamPort = 2304;
port = 2302;
disableVoN = 0;
vonCodecQuality = 20;
disable3rdPerson = 0;
disableMap = 0;
serverTime = "SystemTime";
serverTimeAcceleration = 1;
serverNightTimeAcceleration = 4;
serverTimePersistent = 0;
enableWhitelist = 0;
respawnTime = 5;
motd[] = {
    "Welcome to My DayZ Server",
    "Enjoy your stay!"
};
motdInterval = 1;
timeStampFormat = "Short";
logFile = "server_console.log";
adminLogFile = "admin_console.log";
BattlEye = 1;
storeHouseStateDisabled = false;
storageAutoFix = 1;

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

Advanced Settings

Security Settings

verifySignatures integer

Controls signature verification (0=off, 1=relaxed, 2=full)

BattlEye integer

Enables/disables BattlEye anti-cheat (0=off, 1=on)

Time Settings

serverTime string

Sets server time ("SystemTime" or "YYYY/MM/DD/HH/MM")

serverTimeAcceleration float

Time acceleration during daytime

Gameplay Settings

Player Experience

disable3rdPerson integer

Disables 3rd person view (0=enabled, 1=disabled)

disableMap integer

Disables the in-game map (0=enabled, 1=disabled)

Voice Settings

disableVoN integer

Disables voice over network (0=enabled, 1=disabled)

vonCodecQuality integer

Voice codec quality (0-30, higher is better quality)

Mission Configuration

The Missions class defines which map and mission file your server will use:

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

Common map templates include:

  • dayzOffline.chernarusplus - Chernarus (default map)
  • dayzOffline.enoch - Livonia (DLC map)
  • dayzOffline.namalsk - Namalsk (mod map)
  • dayzOffline.esseker - Esseker (mod map)

Configuration Tips

  • Always back up your configuration files before making changes
  • Test your server after each significant configuration change
  • Use a strong passwordAdmin that is different from your server password
  • Set appropriate time acceleration values based on your server's gameplay style
  • Consider your target audience when configuring gameplay settings like 3rd person view