Wandering Bot logo Wandering Bot
Log in Wandering tools

Field guide / 03

DayZ server files explained: XML and JSON

DayZ server files control different parts of your server: types.xml sets loot economy values, event files define event spawns, and cfgGameplay.json can reference supported custom objects. Use this guide to find the right file and check the links between them.

A valid file is only the first check. Map, classnames, dependencies and in-game behaviour matter too.

Quick reference

Which file does what?

db/types.xml

Item economy: quantities, lifetime and eligible loot rules.

Check category, usage and tier values against the mission.

db/events.xml

The event definition: what can spawn and how the event behaves.

The event name must match cfgeventspawns.xml.

cfgeventspawns.xml

Positions belonging to named events.

A position entry alone does not define the event.

cfgspawnabletypes.xml

Attachments, cargo and other supported spawn presets.

Referenced item classnames must exist on the server.

cfggameplay.json + custom/*.json

Gameplay settings and registered ObjectSpawner scenes.

Keep the exact path in WorldsData.objectSpawnersArr.

cfgweather.xml

Weather settings for missions using this configuration.

Check which weather system is active before changing it.
01

Start with the correct mission and map

Every edit belongs to a specific DayZ mission, map and game version. Keep a clean copy of the live file before changing it, and do not copy a PC mod configuration to a console server unless you have checked that the file and feature are supported there.

02

Loot files work as a chain

types.xml defines item economy values and loot rules. cfgspawnabletypes.xml can add attachments, cargo and damage rules. Categories and usages must agree with the building data and limits definitions, otherwise an item may look valid but never be eligible to spawn where you expect.

03

Event names must match for fixed positions

db/events.xml defines what an event can spawn and how it behaves. For an event using fixed positions, cfgeventspawns.xml assigns coordinates to that same event name. A spelling difference breaks the connection. Not every event uses fixed positions: secondary infected guards and animal territory systems use their own placement rules. Check the event type before adding a coordinate block.

db/events.xml
<event name="StaticExample">
    … event settings and children …
</event>
cfgeventspawns.xml
<event name="StaticExample">
    … verified spawn positions …
</event>

Name-matching illustration only—not complete XML and not a file to upload.

04

Gameplay, custom JSON and weather

cfgGameplay.json can reference custom JSON files, including object spawners and supported world features. The file path, filename and JSON syntax must match exactly. Weather can be controlled with cfgweather.xml or scripting, so check which approach the mission already uses before adding a second weather system.

05

Validate before upload

One misplaced XML tag, missing quote or trailing JSON comma can stop a file from loading. Validate the exact final file, review the changed block against the correct vanilla map version, then upload only to the intended mission folder. After a restart, read server logs and confirm the expected event, loot or object actually loaded.

06

Use an AI assistant carefully

A useful DayZ assistant should explain the file relationship, generate a complete file or exact insert, validate the result, and warn when it needs a current vanilla reference or a mod author’s schema. It should not pretend an unknown mod file is vanilla or guess a class name that has not been checked.

Guide updated 2026-10-11. Bohemia Central Economy documentation ↗ · Object Spawner documentation ↗

Your next step

Have a file ready to check?

Use the free validator for a first pass. Keep a backup and review dependencies before any live upload.

Questions Server Owners Ask

Which DayZ file controls loot?types.xml is the main Central Loot Economy item table. It works alongside building loot definitions, category and usage rules, and cfgspawnabletypes.xml when you want item attachments or cargo.
Why is my custom event not spawning?First check that the event name matches exactly between events.xml and cfgeventspawns.xml, then validate both files, confirm the child class name exists, and check server logs after restart.
Where do custom JSON object files go?Use the custom mission folder and reference the exact relative path from cfgGameplay.json where that feature uses objectSpawnersArr or another supported file list. Keep the file name, extension and quotes identical.
Can one XML or JSON mistake break a DayZ server file?Yes. XML and JSON are strict formats. Always validate the completed file and keep a known-good backup before replacing a live mission file.

Latest Reviews

Live feedback from logged-in DayZ server dashboards.
5.0/5 from 10 reviews
Outstanding tools, exceptional support and Russian localization! PlayStation 5/5 · Dashboard & App - The Last Russian Frontier - Sakhal by BQDKA / The Last Russian Frontier
We are The Last Russian Frontier, a Russian-speaking PvE DayZ community on PlayStation. Wandering helped us successfully relaunch our server. Player registration, PSN linking, automatic role assignment and whitelist management work without a server restart. The developer's support is exceptional! Following our feedback, Russian localization was added to the registration system, online boards, leaderboards and even Wandering Atlas. Wandering is more than just a Discord bot. It's a powerful, constantly evolving platform backed by a developer who genuinely cares about his customers. Highly recommended to all DayZ server owners, especially Russian-speaking communities. Five stars without hesitation! With respect from Russia, The Last Russian Frontier
Bot hasznalat es hiba megoldas! PlayStation 5/5 · Dashboard & App - ⚜️Sand Of Bandlands Hungary⚜️
🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺🇭🇺 💙 A huge thank you to the creator of Wandering Bot! 💙 I reached out with a serious issue, and he responded almost immediately. He kept me updated throughout the entire troubleshooting process and successfully resolved the problem! But he went even further! He noticed that I'm Hungarian and even made it possible for me to use the bot in my native language! 🇭🇺💙 I highly recommend Wandering Bot to everyone! Not only is the bot itself fantastic, but you can also genuinely rely on the developer and the technical support behind it, whether you run into a problem or want to explore all the amazing features it offers. And judging by how much the bot has already improved and how actively it's being developed, I'm confident there are even more great features to come! Give Wandering Bot a try! You won't regret it! 💙 Huge respect and thanks again for the incredible work and dedication! 🙏💙