Skip to content

How to Adjust the Loot Distribution on Your DayZ Server

You can adjust the spawn rates and quantities of items via the types.xml file.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open types.xml
    Open the file types.xml in the directory:

    /mpmissions/dayzOffline.chernarusplus/db/types.xml
    /mpmissions/dayzOffline.chernarusplus/db/types.xml

    Note

    For Livonia, the file is located at /mpmissions/dayzOffline.enoch/db/types.xml.

  4. Adjust item
    Find the desired item and adjust the values. Example for ammunition:

    xml
    <type name="Ammo_545x39">
        <nominal>120</nominal>
        <lifetime>14400</lifetime>
        <restock>1800</restock>
        <min>80</min>
        <quantmin>20</quantmin>
        <quantmax>60</quantmax>
        <cost>100</cost>
    </type>
    <type name="Ammo_545x39">
        <nominal>120</nominal>
        <lifetime>14400</lifetime>
        <restock>1800</restock>
        <min>80</min>
        <quantmin>20</quantmin>
        <quantmax>60</quantmax>
        <cost>100</cost>
    </type>
    SettingDescription
    nominalMaximum amount on the map
    minMinimum amount on the map
    lifetimeLifetime in seconds
    restockTime until respawn
    quantmin / quantmaxMin/max stack size
    costSpawn priority
  5. Start the server
    Save the file and start your server.

Warning

A faulty types.xml can prevent your server from starting. Always make a backup of the file before making changes.

Tip

There are online tools like DayZ Editor or the DayZ Loot Editor that make editing the types.xml easier.