Spring Sale Don't miss: Get a hefty 50% discount on your order

Language & Currency

Currency

DayZ: Your game, your server

DayZ Rent server
from 8.18
AUD /month
from 9.76
BGN /month
from 26.51
BRL /month
from 7.26
CAD /month
from 4.66
CHF /month
from 38.77
CNY /month
from 123.78
CZK /month
from 37.19
DKK /month
from 4.99
EUR /month
from 4.25
GBP /month
from 42.19
HKD /month
from 37.61
HRK /month
from 1,946.25
HUF /month
from 85,464.23
IDR /month
from 19.88
ILS /month
from 449.10
INR /month
from 741.02
ISK /month
from 799.05
JPY /month
from 7,213.54
KRW /month
from 92.61
MXN /month
from 25.57
MYR /month
from 56.41
NOK /month
from 8.83
NZD /month
from 304.65
PHP /month
from 21.79
PLN /month
from 24.84
RON /month
from 584.83
RUB /month
from 56.67
SEK /month
from 7.24
SGD /month
from 192.05
THB /month
from 163.93
TRY /month
from 5.40
USD /month
from 101.31
ZAR /month
from 6.50
date /month

Adjusting Loot in DayZ

In this article, we will describe where you can download the required types.xml file.
We will also explain how and where you can upload the edited types.xml file.

1. Downloading types.xml


You can download a types.xml file here: GitHub.
Alternatively, you can also take one from your game directory.

2. Editing types.xml


For editing, it is best to use an editor with syntax highlighting, such as Notepad++.
As an example, we will change the entry for AK101.
Original:

        <type name="AK101">
            <nominal>5</nominal>
            <lifetime>28800</lifetime>
            <restock>1800</restock>
            <min>2</min>
            <quantmin>-1</quantmin>
            <quantmax>-1</quantmax>
            <cost>100</cost>
            <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
            <category name="weapons"/>
            <usage name="Military"/>
            <value name="Tier4"/>
        </type>

Edited:

        <type name="AK101">
            <nominal>10</nominal>
            <lifetime>28800</lifetime>
            <restock>1800</restock>
            <min>0</min>
            <quantmin>-1</quantmin>
            <quantmax>-1</quantmax>
            <cost>100</cost>
            <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
            <category name="weapons"/>
            <usage name="Military"/>
            <value name="Tier4"/>
        </type>

By making this change, there will be up to twice as many AK101 weapons in the world as before.
Here is an explanation of the individual settings:

Setting

Description

type

Determines which item will be spawned, for example, <type name="Rice"> would spawn rice

nominal

Determines the maximum number of an item, for example, <nominal>7</nominal> spawns 7

lifetime

Time in seconds before an item despawns if it has not been touched

restock

Time in seconds for an item of the specified type to respawn. If the value is 0, all items will be spawned at once

min

If the number of items in the world falls below this value, new items will be spawned

quantmin

Min % of the quantity, for example, for ammunition

quantmax

Max % of the quantity, for example, for ammunition

cost

Priority for CE, the higher the value, the higher the priority

flags

Example: <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
count_in_cargo="1" Loot is counted in vehicles, backpacks, etc.
count_in_hoarder="1" Loot is counted in containers, barrels, and crates
count_in_map="1" Loot is counted on the map
count_in_player="1" Loot on the player is counted
crafted="1" Was the item crafted
deloot="1" Is the item static, i.e. it can only spawn in predefined locations

category

Determines the category of the item

tag

Example <tag name="shelves" />
Determines where the item is spawned depending on the group, in this example, in shelves

usage

Example <usage name="Military" />
Determines the group in which the item is spawned

value

Example <value name="Tier4" />
Determines the zone on the map where the item is spawned


3. Uploading types.xml


  1. Stop your server
  2. Connect to your FTP program with the Upload-FTP.
    You can find the login details in the FTP overview when you click on FTP.
  3. The edited types.xml file should be placed in the db folder of the respective map.
    For example:
    configID/mpmissions/dayzOffline.chernarusplus/db/
    or:
    configID/mpmissions/dayzOffline.enoch/db/
    Note: You can find the configID or configuration ID for your server on our page under Gameserver.
    If your configID is, for example, 123456, it would look like this:/123456/mpmissions/dayzOffline.enoch/db/
  4. Start your server

Your edited types.xml file will be included and used when you start your server.