Skip to content

DayZ: Server Configuration

Learn how to configure your DayZ game server's name, mission and map, time, perspective, mods, and admin password.

27 November 20267 min read5 Views0 helpful

Don't have your own server yet? Host your DayZ server with ZAP-Hosting from €9.99 / month.Or try 3 days from €1.80

Introduction

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.

How the configuration works

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.

Important

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 parameters at a glance

Startup parameterMeaning
Server nameYour server’s name in the server list. Default: ZAP-Hosting DayZ Server
Server descriptionA short description of your server in the server list. Default: Managed DayZ server
Max. playersHow many players can play on your server at the same time. Default: 60
Server passwordPassword required to join. Leave blank for an open server.
Mission templateThe mission, and therefore the map, your server loads. Default: dayzOffline.chernarusplus (Chernarus)
Enable whitelist1 = only players on the whitelist can join, 0 = disabled (default)
Verify signaturesChecks whether players are using only unmodified mod files. Default: 2; DayZ only supports this value
Enforce same version1 = only players using the same game version as the server can join (default), 0 = disabled
Disable voice chat1 = in-game voice chat is disabled, 0 = enabled (default)
Voice chat qualityVoice chat audio quality from 0 to 20; higher values require more bandwidth. Default: 20
Disable third-person view1 = first-person only, 0 = third-person allowed (default)
Hide crosshair1 = crosshair hidden for all players, 0 = visible (default)
Personal light off1 = no faint light around the player character at night (default), 0 = light enabled
Night brightness0 = brighter nights, 1 = dark, realistic nights (default)
Server timeIn-game time when the server starts. Default: SystemTime, which uses the actual time
Time accelerationHow much faster in-game time passes compared to real time. Default: 12
Night time accelerationThe factor by which time acceleration is additionally multiplied at night. Default: 1
Keep playtime1 = in-game time continues after a restart (default), 0 = it starts over
Concurrent loginsHow many players can log in to the server at the same time. Default: 5
Max. queue sizeThe maximum number of players who can wait in the login queue. Default: 500
Repair save data1 = your server attempts to repair corrupted world storage files at startup (default), 0 = disabled
ModsMods loaded by the server and players, for example @CF;@VPPAdminTools
Server modsMods loaded only by the server. Players don’t need them
CPU coresHow many CPU cores the server can use. Leave blank to let DayZ decide
Additional startup parametersAdditional DayZ startup parameters that your server appends at startup
Warning

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.

Choose a map and mission

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 templateMap
dayzOffline.chernarusplusChernarus (default)
dayzOffline.enochLivonia

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.

Info

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.

Day, night, and time

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.

Tip

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.

Mods and additional startup parameters

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.

Info

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.

Admin password and RCON

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:

Code
#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.

Important

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.

More settings in serverDZ.cfg

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.

Warning

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.

Conclusion

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! 🙂

Free tools

DayZ Tools

View all

FAQ

Frequently asked questions

Go to the Configuration tab and open Startup parameters. There you can set the server name, description, password, max. players, mission template, whitelist, perspective, crosshair, voice chat, time, time acceleration, and mods. Add any other DayZ settings directly to serverDZ.cfg in the config folder.
At every startup, your server writes the startup parameter values to serverDZ.cfg, such as hostname, maxPlayers, or template. Change these values in Startup parameters instead. Your server keeps custom settings such as respawnTime or motd[].
Set Mission template to dayzOffline.chernarusplus for Chernarus or dayzOffline.enoch for Livonia, then restart the server. Each mission has its own save: after switching, you’ll play in a different world, while the previous one remains in its folder under mpmissions.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.