Wiki Navigation

Events Configuration

Configure dynamic events like helicopter crashes, contaminated zones, and other special occurrences in your DayZ server.

Overview

The events.xml file controls dynamic events in your DayZ server, including:

  • Helicopter crash sites
  • Contaminated zones
  • Supply drops
  • Special military zones
  • Custom events

Helicopter Crashes

Configure helicopter crash events with smoke effects and high-tier loot spawns.

<event name="StaticHeliCrash">
    <nominal>3</nominal>
    <min>1</min>
    <max>5</max>
    <lifetime>1800</lifetime>
    <restock>0</restock>
    <saferadius>1000</saferadius>
    <distanceradius>500</distanceradius>
    <cleanupradius>200</cleanupradius>
    <flags deletable="0" init_random="0" remove_damaged="1"/>
    <position>fixed</position>
    <limit>child</limit>
    <active>1</active>
</event>

Contaminated Zones

Set up toxic zones that require protective gear and contain valuable loot.

<event name="ContaminatedArea">
    <nominal>2</nominal>
    <min>1</min>
    <max>3</max>
    <lifetime>3600</lifetime>
    <restock>0</restock>
    <saferadius>100</saferadius>
    <distanceradius>50</distanceradius>
    <cleanupradius>100</cleanupradius>
    <flags deletable="0" init_random="0" remove_damaged="1"/>
    <position>fixed</position>
    <contamination>1</contamination>
    <active>1</active>
</event>

Animal Spawns

Configure wildlife spawns for hunting and survival.

<event name="AnimalWildDog">
    <nominal>8</nominal>
    <min>5</min>
    <max>12</max>
    <lifetime>3600</lifetime>
    <restock>1800</restock>
    <saferadius>200</saferadius>
    <distanceradius>100</distanceradius>
    <cleanupradius>200</cleanupradius>
    <flags deletable="1" init_random="1" remove_damaged="1"/>
    <position>random</position>
    <limit>child</limit>
    <active>1</active>
</event>

Supply Drops

Configure airdrop events with customizable loot and timing.

<event name="SupplyDrop">
    <nominal>1</nominal>
    <min>0</min>
    <max>2</max>
    <lifetime>2700</lifetime>
    <restock>3600</restock>
    <saferadius>1500</saferadius>
    <distanceradius>1000</distanceradius>
    <cleanupradius>100</cleanupradius>
    <flags deletable="0" init_random="0" remove_damaged="1"/>
    <position>random</position>
    <limit>mixed</limit>
    <active>1</active>
</event>

Event Parameters

Basic Parameters

  • nominal
    integer
    Target number of active events
  • min/max
    integer
    Minimum and maximum number of events
  • lifetime
    integer
    Duration of the event in seconds
  • restock
    integer
    Time in seconds before event can respawn
  • active
    boolean
    Set to 1 to enable the event, 0 to disable

Advanced Parameters

  • saferadius
    integer
    Minimum distance between events
  • distanceradius
    integer
    Distance from players for event to spawn
  • cleanupradius
    integer
    Area to clean up when event ends
  • flags
    attributes
    Special behavior flags for the event
  • position
    string
    Position type: "fixed" or "random"
  • limit
    string
    Spawn limit type: "child", "parent", or "mixed"

Flag Parameters

The flags attribute contains several boolean parameters that control event behavior:

Flag Values Description
deletable 0 or 1 Whether the event can be deleted by the server
init_random 0 or 1 Whether the event spawns randomly at server start
remove_damaged 0 or 1 Whether damaged event objects should be removed
dynamic_spawn 0 or 1 Whether the event can spawn dynamically during gameplay

Best Practices

  • Balance event frequency with server population
  • Consider event placement and safe radius carefully
  • Test event configurations thoroughly
  • Monitor server performance impact
  • Keep event loot tables balanced

Complete Events.xml Example

Here's a complete example of an events.xml file with multiple event types configured:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<events>
    <event name="StaticHeliCrash">
        <nominal>3</nominal>
        <min>1</min>
        <max>5</max>
        <lifetime>1800</lifetime>
        <restock>0</restock>
        <saferadius>1000</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>child</limit>
        <active>1</active>
    </event>

    <event name="ContaminatedArea">
        <nominal>2</nominal>
        <min>1</min>
        <max>3</max>
        <lifetime>3600</lifetime>
        <restock>0</restock>
        <saferadius>100</saferadius>
        <distanceradius>50</distanceradius>
        <cleanupradius>100</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <contamination>1</contamination>
        <active>1</active>
    </event>

    <event name="AnimalWildDog">
        <nominal>8</nominal>
        <min>5</min>
        <max>12</max>
        <lifetime>3600</lifetime>
        <restock>1800</restock>
        <saferadius>200</saferadius>
        <distanceradius>100</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="1" init_random="1" remove_damaged="1"/>
        <position>random</position>
        <limit>child</limit>
        <active>1</active>
    </event>

    <event name="SupplyDrop">
        <nominal>1</nominal>
        <min>0</min>
        <max>2</max>
        <lifetime>2700</lifetime>
        <restock>3600</restock>
        <saferadius>1500</saferadius>
        <distanceradius>1000</distanceradius>
        <cleanupradius>100</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>random</position>
        <limit>mixed</limit>
        <active>1</active>
    </event>
</events>

Pro Tips

Use event flags to control cleanup behavior and prevent event overlap. Monitor your server logs to ensure events are spawning correctly. For dynamic events, consider using a higher restock time to prevent server performance issues.