Wandering Bot logo Wandering Bot
Log in AI Agent

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 6 reviews
One of the bests Xbox 5/5 · Dashboard & App - LAST DAY / Z • 10× BOOST by Last Day Z / Owner
sience i start using wandering bot i was wondering if it will suit my request , well after a while it its not just suit my needs and also alert me when something its going wrong and helps me indentifie the problem and solve it , also a very responsive bot with a best commands , i also want to say its way more Exclusive than many premium bots that are on the market , I recommand for all owners to have it in their server , Give it a chance and you will be amazed what my Wandering Boy can do <3
Wandering Bot PC 5/5 · Dashboard & App - JurassicZ DayZ by DEATH
This bot is actually amazing, i was struggling with it at first, but Wandering Guy was massively helpful with EVERYTHING. I recommend this bot and service to anyone and everyone!!