EN · $ USD
Survival and Sandbox Servers

How to Adjust DayZ Loot with types.xml

7 min read Updated: OyunBulut technical team

In short

DayZ types.xml is the loot table that holds the Central Economy's item targets. nominal sets the target count on the map, min is the floor that triggers respawning, lifetime is how long an untouched item stays on the ground (in seconds), and restock is the wait after an item runs out. When increasing loot, raise nominal and min proportionally and avoid long lifetimes; more objects means more server load.

In this guide
  1. What are the Central Economy and types.xml?
  2. Anatomy of a types.xml entry
  3. Increasing loot: example scenarios
  4. How loot settings affect performance
  5. Common types.xml mistakes
  6. Safe editing workflow
  7. What server resources do you need?
  8. Next step

DayZ types.xml is the loot table that decides how many of each item exist on the map, how long they stay on the ground and when they respawn after running out. To increase or reduce loot you mostly change four values: nominal (target count on the map), min (the floor that triggers respawning), lifetime (how long an untouched item stays on the ground, in seconds) and restock (the restock wait time, in seconds). In this guide we explain each field with examples and show how loot changes affect server performance.

What are the Central Economy and types.xml?

Loot in DayZ is random but not chaotic. The Central Economy (CE) is the system that constantly counts the items, vehicles, animals and zombies in the world and balances them against target values. The CE's item targets are stored in types.xml. The file is in the db folder inside your chosen mission folder:

mpmissions/dayzOffline.chernarusplus/db/types.xml   (Chernarus)
mpmissions/dayzOffline.enoch/db/types.xml           (Livonia)

The same folder holds the CE's other files: globals.xml for general settings, events.xml for vehicles and dynamic events, and economy.xml for economy persistence. cfgeconomycore.xml in the root of the mission folder decides which files get loaded.

Anatomy of a types.xml entry

Each item is defined by a <type> block. The values below are examples for illustration; the defaults in your own file may differ by version:

<type name="AKM">
    <nominal>3</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>2</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="weapons"/>
    <usage name="Military"/>
    <value name="Tier3"/>
    <value name="Tier4"/>
</type>
FieldMeaningPractical effect
nominalThe target count the CE tries to keep on the mapRaise it and the item shows up more often
minWhen the count drops below this value, the CE starts respawning and fills back up to nominalMoving it closer to nominal makes the item more consistently available
lifetimeHow long the item stays on the ground untouched (seconds); it is cleaned up when time runs outA short time speeds up loot circulation; a long time causes buildup in the world
restockWait time (seconds) before restocking after the count drops below minAt 0 the CE restocks on its own cycle with no wait; a large value stretches scarcity
quantmin / quantmaxFill percentage range for items like magazines, liquids and batteries; -1 means not usedYou can tune ammo scarcity through magazine fill
costThe CE's spawn priorityUsually left at the default
flagsWhich copies are included in the countExplained separately below
category, usage, value, tagThe item type, which building types it spawns in (Military, Town, Farm...) and which zone tier (Tier1-Tier4)Distribution changes, like moving a weapon from military zones into towns, are made here

How do count flags affect loot?

  • count_in_map="1": Copies lying on the ground are counted. On for almost every item.
  • count_in_player="1": Copies carried by players are counted too. When on, new copies do not spawn on the map as players pick the item up; used for rare items.
  • count_in_cargo="1": Copies inside backpacks, vehicles and containers are counted.
  • count_in_hoarder="1": Copies in storage such as tents, barrels, crates and buried stashes are counted. Turn it on if you want items piling up in bases to block new spawns.
  • crafted="1": The item is only obtained by crafting; the CE does not spawn it. deloot="1": It only appears at dynamic events (such as helicopter crashes).

If a rare weapon "disappears from the map as players collect it," the problem is usually the count flags, not nominal.

Increasing loot: example scenarios

Slightly increasing medical supplies

<type name="BandageDressing">
    <nominal>60</nominal>   <!-- e.g. from 40 to 60 -->
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>40</min>           <!-- raise min proportionally too -->
    ...
</type>

If you raise nominal but leave min the same, the item spawns in large numbers once and then does not restock for a long time. For a balanced change, raise both together and proportionally.

Making a specific weapon rarer

Lower nominal, set the count_in_player and count_in_cargo flags to 1, and give restock a few hours (for example 7200 or 10800 seconds). The weapon is then scarce on the map, no new copy spawns while players hold onto it, and it does not come back right away when it runs out.

Keeping military weapons out of towns

To protect PvP balance, keep the usage line of high-tier weapons limited to Military and the value line to Tier3-Tier4. A military weapon added to town buildings (Town) quickly breaks the game balance in the coastal starting area.

How loot settings affect performance

