DayZ events.xml attributes

Definitions and behavior notes for the main events.xml attributes, flags, and spawn rules used in DayZ server configuration.

DayZ events.xml and attributes explanation.

Each event in DayZ's configuration files defines spawn behavior for entities or objects. These attributes control timing, placement, cleanup, restock behaviour, and event state.

General Attributes

  • name: The event's identifier used for referencing.
  • nominal: The desired number of entities or objects to spawn.
  • min: The minimum number of entities or objects that must be spawned.
  • max: The maximum allowed number of entities or objects for this event.
  • lifetime: The duration (in seconds) the entities or objects will remain in the world before being cleaned up.
  • restock: The time (in seconds) to replenish entities or objects after they fall below the nominal value.
  • saferadius: A radius (in meters) where no additional entities will spawn if another entity is present.
  • distanceradius: The radius (in meters) around the player or position where entities are checked or spawned.
  • cleanupradius: The radius (in meters) for cleaning up entities when conditions are met.
  • flags: Additional rules for the event: deletable: Whether entities can be deleted manually (0/1). init_random: Whether spawn locations or types are randomized (0/1). remove_damaged: Whether damaged entities or objects are cleaned up (0/1).
  • position: Where spawns occur: fixed: At predefined positions. player: Around the player’s location.
  • limit: The method for limiting spawns: mixed: Combination of child attributes. custom: User-defined logic. child: Based on child entity settings.
  • active: Whether the event is enabled (1) or disabled (0).

Site search

Find pages, tools, and guides

Copyright