Skip to main content

How to Add Custom Loot Areas to Your Map on Your DayZ Server

DayZ allows server owners to create custom loot areas by defining new loot zones in the economy configuration files.

This lets you control where loot spawns, what type of loot appears, and how dense the loot is in specific locations.

Custom loot areas are commonly used for:

  • Military bases
  • Safe zones or trader areas
  • Custom towns or POIs
  • Event locations
  • Modded map additions

Files Used for Custom Loot Areas

Custom loot areas use two main files:

  • mapgrouppos.xml → defines where loot can spawn
  • types.xml → defines what loot can spawn

Both files are located inside your mission folder.


1. Log In to Your Panel


2. Stop Your Server


3. Select the ‘Files’ Tab

cybrancee panel dayz files page outlined

4. Locate the mapgrouppos.xml File

dayz mapgroupspos.xml file path outlined

4.1. Add Loot Positions (mapgrouppos.xml)

This file controls exact loot spawn positions.

Open: mapgrouppos.xml

What This Does

  • Creates loot spawn points inside a custom building.
  • x and z are map coordinates.
  • a is the rotation angle.
  • The group name links to loot rules in types.xml.
dayz mapgroupspos.xml file with position settings outlined

5. Locate the types.xml File

Navigate to the directory /home/container/mpmissions/dayzOffline.[map]/db/

Select the types.xml file

dayz files tab with types.xml file path and file outlined

5.1 Define Loot for the Area (types.xml)

Now you must tell DayZ what loot can spawn at that location.

Open: types.xml

Create or edit an item entry that uses your custom building name.

Example Loot Definition

<type name="M4A1">
<nominal>5</nominal>
<lifetime>7200</lifetime>
<restock>0</restock>
<min>1</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1"/>
<category name="weapons"/>
<usage name="Military"/>
<value name="Tier4"/>
</type>

Key Link

The group name in mapgrouppos.xml determines where this loot can spawn.

If the group name doesn’t exist or isn’t referenced correctly, loot will not spawn.


5.2. Optional: Control Spawn Density

You can fine-tune how strong a loot area feels by adjusting:

  • nominal → total items allowed
  • min → minimum active spawns
  • lifetime → how long items stay before despawning
  • Tier and usage tags

This is how you create:

  • High-tier military zones
  • Low-loot civilian areas
  • Event-only locations

6. Save the File

After making your changes, select the Save Content button.

Make sure:

  • XML syntax is correct
  • No duplicate <type> entries exist
  • Values remain numeric

7. Restart Your Server

Loot positions and economy rules only reload on full restart.

Cybrancee Panel dayZ start Server With start button outlined

Tips & Best Practices

  • Back up economy files before every edit
  • Start small (1–2 loot points) and expand gradually
  • Avoid flooding areas with high-tier loot
  • Keep custom loot balanced with surrounding zones
  • Always test changes on a fresh restart

DayZ Server Hosting

Starts at $14.99

External link icon

Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents