Language & Currency

Currency

DayZ: Your game, your server

DayZ Rent server
from 9.75
AUD /month
from 11.72
BGN /month
from 36.61
BRL /month
from 8.84
CAD /month
from 5.61
CHF /month
from 45.68
CNY /month
from 151.58
CZK /month
from 44.68
DKK /month
from 5.99
EUR /month
from 4.98
GBP /month
from 49.10
HKD /month
from 45.14
HRK /month
from 2,438.23
HUF /month
from 100,654.76
IDR /month
from 23.59
ILS /month
from 532.90
INR /month
from 876.34
ISK /month
from 983.80
JPY /month
from 8,857.89
KRW /month
from 130.11
MXN /month
from 28.27
MYR /month
from 70.44
NOK /month
from 10.76
NZD /month
from 371.21
PHP /month
from 25.99
PLN /month
from 29.81
RON /month
from 702.03
RUB /month
from 69.50
SEK /month
from 8.49
SGD /month
from 220.95
THB /month
from 216.82
TRY /month
from 6.31
USD /month
from 115.69
ZAR /month
from 66.80
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.