Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

01

How a DayZ server loads mods

A DayZ mod is a folder containing at least an addons subfolder (the .pbo files and their .bisign signatures) and, most of the time, a keys subfolder with the author's public key (.bikey). The server does not look for mods on its own: it loads the folders you give it at launch.

  • -mod=: mods that players must have too. The server announces them to players.
  • -serverMod=: mods that run only on the server and are not announced to players.
  • The server's keys folder: it holds each mod's key. With verifySignatures = 2 in serverDZ.cfg, the only supported value according to the official wiki, the server checks players' files against these keys.

If your server is not installed yet, start with the guide create a DayZ server on a VPS: the examples below follow its setup, with the server in /home/dayz/serveur and the dayz user.

02

Download mods with SteamCMD

Workshop mods are downloaded with the same tool as the server, SteamCMD, under the game ID 221100 followed by the mod's number (the number at the end of its Workshop page address). You need a Steam account that owns DayZ: anonymous login does not work. The official wiki example installs Community Framework (CF) and Community Online Tools (COT):

sudo systemctl stop dayz-server
sudo -iu dayz
~/steamcmd/steamcmd.sh +force_install_dir /home/dayz/serveur +login votre_compte +app_update 223350 +workshop_download_item 221100 1559212036 +workshop_download_item 221100 1564026768 +quit

Mods land in steamapps/workshop/content/221100/, one folder per number. To keep track of them, many admins link them at the server root as @ModName. The name does not matter to the server as long as it matches the one in -mod; just avoid spaces.

cd /home/dayz/serveur
ln -s /home/dayz/serveur/steamapps/workshop/content/221100/1559212036 @CF
ln -s /home/dayz/serveur/steamapps/workshop/content/221100/1564026768 @COT

A symbolic link has one advantage: after SteamCMD updates the mod, @CF already points to the new version.

On Windows, the SteamCMD command is the same with steamcmd.exe; mods land in C:\DayZServer\steamapps\workshop\content\221100\. Copy each folder to the server root as @CF, @COT, and copy it again after every update.

03

Copy the .bikey keys

Each mod ships its key in its keys subfolder (sometimes Keys: on Linux, case matters). Copy it into the server's keys folder:

cp /home/dayz/serveur/@CF/keys/*.bikey /home/dayz/serveur/keys/
cp /home/dayz/serveur/@COT/keys/*.bikey /home/dayz/serveur/keys/

Without the key, a player who does have the right mod is refused at connection, because the server cannot check their files. A few precautions:

  • some mods share their author's key: one copy is enough;
  • an author can change keys in an update: copy the keys again after every mod update;
  • remove the key of a mod you uninstall, so the server no longer accepts its files.
04

The -mod and -serverMod parameters, and load order

Folders go in -mod, separated by semicolons, the whole thing in quotes. In the systemd service from the installation guide, the line becomes:

ExecStart=/home/dayz/serveur/DayZServer -config=serverDZ.cfg -port=2302 "-mod=@CF;@COT;" -BEpath=battleye -profiles=profiles -dologs -adminlog -netlog -freezecheck
sudo systemctl daemon-reload
sudo systemctl start dayz-server

On Windows, the same option goes in the .bat file that starts DayZServer_x64.exe. The official wiki notes that -mod and -serverMod also accept absolute paths.

  • Order: a mod that uses another one goes after it. Community Framework comes before Community Online Tools, which depends on it. Each mod's Workshop page lists its dependencies (the "Required items").
  • Server-side mods: a mod whose page says it is installed on the server only goes in "-serverMod=@MyMod;". Players do not need to download it.
  • Mission files: many mods add items that must be declared in types.xml to appear on the map. The method is in the guide tune loot with types.xml.

Add mods one at a time and restart after each one: if the server refuses to start, you know which one is to blame. Errors are written to the .RPT logs in the profiles folder.

05

Players and updates

Players need the same mods, in the same versions, as those in -mod. The easiest way for them is the DayZ Launcher, the game's official launcher: a modded server shows its mod list there, and the launcher offers to download them before connecting. You can also publish a Steam Workshop collection with your mods and share it on your Discord.

Updates. Steam updates players' mods on its own. If the server keeps the old version, players may be refused or run into errors. So update the server as soon as one of your mods changes:

sudo systemctl stop dayz-server
sudo -iu dayz /home/dayz/steamcmd/steamcmd.sh +force_install_dir /home/dayz/serveur +login votre_compte +app_update 223350 +workshop_download_item 221100 1559212036 +workshop_download_item 221100 1564026768 +quit
sudo -u dayz cp /home/dayz/serveur/@CF/keys/*.bikey /home/dayz/serveur/@COT/keys/*.bikey /home/dayz/serveur/keys/
sudo systemctl start dayz-server

The official wiki suggests putting this kind of script in the service's ExecStartPre, to update the server and its mods on every restart. Back up the mission before adding or removing a mod that affects bases or items: removing one can wipe out whatever depended on it.

On Linux, a mod built and tested only on Windows may load badly. Test it on its own before opening the server, and read its Workshop page.

06

On a CloudFive VPS

CloudFive has no ready-made DayZ plan: the server and its mods are installed on a VPS, as in this guide. The official server exists for Linux and for Windows, and both work.

  • the Ryzen VPS, from €5.99 per month, runs on an AMD Ryzen 9 9950X with DDR5 memory and NVMe storage: a fast core for the server loop, and room for mods;
  • the Windows VPS, Windows Server licence included, if you prefer to manage the server over Remote Desktop (see a game server on a Windows VPS);
  • root or administrator access, a dedicated IPv4 address and basic anti-DDoS protection included. The game-specific filter is part of Premium Protection, a paid option (see protect a game server from DDoS attacks).

Servers are in France, on our own network, monthly with no commitment, with French-speaking support 7 days a week. More mods need more memory: the guide which VPS for a game server helps you choose, and the gaming VPS page lists the plans.

07

Frequently asked questions

How do I install a mod on a DayZ server?

Download it with SteamCMD (+workshop_download_item 221100 followed by the mod's number), copy its .bikey key into the server's keys folder, then add its folder to the -mod parameter of the launch line, in quotes. Then restart the server.

What is the difference between -mod and -serverMod in DayZ?

Mods in -mod are announced to players, who must have them too. Mods in -serverMod run only on the server and are not sent to players. A mod's Workshop page says whether it is installed on the server only.

Why are players refused on my modded DayZ server?

Most often, a mod's .bikey key is missing from the server's keys folder, or the server does not have the same version of a mod as the players. Copy the keys again and update the server's mods with SteamCMD.

In what order should DayZ mods be loaded?

A mod that depends on another goes after it in -mod: Community Framework, for example, comes before the mods that use it. Dependencies are listed on each mod's Workshop page.

How do players get my DayZ server's mods?

Through the DayZ Launcher, which shows a server's mods and offers to download them before connecting. You can also share a Steam Workshop collection that groups your mods.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay