DayZ Server Loot Settings: Increase Loot in types.xml
To increase loot on your DayZ Server, edit db/types.xml in the active custom mission and raise the item’s nominal value. This raises the target count, not the number of items that appear immediately; min, restock, and the available spawn locations still affect replenishment.
- FileZilla: https://filezilla-project.org/
Important: Set the transfer mode in FileZilla to Binary. To do this, click Transfer → Transfer type → Binary. - WinSCP: https://winscp.net/eng/index.php
Use a custom mission for persistent changes. If your server runs a stock mission, back up your DayZ save before switching. Follow the custom mission setup guide to copy and rename the complete mission folder, such as dayzOfflineCustom.chernarusplus. Select the copy in Map Cycle or set its name as the template in serverDZ.cfg. Edit the custom copy so your changes aren’t overwritten by the stock mission files.
1. Find the active mission’s types.xml
Download types.xml through the Gameserver-FTP from the db folder of the mission selected in your server configuration. For the custom mission in this example, that is:
/mpmissions/dayzOfflineCustom.chernarusplus/db/types.xml
Use a copy of the active file so you keep any existing loot changes. If you are starting from a stock mission, Bohemia Interactive’s Central Economy repository has the stock files for each map.
2. Adjust loot targets and restock settings
For editing, we recommend an editor with syntax highlighting, such as Notepad++.
In this example, the AK101 entry changes only its nominal value, from 4 to 8. Use the values in your own file as the starting point rather than replacing the entire entry with this example:
Original:
<type name="AK101">
<nominal>4</nominal>
<lifetime>28800</lifetime>
<restock>3600</restock>
<min>2</min>
<quantmin>30</quantmin>
<quantmax>80</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>
Edited:
<type name="AK101">
<nominal>8</nominal>
<lifetime>28800</lifetime>
<restock>3600</restock>
<min>2</min>
<quantmin>30</quantmin>
<quantmax>80</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>
The example raises the target from four to eight while leaving the restock threshold and eligible spawn locations unchanged. If you still find too few items, check which copies are counted and where the item is allowed to spawn before raising nominal again.
What the DayZ loot settings mean
| Setting | Description |
|---|---|
type | Determines which item spawns, for example AK101. |
nominal | Target number of copies the Central Economy aims for, based on which copies count under flags. |
lifetime | Time in seconds an item can normally remain in the world before it is removed. |
restock | Delay in seconds between replenishment spawns for that item. |
min | Count below which the Central Economy starts replenishing the item. |
quantmin | Minimum fill level in percent for items with quantities, such as magazines or liquids. Items without a quantity often use -1. |
quantmax | Maximum fill level in percent for items with quantities. Items without a quantity often use -1. |
cost | Priority when distributing loot. A higher value can cause the item to be spawned preferentially. |
flags | Control which existing copies count toward the total, among other item behaviors. |
↳ count_in_cargo | Items in vehicles, backpacks and other inventory are counted. |
↳ count_in_hoarder | Items in containers, tents, barrels and similar storage are counted. |
↳ count_in_map | Items in the world are counted. |
↳ count_in_player | Items in a player’s inventory are counted. |
↳ crafted | Identifies items that are crafted and do not spawn normally. |
↳ deloot | Identifies special event loot, for example from helicopter crashes. |
category | Assigns the item to a category, such as weapons or clothes. |
tag | Defines which type of loot position can spawn the item, such as shelves or floor. |
usage | Defines in which areas the item can spawn, such as Military, Town or Village. |
value | Defines the zone or loot tier, such as Tier4. |
Only change the values you really want to adjust. Also pay attention to the capitalization of item names and to valid XML syntax.
3. Upload types.xml and check the changes
- Stop your server and wait until it has shut down completely. The status must be Server is not running.
- Connect your FTP program to the Gameserver-FTP. You can find the login details in the FTP overview by clicking FTP.
- Open the active mission’s
dbfolder, for example/mpmissions/dayzOfflineCustom.chernarusplus/db/. - Keep a backup of the current
types.xml, then upload your edited file and replace the old copy in that folder. - Start your server again.
Loot changes take effect as the economy replenishes items and cleans up existing ones. A restart doesn’t instantly replace all loot in the world. If your change is missing, check that the server started the custom mission you edited and that the XML is valid. If the item still isn’t appearing where you expect it, check its usage, tag, and value entries.
4. Add loot from mods
Many mods provide their own loot entries, for example in a types.xml or a file in a ServerFiles folder. Read the mod author’s installation instructions first. They will tell you which files are required.
For additional mod items, you do not have to replace the complete Vanilla types.xml. You can include a separate file to add to the standard file or override individual entries. DayZ supports additional Central Economy files through cfgeconomycore.xml.
Create an additional folder in the mission folder, for example:
/mpmissions/dayzOfflineCustom.chernarusplus/custom/Copy the loot entries provided by the mod into a separate file, for example
mod_types.xml, and upload it to this folder. The file needs one<types>root element around its<type>entries. If the mod already includes a complete types file, use a copy of that file.Open
cfgeconomycore.xmlin the mission folder. Add the following section inside the existing<economycore>element. Keep the existing contents of the file:<ce folder="custom"> <file name="mod_types.xml" type="types" /> </ce>
Important: If you change an existing item, its existing usage, tag and value lines must also remain in your file. Otherwise, the item may no longer spawn in its previous locations.
- Upload the edited
cfgeconomycore.xmlback to the mission folder and restart the server.
The mod must be installed and enabled. Item names, categories, tags, usage areas and loot tiers must exactly match the mod’s instructions. If a mod also requires cfgspawnabletypes.xml or other files, follow the mod’s installation instructions for those files as well.
For more technical information about additional and overridden Central Economy files, see the official DayZ documentation.