Explainer

Why do cars disappear on DayZ servers?

Spending an evening finding wheels, a battery and a spark plug only to lose the car overnight is a classic DayZ frustration. Working cars don't despawn just because they're parked. When a car disappears, something almost always ruined it or the server rolled back. This guide covers the real causes and the settings owners can change to keep cars on the map.

  • 4 min read
  • Updated
  • PlayStation, Xbox and PC
db/events.xmlExample
<event name="VehicleCivilianSedan">    <nominal>8</nominal>    <min>5</min>    <max>11</max>    <flags deletable="0" init_random="0" remove_damaged="1"/></event>

Ruined cars are removed

Vehicle events in events.xml carry a remove_damaged flag, which is on for cars in vanilla. When a car is ruined, usually because the engine was destroyed, the economy cleans it up and can spawn a fresh one somewhere else. Replacing parts doesn't save a ruined car.

Engines are ruined by crashes, by driving with no oil or coolant until the engine fails, by explosions and by gunfire. A car that hits a tree at speed can be gone at the next cleanup.

Water and stuck cars

Driving into deep water ruins a car. So can a car that gets stuck in a rock or under a building and is damaged trying to get out. Parking on bridges and steep slopes is risky too: players regularly report losing cars parked in awkward spots.

Restarts and glitched positions

When a server restarts, every car is placed back where it was saved. A car parked very close to a wall, inside a garage or touching another object can be placed slightly into it, take damage and be destroyed. Bohemia's own feedback tracker notes restarts can move vehicles into objects, which destroys them.

Encourage players to park in open space, away from walls and other cars, especially before a scheduled restart.

Crashes and rollbacks

DayZ saves the world regularly, not every second. If the server crashes, it loads the last save, so a car may jump back to where it was earlier or appear to vanish because it was found after the last save. This looks like a despawn but is a rollback. If several players lose things at once, check whether the server crashed. See why a DayZ server keeps crashing.

Too few cars on the map

Sometimes the complaint isn't that cars vanish but that there are hardly any. Each car type has a nominal and max in events.xml, and positions in cfgeventspawns.xml. In vanilla Chernarus, the civilian sedan event has a nominal of 8. If players hoard cars in bases, new ones won't spawn until the count drops. See how to add more cars.

Cars that spawn missing parts

Cars spawn with a random set of parts, set by chances in cfgspawnabletypes.xml. That's why a found car often needs wheels, a battery or a radiator. Raise the chances for parts you want cars to have, and players spend less time searching. See cfgspawnabletypes.xml explained.

Help players keep their cars

A few habits save most cars:

  • Park on flat, open ground, away from walls, trees and other cars
  • Keep oil, coolant and a spare wheel, and repair the engine before it's ruined
  • Avoid driving into deep water or across steep slopes
  • Get out and park before a scheduled restart, rather than driving through it

Settings that keep more cars around

For a car-friendly server:

  • Raise nominal for the vehicle events you want more of, and add spawn positions
  • Make cars spawn with more parts in cfgspawnabletypes.xml
  • Add more spare parts to the loot economy in types.xml
  • Schedule restarts at quiet times and warn players to park in the open
  • Keep restarts regular, so the server isn't killed mid-save by a crash

Tools for this

Common questions

Do cars despawn in DayZ if you leave them?

A working car doesn't despawn just for being parked. Cars disappear when they're ruined, or appear to when the server rolls back after a crash.

Why did my car disappear after a restart?

It was probably parked against a wall or another object and was placed slightly into it on restart, which can destroy it. Park in open space.

Can I get a lost car back?

Not individually. Only restoring a storage backup brings it back, and that rolls back the whole server.

How do I get more cars on my server?

Raise the vehicle events' nominal in events.xml and make sure cfgeventspawns.xml has enough positions. See more cars.

Why do cars jump back to an earlier spot?

The server loaded an older save, usually after a crash. Anything that happened after the last save is rolled back.

Do cars respawn after they're destroyed?

Yes. Once a ruined car is cleaned up, the economy can spawn a new one at one of that event's positions, as long as the count is below its limits.

Can players store cars in bases?

Yes, and many do. Hoarded cars still count towards the event's limits, so on busy servers new cars may stop spawning until some are wrecked.

Does this apply to boats too?

Yes. Boats are vehicle events too, and are removed when ruined.

Run your DayZ server from one place

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