Open the events.xml from your mission's db folder, or start from Bohemia's vanilla file, and change vehicles, helicopter crashes, animals and infected event by event. Switch events on and off, scale a whole group at once and edit what each one spawns. Every field is explained and checked before you download.
| Spawns (type) | Min | Max | Loot min | Loot max | |
|---|---|---|---|---|---|
What events.xml controls
Loot comes from types.xml, but vehicles, helicopter crashes, police cars, animals and infected come from events.xml in the mission's db folder. Each event says how many should exist, how long they last and what spawns with them. Where a fixed event can appear is set in cfgeventspawns.xml, and objects that spawn together as one scene in cfgeventgroups.xml.
Every field explained
nominalNominal- How many the economy aims to keep spawned.
minMin- Fewest at once (counts when limit is parent or mixed).
maxMax- Most at once (counts when limit is parent or mixed).
lifetimeLifetime- In seconds.
restockRestock- Seconds to wait before spawning again (0 = no wait).
saferadiusSafe radius- Metres: never spawns this close to a player.
distanceradiusDistance- Metres between two spawns of this event.
cleanupradiusCleanup radius- Metres: not cleaned up while a player is this close.
positionPosition- fixed: the spots in cfgeventspawns.xml. player: near players. uniform: anywhere on the map.
limitLimit- Which min/max count: child (each child type), parent (the whole event), mixed (both) or custom.
activeActive- Off: the event does not spawn.
remove_damagedRemove damaged- Ruined spawns are removed.
childrenWhat it spawns- Each
<child>is one type the event can spawn, with its own min and max, and lootmin and lootmax for the loot spawned with it.
The full walkthrough is in the guide DayZ events.xml explained.
Edit events.xml on a Nitrado server
- Stop the server and open the file browser in the Nitrado web interface. Go to your mission's
dbfolder:dayzxb_missions/dayzOffline.chernarusplus/dbon Xbox,dayzps_missions/…on PlayStation. Livonia usesdayzOffline.enochand SakhaldayzOffline.sakhal. - Download
events.xmland keep an untouched copy. - Open it here and make your changes.
- Download the edited file, upload it over the old one and start the server.
On Xbox and PlayStation servers running Law's KillFeed, the dashboard's Server Files page opens, checks and uploads events.xml for you and keeps the last 15 versions of every file; its easy editor is on the paid plan.
Questions
How do I get more cars on my server?
Raise nominal on the vehicle events, or filter on Vehicles and use "Multiply nominal". Vehicles are fixed events, so they also need free positions in cfgeventspawns.xml: an event can't spawn more often than it has places to go. Restart after you upload.
How do I turn off helicopter crashes?
Untick Active on the helicopter crash event (StaticHeliCrash in the vanilla file), download the file, upload it and restart.
What do min and max mean on an event?
The fewest and most of the event at once. Whether they count for the whole event, each child type or both depends on limit: parent, child or mixed.
What are the children?
What the event spawns, such as each car model or the animals of a herd, with their own min, max and the loot spawned with them (lootmin and lootmax).
Is my events.xml uploaded anywhere?
No. The editor runs in your browser and your file never leaves your device. The vanilla buttons load Bohemia's file straight from their public GitHub repository.
Does this work for Xbox and PlayStation servers?
Yes. Console servers on Nitrado use the same events.xml format as PC. It is in the db folder of your mission.
More free tools
types.xml Editor
Search, edit and bulk-change the loot in your types.xml, with common mistakes flagged before you upload it.
types.xml Compare
Put two types.xml files side by side and see which items were added, removed or changed.
cfgspawnabletypes Generator
Pick the attachments, magazines and cargo an item spawns with, set chances or presets and merge them into your file.
cfggameplay.json Editor
Change base damage, stamina, building checks, hit indicators and map options with switches instead of JSON.
globals.xml Editor
Infected and animal caps, cleanup times, login timers and loot damage, with every value explained.
cfgweather.xml Editor
Set clouds, fog, rain, wind and lightning with sliders, or turn off fog and rain in one click.
Contaminated Zone Editor
See the gas zones in cfgEffectArea.json on the map, then add, move, resize or remove them.
messages.xml Generator
Build welcome messages, repeating notices and restart countdowns for your server and download the file.
Spawn Loadout Generator
Pick the starting clothes and items for fresh spawns and get a loadout file ready for cfggameplay.json.
Day & Night Calculator
Work out how long a day and a night last in real time from your server's time acceleration settings.
DayZ File Checker
Paste or open any DayZ XML or JSON file and find the exact line that would stop your server reading it.