The amount of loot is directly server load. Every item on the map is an object the server tracks, sends over the network to nearby players and writes to the persistence file. That means:

  • Raising nominal across the board grows the number of objects in the world; CE cycles get longer, memory use rises, and sync lag can be noticeable in crowded areas.
  • Long lifetimes let items pile up without being cleaned. Many server owners who want "2x loot" double nominal and also extend lifetime, and after a while end up with a cluttered, sluggish world.
  • Spawn points are limited. The places items can spawn are defined in mapgroupproto.xml and mapgrouppos.xml. Raising nominal beyond what those points can hold does not add loot; it just gives the CE more work.
  • Zombie and animal limits are not in types.xml but in the ZombieMaxCount and AnimalMaxCount values in globals.xml; these also directly affect performance.

A practical approach: instead of applying a global multiplier, target the 10-20 items players actually complain about, then watch server performance and loot distribution for a few days after the change. If you are planning a high-loot economy, account for that load from the start; you can pick the right size for your economy from DayZ server plans with different RAM and CPU options.

Common types.xml mistakes

MistakeResultCorrect approach
Setting min higher than nominalThe CE always counts a shortfall, causing unexpected spawn behaviormin should always be equal to or less than nominal
Extending every lifetime to daysItems pile up on the ground and the world gets heavyExtend lifetime only on items that truly need it
Misspelling the item nameThe entry is silently ignoredWrite the name value exactly as the class name, minding capitalization
Defining the same item in two filesIt becomes unclear which value appliesKeep each item in a single types file
Editing files on a running serverThe change does not show or gets overwrittenStop the server first, then edit

Jumping into the game and walking a few areas is not enough to measure the effect of changes; loot distribution settles over time. Check the same areas again after one or two restart cycles and collect player feedback.

Safe editing workflow

  1. Stop the server. CE files are read at startup; changes made while running have no effect until restart and can conflict with files written at shutdown.
  2. Make a backup. Copy the db folder and the storage_1 folder with a date stamp.
  3. Edit and validate the XML. A single missing closing tag can make the whole file unreadable, which means loot disappears from the map. Use an XML validator or your editor's syntax check.
  4. Start the server and check the log. Look for CE-related error lines in the .RPT file.

Keeping mod items in a separate file instead of mixing them into the vanilla file makes updates easier. To do this, create a folder in the mission folder, for example custom, and add these lines to cfgeconomycore.xml:

<ce folder="custom">
    <file name="types_modlar.xml" type="types" />
</ce>

Game updates can overwrite the default mission files. Keeping your own changes in a separate file and comparing against your backup after every update keeps your work from being lost. You can find the mod installation side in the DayZ mod installation guide, and loot differences by map in the DayZ map comparison.

What server resources do you need?

An economy close to the default values runs comfortably on standard resources. On a server where you significantly increase loot, raise the vehicle count or add modded item packs, RAM and CPU headroom start to matter. The OB-DAYZ-4 DayZ server, with 4 CPUs, 12 GB of RAM and NVMe SSD, is a balanced choice for communities of around 40 players with a tuned loot economy. In DayZ, where persistence files are written often, an NVMe disk makes a difference in save and load times.

Next step

If you do not have a server yet, first set up the basics in the DayZ server setup guide, then shape your loot economy in small steps. OyunBulut DayZ server plans come with automatic installation and a web panel, so you can start working on types.xml right away; as your economy grows, you can also move up to a larger plan.

Frequently asked questions

Where is the DayZ types.xml file?

It is in the db folder of the mission folder you use; for Chernarus the path is mpmissions/dayzOffline.chernarusplus/db/types.xml.

What is the difference between nominal and min?

nominal is the target count the CE tries to keep on the map. When the count drops below min, the CE starts respawning the item and fills it back up to nominal.

Why are my types.xml changes not taking effect?

CE files are read when the server starts, so you need to make the change with the server stopped and then restart it. Also, if the XML has a syntax error the file cannot be read; check the RPT log for this.

Will doubling loot slow down my server?

It can. Every item is an object the server tracks; raising nominal across the board and using long lifetimes grows the number of objects in the world. Targeted item changes are safer than a global multiplier.

How do I add modded items to types.xml?

The cleanest method is to keep mod items in a separate XML file and load it with a ce folder entry in cfgeconomycore.xml. That way your own entries survive even when game updates overwrite the vanilla file.

For this guide

Recommended plans

With 12 GB of RAM and NVMe SSD, OB-DAYZ-4 gives you the headroom to run a tuned loot economy and a growing object count comfortably for around 40 players.

OB-DAYZ-4

Recommended

12 GB RAM

$9.24/mo

+VAT

  • Processor4 CPU
  • Disk60 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

4 GB RAM

$3.54/mo

+VAT

  • Processor4 CPU
  • Disk30 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

6 GB RAM

$5.31/mo

+VAT

  • Processor4 CPU
  • Disk35 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

DayZ — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.