Configure your DayZ server's core settings using the serverDZ.cfg file.
The serverDZ.cfg file is the main configuration file for your DayZ server. It controls:
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.
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; |
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";
};
};
Controls signature verification (0=off, 1=relaxed, 2=full)
Enables/disables BattlEye anti-cheat (0=off, 1=on)
Sets server time ("SystemTime" or "YYYY/MM/DD/HH/MM")
Time acceleration during daytime
Disables 3rd person view (0=enabled, 1=disabled)
Disables the in-game map (0=enabled, 1=disabled)
Disables voice over network (0=enabled, 1=disabled)
Voice codec quality (0-30, higher is better quality)
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)