20% OFF

Your first invoice with coupon code TAKE20
GGServers Facebook GGServers Twitter GGServers YouTube GGServers Discord GGServers Instagram GGServers TikTok GGServers Reddit
  1. Home
  2. DayZ
  3. How to Change The Loot Spawns on Your DayZ Server
  1. Home
  2. Minecraft
  3. 🔎 Tutorials & Guides
  4. How to Change The Loot Spawns on Your DayZ Server
  1. Home
  2. Pterodactyl
  3. How to Change The Loot Spawns on Your DayZ Server

How to Change The Loot Spawns on Your DayZ Server

General Info

Learn how to change loot spawns on your DayZ server with this step-by-step guide. Customize item locations, adjust loot types, and optimize your server for better gameplay. Perfect for private or public DayZ servers!

Changing the Loot Spawns Manually

  • First, stop the server
  • Click “Files” on the left side menu
  • Access the following directory:
    /home/container/mpmissions/dayzOffline.chernarusplus/db 

    IMPORTANT: If you are using a different map, please access that instead of dayzOffline.chernarusplus
  • Open types.xml
  • Change the settings as you need. Below you can find a table explaining the settings
  • After editing, click on Save Content at the bottom of the page.
  • Start the server

Settings table

nominalThe number of items that can be spawned at one time.
lifetimeHow long, in seconds, the spawned item will stay in one place if not picked up.
restockThe duration in seconds before the item can respawn.
minMinimum amount for this item to spawn. Must be less than or equal to nominal.
quantminMinimum amount within the item.
e.g: A water bottle or bullets in a magazine.
Use -1 if item doesn’t hold a quantity of something.
quantmaxMaximum amount within the item.
e.g: A water bottle or bullets in a magazine.
Use -1 if item doesnt hold a quantity of something.
A quantmin of 0 and quantmax of 50 for a waterbottle means it could spawn in with either no water or up to 50% full.
costThe spawn chance, similar to a priority system.
flagsThey can have a value of 0 or 1.

count_in_cargo
Includes items in cargo (backpacks, crates, cars).

count_in_hoarder
Includes items in hoarder (tents, barrels, stashes etc).

count_in_map
Includes items inside buildings.

count_in_player
Includes items in players inventory.

crafted
Mark a player craftable item only.

deloot
Dynamic event loot such as a heli crash.
categoryItem category group.
usageArea for where the item will spawn
e.g: farm.
You can have up to 4.
valueItem value grouping.
Tier1 (Spawn zones) through to Tier4 (Tisy military).

Example of Configuration

 <type name="PeachesCan">
        <nominal>15</nominal>
        <lifetime>14400</lifetime>
        <restock>0</restock>
        <min>12</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="food"/>
        <tag name="shelves"/>
        <usage name="Town"/>
        <usage name="Village"/>
        <usage name="School"/>
        <value name="Tier1"/>
        <value name="Tier2"/>
        <value name="Tier3"/>
    </type>

Changing the Loot Spawns Using DZSA Tools

This method may be more user-friendly, as it helps prevent mistakes such as accidentally adding an unwanted space when copying and pasting a value.

  • First, stop the server
  • Click “Files” on the left side menu
  • Access the following directory:
    /home/container/mpmissions/dayzOffline.chernarusplus/db 

    IMPORTANT: If you are using a different map, please access that instead of dayzOffline.chernarusplus
  • Download types.xml
  • Access dzsa.tools, click on “Start Editing” and upload the file you downloaded

    It’s recommended to watch the tutorial
  • Once you finished, save and download the file on your PC, make sure to select a different location for the file to prevent overwriting it.
  • On the control panel, delete the types.xml file to prevent overwriting and upload the one you just edited.
  • To upload the file, simply drag and drop it across the files or click on the upload button.
  • Start the server

Frequently Asked Questions (FAQ)

  1. What file controls loot spawns in DayZ?
    The types.xml file located in /mpmissions/dayzOffline.YOURMAPNAME/db/ defines loot spawns and behavior.
  2. Can I edit the loot table for different maps?
    Yes, just make sure you’re editing the correct map folder like dayzOffline.livonia instead of chernarusplus.
  3. How do I safely edit the types.xml file?
    You can edit it manually or use visual tools like DZSA Tools to avoid mistakes.
  4. What happens if I set nominal higher than lifetime allows?
    The item may despawn before reaching the desired spawn count.
  5. Do I need to stop my server before editing loot spawns?
    Yes, always stop the server before making changes to avoid data conflicts.
  6. Can I preview changes before restarting the server?
    No, the changes only take effect after the server is restarted.
  7. What’s the benefit of using DZSA Tools?
    It’s can be easier to use, helps avoid formatting errors, and shows a more visual interface for editing loot data.

Need Help?

If you have any questions, run into issues, or need further assistance, our team is here to help. Feel free to reach out to us via live chat or a support ticket—we offer 24/7 support to ensure you’re always covered.

Updated on June 4, 2025
Was this article helpful?

Related Articles

Leave a Comment

CAPTCHA ImageChange Image