Language & Currency

Currency

DayZ: Your game, your server

DayZ Rent server
from 9.73
AUD /month
from 11.72
BGN /month
from 36.80
BRL /month
from 9.01
CAD /month
from 5.64
CHF /month
from 46.32
CNY /month
from 151.33
CZK /month
from 44.69
DKK /month
from 5.99
EUR /month
from 5.01
GBP /month
from 50.75
HKD /month
from 45.14
HRK /month
from 2,400.67
HUF /month
from 101,948.60
IDR /month
from 24.58
ILS /month
from 549.46
INR /month
from 894.31
ISK /month
from 978.71
JPY /month
from 8,889.34
KRW /month
from 126.00
MXN /month
from 28.08
MYR /month
from 70.36
NOK /month
from 10.75
NZD /month
from 375.97
PHP /month
from 25.69
PLN /month
from 29.80
RON /month
from 702.03
RUB /month
from 68.13
SEK /month
from 8.55
SGD /month
from 217.45
THB /month
from 224.10
TRY /month
from 6.54
USD /month
from 114.78
ZAR /month
from 60.81
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.