Step-by-step guide · 6 steps

How to add more cars to a DayZ server

Vehicles are rare on a default DayZ server, and a missing wheel can keep one off the road for days. More cars makes a server feel busier and helps groups move around a big map. Cars are events, so the change is in events.xml, not types.xml.

  • 3 min read
  • Updated
  • PlayStation, Xbox and PC
db/events.xmlExample
<event name="VehicleOffroadHatchback">    <nominal>12</nominal>    <min>8</min>    <max>16</max>    <lifetime>300</lifetime>    <restock>0</restock>    <active>1</active></event>
Step 1

Open events.xml

Download events.xml from your mission's db folder and keep a copy. On Nitrado that's mpmissions, your map's mission folder, then db. Each vehicle has its own event, such as VehicleCivilianSedan, VehicleHatchback02, VehicleSedan02, VehicleOffroadHatchback or VehicleTruck01. Boats and newer vehicles have events of their own too.

If you're new to the file, events.xml explained covers what every value means.

Step 2

Raise nominal, min and max

For each vehicle, raise nominal to the number you want on the map, and raise max with it so the count can actually reach it. Raise min too, so the economy replaces cars that get destroyed.

Spawn positions are limited, so very high numbers stop helping once every spot is used.

  • Nominal: how many of that car the economy aims to keep on the map
  • Min: below this, replacements start spawning
  • Max: the hard ceiling, so keep it at or above nominal
  • Restock: the wait in seconds before a replacement may spawn
Step 3

Check there are enough spawn positions

Where each car can appear is listed in cfgeventspawns.xml, under the same event name. If a car has 10 positions and you set nominal to 20, you still get 10. Doubling the defaults usually stays inside the positions a map already has, which is why it's a popular first step.

Adding positions means giving map coordinates, so check them on a map tool first. A car spawned inside a wall or on a slope tends to be ruined before anyone finds it.

Step 4

Clear away wrecks

Each vehicle event has a flags line. With remove_damaged switched on, ruined cars are cleared away so the economy can replace them. Without it, wrecks keep counting towards the total and new cars stop appearing.

Step 5

Make the parts easier to find

Cars are only useful with wheels, spark plugs and batteries. Raise those in types.xml too, or players will find plenty of cars they can't drive.

  • Wheels for each model, plus spare tyre repair kits
  • Spark plugs for cars and glow plugs for trucks
  • Car and truck batteries, radiators and headlight bulbs
Step 6

Upload and restart

Check the file with the XML validator, upload it and restart. New cars appear as the economy fills the positions, so give it a restart or two before judging the numbers.

Watch performance on a busy evening. Every vehicle is something the server has to track, and dozens of extra cars on a small map can add up.

Tools for this

Common questions

Why do cars disappear on my DayZ server?

A car can despawn if it's ruined, or if it has been left with no players nearby for a long time. Keeping cars in a base and repairing them helps.

How many cars should a DayZ server have?

It depends on the map and player count. Doubling the defaults is a popular starting point for community servers.

I raised nominal but no new cars appeared. Why?

Either max is still lower than nominal, the car has run out of spawn positions in cfgeventspawns.xml, or wrecks are still counting towards the total because remove_damaged is off.

Do I need to wipe the server for more cars?

No. Upload the new events.xml and restart. Existing cars stay, and new ones spawn as the economy tops up the count.

Does this work on PS5 and Xbox?

Yes. events.xml is part of the base game, so it works on every Nitrado DayZ server.

Run your DayZ server from one place

Free editors for every config file, plus a live dashboard and Discord feeds when you're ready.