With the right configuration, you can turn your DayZ server into exactly the kind of server you have in mind: with a custom name, the right map, first-person only or third-person, dark nights, or a fast day-night cycle. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what else you can adjust directly in serverDZ.cfg.
DayZ reads its server settings from the serverDZ.cfg file in the config folder. You don’t have to change the most important values manually, though: you can find them in ZapX under the Configuration tab, in Startup parameters.
Each time your server starts, it writes the values from the startup parameters to the corresponding lines in serverDZ.cfg. All other lines, such as custom settings like respawnTime or a message of the day (motd[]), remain unchanged. You can find the file under the config folder in the Files tab.
Always change values that are available as startup parameters in Startup parameters, not directly in serverDZ.cfg. Any changes made in the file will be overwritten with the startup parameter value the next time the server starts.
After you save your changes, ZapX will offer to restart the server. Your changes will only take effect after the restart.
| Startup parameter | Meaning |
|---|---|
| Server name | Your server’s name in the server list. Default: ZAP-Hosting DayZ Server |
| Server description | A short description of your server in the server list. Default: Managed DayZ server |
| Max. players | How many players can play on your server at the same time. Default: 60 |
| Server password | Password required to join. Leave blank for an open server. |
| Mission template | The mission, and therefore the map, your server loads. Default: dayzOffline.chernarusplus (Chernarus) |
| Enable whitelist | 1 = only players on the whitelist can join, 0 = disabled (default) |
| Verify signatures | Checks whether players are using only unmodified mod files. Default: 2; DayZ only supports this value |
| Enforce same version | 1 = only players using the same game version as the server can join (default), 0 = disabled |
| Disable voice chat | 1 = in-game voice chat is disabled, 0 = enabled (default) |
| Voice chat quality | Voice chat audio quality from 0 to 20; higher values require more bandwidth. Default: 20 |
| Disable third-person view | 1 = first-person only, 0 = third-person allowed (default) |
| Hide crosshair | 1 = crosshair hidden for all players, 0 = visible (default) |
| Personal light off | 1 = no faint light around the player character at night (default), 0 = light enabled |
| Night brightness | 0 = brighter nights, 1 = dark, realistic nights (default) |
| Server time | In-game time when the server starts. Default: SystemTime, which uses the actual time |
| Time acceleration | How much faster in-game time passes compared to real time. Default: 12 |
| Night time acceleration | The factor by which time acceleration is additionally multiplied at night. Default: 1 |
| Keep playtime | 1 = in-game time continues after a restart (default), 0 = it starts over |
| Concurrent logins | How many players can log in to the server at the same time. Default: 5 |
| Max. queue size | The maximum number of players who can wait in the login queue. Default: 500 |
| Repair save data | 1 = your server attempts to repair corrupted world storage files at startup (default), 0 = disabled |
| Mods | Mods loaded by the server and players, for example @CF;@VPPAdminTools |
| Server mods | Mods loaded only by the server. Players don’t need them |
| CPU cores | How many CPU cores the server can use. Leave blank to let DayZ decide |
| Additional startup parameters | Additional DayZ startup parameters that your server appends at startup |
Enter whole numbers in number fields. The panel will reject decimal numbers when you save. Decimals such as 0.5 are allowed only for Time acceleration and Night time acceleration; use a period instead of a comma.
DayZ loads a mission at startup. The mission determines the map and includes the files for loot and the economy, such as db/types.xml. Choose the mission in the Mission template field:
| Mission template | Map |
|---|---|
dayzOffline.chernarusplus | Chernarus (default) |
dayzOffline.enoch | Livonia |
All missions are in the mpmissions folder under the Files tab, each in its own folder. If the folder for your chosen mission isn’t there, your server creates it at startup from the supplied missions. To use a custom mission, such as one for a modded map, upload it as a folder to mpmissions and enter that exact folder name in Mission template. If the mission is neither in mpmissions nor among the supplied missions, your server won’t start.
The save data for bases, vehicles, and loot is always tied to a mission. It’s stored in the mission folder under storage_1, so with the default configuration it’s in mpmissions/dayzOffline.chernarusplus/storage_1. If you switch missions, you’ll start in a different world. The old world remains in its folder and will be available again when you switch back. See Manage save games to learn how to back up and upload save games.
Use Time acceleration to set how much faster in-game time passes compared to real time. With the default value of 12, a full in-game day lasts two hours. Night time acceleration is multiplied by the time acceleration at night: with 12 during the day and 1 at night, nights pass 12 times faster than real time; with 2 at night, they pass 24 times faster. Values from 0.1 to 64 are allowed for both settings, including decimals with a period, such as 2.5. With 0.5, in-game time passes half as fast as real time.
For Server time, SystemTime uses the actual time. If Keep playtime is enabled, in-game time simply continues after a restart. Use Night brightness and Personal light off to control how dark nights are.
Expecting lots of players at once? Use Concurrent logins and Max. queue size to set how many players can log in at the same time and how many can wait in the queue. On full servers, keep an eye on usage in the Statistics tab.
The easiest way to install Steam Workshop mods is through your server’s Workshop, as described in Install mods. Your server downloads them at startup and loads them in addition to any entries under Mods. You don’t need to add them there again.
Put mods you upload yourself in the mods folder as folders whose names start with @, for example mods/@MyMod. Then add them under Mods, separating multiple mods with semicolons, for example @CF;@MyMod. Add mods that are only needed by the server under Server mods instead.
Each time your server starts, it copies mod keys (.bikey) from the keys subfolder of each mod into the keys folder. It removes any keys you put directly in the keys folder manually. So leave the keys in the mod folder.
Use Additional startup parameters to enter other DayZ startup parameters that don’t have their own field. Separate multiple parameters with spaces. You can’t pass values that contain spaces here. Your server sets -config, -port, -profiles, and -BEpath automatically. There are separate fields above for -mod, -servermod, and -cpuCount, so don’t enter them here again.
Your server generates the admin password and RCON password randomly at first startup. It saves both in config/managed-secrets.env (ADMIN_PASSWORD and RCON_PASSWORD) and adds them to the configuration at each startup: the admin password as passwordAdmin in serverDZ.cfg, and the RCON password in the BattlEye configuration in the battleye folder.
Use the admin password to log in as an admin through the in-game chat:
#login <password>
To set your own password, replace the value after ADMIN_PASSWORD= or RCON_PASSWORD= in config/managed-secrets.env and restart your server. Keep the single quotes around the password, and use letters and numbers only if possible.
Don’t change passwordAdmin in serverDZ.cfg. Your server overwrites it at every startup with the password from managed-secrets.env.
Find more admin commands in Become an admin. See RCON to learn how to connect using an RCON program. You can find the RCON port in your server’s Overview.
Your server overwrites these values at every startup, so manually changing them won’t help: all values from the startup parameters (hostname, password, description, maxPlayers, enableWhitelist, verifySignatures, forceSameBuild, disableVoN, vonCodecQuality, disable3rdPerson, disableCrosshair, disablePersonalLight, lightingConfig, serverTime, serverTimeAcceleration, serverNightTimeAcceleration, serverTimePersistent, loginQueueConcurrentPlayers, loginQueueMaxPlayers, storageAutoFix, and template in the class Missions block), as well as passwordAdmin, shardId, instanceId, guaranteedUpdates, steamQueryPort, and BattlEye.
You can freely add all other DayZ settings anywhere in the file, for example respawnTime, a message of the day using motd[], or enableCfgGameplayFile. Your server keeps these settings each time it starts.
If serverDZ.cfg can no longer be read after a change, for example because a closing brace is missing, your server moves it aside at the next startup as serverDZ.cfg.invalid-<timestamp> and starts with a new file. You can find your changes in that file in the config folder.
Enable the whitelist using the Enable whitelist startup parameter, not in the file. See Whitelist to learn how to add players to the whitelist.
Your DayZ server is now set up just the way you want it. See Become an admin to learn how to give yourself admin rights. If something isn’t working as expected, our guide to Common issues can help. If you have any other questions, our support team is available every day! 🙂