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
serverDZ.cfg
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.
The map is a folder
template does not just name the map; it points at a mission folder, mpmissions/dayzOffline.chernarusplus for Chernarus. That folder holds everything about the world: the central economy files in db, with types.xml the one most people edit, and the persistence data in storage_1. Switching template starts the server on a different mission folder entirely, with its own economy and its own save.
Admins and mods
passwordAdmin is the password typed in game with #login to get admin rights; BattlEye's remote console uses a separate password in BEServer_x64.cfg, and the two should differ. Mods are not set in this file at all. They are loaded from the launch line with -mod= for mods players also need and -serverMod= for server-only ones, and installing the server itself through SteamCMD needs a Steam account that owns DayZ.