Skip to main content

How to Configure Your DayZ Server (serverDZ.cfg Explained)

The serverDZ.cfg file is the main configuration file for your DayZ server.
It controls core server behavior such as player limits, passwords, PvP rules, persistence, time acceleration, and more.

Most basic server settings can be adjusted here without installing any mods.

Where to Find serverDZ.cfg

The serverDZ.cfg file is located in the root directory of your DayZ server and can be edited directly from the Files tab in your panel.

dayz serverdz.cfg file outlined

Basic Server Settings

Below are the most common and useful settings found inside serverDZ.cfg.


Server Identity

hostname = "Your Server Name";
maxPlayers = 60;

  • hostname – The name shown in the DayZ server browser
  • maxPlayers – Maximum number of players allowed

Password Protection

password = "";
passwordAdmin = "";

  • password – Server join password (leave empty for public servers)
  • passwordAdmin – Admin login password (used in-game)

Voice Chat & Perspective Settings

disableVoN = 0;
disable3rdPerson = 0;
disableCrosshair = 0;

  • disableVoN – Disables voice chat if set to 1
    0 = Voice chat enabled
    1 = Voice chat disabled
  • disable3rdPerson – Forces first-person only
    0 = Third-person allowed
    1 = First-person only
  • disableCrosshair – Removes the crosshair for realism
    0 = Crosshair enabled
    1 = Crosshair disabled (more realism)

Whitelist

enableWhitelist = 0;

0 = Disabled
1 = Enabled

When enabled, only whitelisted players can join the server.


Time & Day/Night Cycle

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

serverTime

  • SystemTime uses the host machine’s local time
  • You can also set a fixed time using YYYY/MM/DD/HH/MM

serverTimeAcceleration

  • Controls how fast in-game time passes

serverNightTimeAcceleration

  • Controls night speed only

serverTimePersistent

  • 0 = Time resets on restart
  • 1 = Time persists across restarts

Persistence & Storage

instanceId = 1;
storageAutoFix = 1;

instanceId – Identifies the server instance and its persistence folders

storageAutoFix – Automatically repairs corrupted persistence files on startup


Map Selection (Mission)


Network & Query Settings

steamQueryPort = 60418;

steamQueryPort – Used by the server browser to query server information.

This is usually handled automatically by the panel and should not be changed unless required.


Optional: Enable cfggameplay.json Support

enableCfgGameplayFile = 1;

By default, DayZ does not load advanced gameplay configuration files.

Enabling this option allows the server to generate and use cfggameplay.json, which controls advanced gameplay mechanics such as stamina, shock damage, and other player systems.

DayZ Server Hosting

Starts at $14.99

External link icon

Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents