Subscribe to the mods in Steam
Open the Steam Workshop for DayZ and subscribe to each mod you want. Read every mod's page for dependencies. Most mods need a framework such as Community Framework (CF), and the server won't start if one is missing. Subscribe to those too and let Steam finish downloading.
Then open the DayZ Launcher, go to the Mods tab, open a mod's menu and choose to open its folder. That shows you the @ModName folders on your PC.
Upload the mod folders to the server
Stop the server. Connect with an FTP client such as FileZilla using the FTP details from your host's panel. On Nitrado, upload each whole @ModName folder into the server's root folder (dayzstandalone), next to the keys and mpmissions folders. On other hosts it's the same folder that holds DayZServer_x64.exe.
If the folder on your PC is called by a long number instead of a name, that's the Workshop ID. Rename it to something simple like @CF before uploading, and use the same name everywhere after.
Copy every key into the keys folder
Each mod has a keys folder holding a .bikey file. Copy that file into the server's root keys folder. The server uses these keys to check that players have the exact same mod files. A missing key is the number one reason players get kicked from a new modded server.
Tell the server to load the mods
On Nitrado, open Settings, General, find the Additional Mods field and list your folders separated by semicolons. On other hosts, add them to the -mod launch parameter. Frameworks go first:
- Nitrado Additional Mods field: @CF;@CodeLock;
- Launch parameter: -mod=@CF;@CodeLock
- Folder names must match exactly, including capital letters and the @
Add server-only mods separately
Some mods only run on the server, such as certain admin, logging or script mods. Players don't need them, so their key doesn't go in the keys folder. Bohemia's launch option for these is -serverMod, which keeps them off the list players have to download. Nitrado's guide adds server-side mods to the end of the Additional Mods field instead. Follow the mod author's instructions.
Merge the mod's mission files
Many mods ship extra types.xml entries, events or settings files. These go into your mission folder, not the mod folder. Add new types to your existing types.xml rather than replacing the whole file, or register them in cfgeconomycore.xml if the mod tells you to. See how to add items to types.xml.
Keep the load order sensible
Mods load in the order you list them. Frameworks and libraries go first, then mods that depend on them, then everything else. If two mods change the same thing, the later one usually wins. When you add several mods at once and something breaks, remove them and add them back one at a time. It's slower but it tells you exactly which mod is at fault.
Start the server and test
Start the server and join it through the DayZ Launcher's community tab, which downloads the mods for you. If the server won't start, check the newest RPT log for the first error: it names the missing dependency or broken file. See server won't start after editing XML.
Remember to update mods when their authors do. A Workshop update changes the files and sometimes the key, and players on the new version will be kicked until the server matches.