Advertisement

Generate a DayZ serverDZ.cfg

DayZ's serverDZ.cfg uses the Arma config syntax, where every line ends in a semicolon and the map is chosen inside a nested class block rather than by a normal setting.

Visual Settings

arma cfg Format
Identity

Server name in the browser.

Description in the browser. One line only.

Gameplay

Turns in-game voice chat off.

Voice quality, 0 to 30. Higher sounds better and uses more bandwidth.

First-person only.

Removes the crosshair.

Removes the faint light around each player at night.

0 for brighter nights, 1 for darker nights.

World

The map: chernarusplus is Chernarus, enoch is Livonia, sakhal is Sakhal. Livonia and Sakhal need the DLC on the players' side.

Starting in-game time. SystemTime uses the machine's clock; otherwise a date in YYYY/MM/DD/HH/MM form.

How much faster than real time the day passes. At 12, a full day takes two hours.

Extra speed-up at night, multiplied by the value above. 4 with an acceleration of 12 makes nights pass 48 times faster than real time.

Saves the in-game time, so a restart carries on where it left off.

Players & Access

Join password. Empty means public.

Slot limit.

Only players listed in whitelist.txt can connect.

Performance

Players processed at once while logging in. Keeps a crowd joining after a restart from stalling the server.

The longest the login queue can get before new connections are turned away.

Network

Network protocol setting. 1 is the only valid value.

RCON & Query

Used with #login in the in-game chat to become admin.

Checks client files against their signatures. 2 is the only supported value.

Only lets in clients on exactly the server's version.

Identifies this server instance and its storage folder. Give each server on one machine its own.

Replaces corrupted persistence files with empty ones instead of refusing to start.

serverDZ.cfg

hostname = "My DayZ Server";
password = "";
passwordAdmin = "";
description = "";
maxPlayers = 60;
enableWhitelist = 0;
verifySignatures = 2;
forceSameBuild = 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;

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

Advertisement

The serverDZ.cfg format

Each setting is key = value; with text in double quotes and numbers bare. Switches are 0 and 1, not true and false. The map is not a key at the top of the file: it is template = "dayzOffline.chernarusplus"; inside class Missions { class DayZ { ... }; }; — chernarusplus for Chernarus, enoch for Livonia, sakhal for Sakhal.

Advertisement

The mistake that wastes an evening

A single missing semicolon can stop the server from starting, or leave it running on default values with no clear error. The other is time: serverTimeAcceleration is a multiplier on real time, and serverNightTimeAcceleration multiplies that again, so modest-looking numbers can make nights flash by in minutes.

Rather not run the server yourself?

These tools are free and funded by the two hosting services we run. If you want a server that is already set up, here they are.

Advertisement