Name, passwords and who can join
These are the lines most owners change first.
- hostname: the name in the server browser. Put the words people search for first.
- password: leave empty for an open server, or set one for a private server.
passwordAdmin: the admin password used on PC with #login in chat. Console has no admin login.enableWhitelist: 1 only lets in players on the whitelist. See whitelisting.maxPlayers: the player limit. On Nitrado it matches your slots. See how many slots you need.
Voice, view and crosshair
These shape how the server plays more than almost anything else in the file.
disableVoN: 1 turns in-game voice chat off.vonCodecQuality: voice quality from 1 to 30. Nitrado's default is 7.- disable3rdPerson: 1 makes the server first person only.
disableCrosshair: 1 removes the crosshair.disablePersonalLight: 1 removes the faint light every player carries at night.lightingConfig: how dark nights are. Nitrado exposes this as the Night-Lighting dropdown.
Time and day length
serverTime sets the starting time. "SystemTime" uses the machine's clock, or you can pin a date and time in YYYY/MM/DD/HH/MM format. serverTimeAcceleration speeds up the whole day, and serverNightTimeAcceleration speeds up nights on top of that. serverTimePersistent, when 1, saves the time so a restart carries on where it left off.
Changing these by feel is guesswork. The day and night calculator shows how many real minutes each part of the day lasts before you touch the file, and day and night length explains the maths.
Login queue and persistence
loginQueueConcurrentPlayers sets how many players are let in at once (5 by default) and loginQueueMaxPlayers how many can wait (500). The defaults stop lag spikes after a restart, so leave them unless you have a reason.
instanceId names the storage folder that holds the server's saved world. storeHouseStateDisabled turns off door and house persistence, and storageAutoFix replaces corrupted persistence files with empty ones. DayZ saves the world by default, so none of these turn saving on. They exist for fixing problems.
Admin logs
The admin log (the ADM file) records kills, hits, building and connections. These lines decide how much goes in it: adminLogPlayerHitsOnly limits hit logging to damage from players, adminLogPlacement logs traps and tents being placed, adminLogBuildActions logs building and dismantling, and adminLogPlayerList writes a list of players with positions every five minutes.
Damage, respawn and cfggameplay
Further down sit switches such as disableBaseDamage, disableContainerDamage, disableRespawnDialog and disableRespawnInUnconsciousness. Then enableCfgGameplayFile, which switches on cfggameplay.json. Once that's on, the gameplay file's own values win for base damage, container damage, the respawn dialog, personal light and lighting, so set those in cfggameplay.json instead. See cfggameplay.json explained.
The mission line
The block at the bottom, class Missions with a template inside, decides the map. dayzOffline.chernarusplus is Chernarus, dayzOffline.enoch is Livonia and dayzOffline.sakhal is Sakhal. On Nitrado, use the Mission dropdown rather than editing it. See how to change the map.
Settings to leave alone
Some lines are set by the host or only matter in unusual cases: steamQueryPort and the game ports, verifySignatures (only 2 is supported), forceSameBuild, and the network range and batch settings. Changing ports on a rented server usually makes it vanish from the browser. If you're not sure what a line does, leave it at the host's value.
PC launch options
On PC, serverDZ.cfg is loaded with the -config launch option. Other options you'll see are -port for the game port, -profiles for where logs and BattlEye files go, -mod and -serverMod for mods, -doLogs and -adminLog for logging, and -limitFPS to cap server frame rate. Hosts usually set these for you.