DayZ: How to Edit Loot Spawn Rates: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
m Add link to the game service page (internal linking sweep)
[wiki:wiki-operator] Fixes from the review of the rewording: claims, example addresses, names and wording (approved by Ryan, Nov 19)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:|title=DayZ Loot Spawn Rates: How to Edit types.xml on Your Server|description=Change DayZ loot spawn rates on your server: open types.xml in your map's db folder over FTP, raise each item's nominal value, save and restart.}}
=== How to edit the loot for your server ===
=== How to edit the loot for your server ===


Before we begin please head to the following location to learn how<br>
How to log in with FileZilla or WinSCP: [[FTP Access|FTP Access]].
to log into your FTP client using filezilla or winscp [[https://www.survivalservers.com/wiki/index.php?title=FTP_Access|FTP Access]]


==== Items you will need ====
==== What you need ====


# Notepad++ [https://filehippo.com/download_notepad/ Download Here]
# Notepad++ ([https://notepad-plus-plus.org/downloads/ free download])
# Filezilla or Winscp
# FileZilla or WinSCP
# Access to your FTP client (found on your server panel)
# Your FTP login (under '''FTP Details''' on the Game Server page in the Command Center)


==== Editing the loot ====
==== Editing the loot ====


'''1.''' Once you are logged into your FTP client make sure your server is turned off.<br>
'''1.''' Once you're logged in with your FTP program, make sure your server is stopped.<br>
Then head into the following directory of your dayz standalone FTP client. <br>
Then open this folder on your DayZ server:<br>


<pre>''/mpmissions/dayzOffline.chernarusplus/db''</pre>
<pre>''/mpmissions/dayzOffline.chernarusplus/db''</pre>
This is the Chernarus folder. On Livonia use ''dayzOffline.enoch'' instead, on Frostline ''dayzOffline.sakhal'', and on Badlands ''dayzOffline.nasdara''.


'''2.''' Locate the types.xml file and either a. open it from the ftp client or <br>
'''2.''' Find the types.xml file. Either open it from your FTP program, or drag it to your desktop and open it. Make sure it opens in Notepad++.
b. drag it to your desktop and open it. Make sure it opens in notepad++


You should see something like the following code:
You'll see something like this:
     <type name="ACOGOptic">
     <type name="ACOGOptic">
         <nominal>15</nominal>
         <nominal>15</nominal>
Line 34: Line 34:
     </type>
     </type>


'''3.''' Edit the <normal>15</normal> to a higher value. You will want to do this <br>
'''3.''' Edit the <nominal>15</nominal> to a higher value. Do this for all items in the list.
for all items in the list.
* To do this faster, press Ctrl+F and use the Replace option.
* To do this faster simply hit ctrl f and the search box and use the replace option
* This changes every entry with that value to the new value.
* ''Due note this will replace all data with that value to the new value.''


'''4.''' Once you have all the edits done save and re upload to the server.
'''4.''' When your edits are done, save the file and upload it to the server again.


'''5.''' Boot server back online and join.
'''5.''' Start the server and join.
* If you do not see loot in game or zombies. There is an error in your types.xml file
* If you don't see loot or zombies in game, there's an error in your types.xml file.


You can [https://www.survivalservers.com/services/game_servers/dayz/ host your own DayZ server] with Survival Servers with instant setup.
==== Badlands loot ====
 
Badlands keeps its loot in ''/mpmissions/dayzOffline.nasdara/db/types.xml''. You edit it the same way: raise an item's nominal to see more of it.
 
Water bottles are rarer on Badlands than on Chernarus. Raise ''WaterBottle'' if your players keep running dry.
 
{| class="wikitable"
! Item in types.xml !! Badlands nominal !! Chernarus nominal
|-
| WaterBottle || 66 || 100
|-
| Canteen || 55 || 20
|}
 
These weapons spawn on Badlands and not on Chernarus, Livonia or Frostline. Raise their nominal to find them more often:
 
{| class="wikitable"
! Item in types.xml !! Badlands nominal !! Where it spawns
|-
| LeeEnfield || 30 || Farms, towns, villages and hunting spots
|-
| MP18 || 35 || Farms, towns and villages
|-
| Luger || 55 || Military spots
|-
| SCARL || 4 || Military spots
|-
| AKM_Gold || 1 || Hunting spots
|}
 
Badlands also has two military spawn areas the other maps don't use. They appear in types.xml as <code><nowiki><usage name="MilitaryEast"/></nowiki></code> and <code><nowiki><usage name="MilitaryWest"/></nowiki></code>.
 
Loot edits belong to one map. A server switched to Badlands starts from Bohemia's default loot. See [[DayZ: How to Host a Badlands Server]].
 
A Server Update, map change, location move or reinstall puts Bohemia's default types.xml back, so keep a copy of your edited file.
 
[https://www.survivalservers.com/services/game_servers/dayz/ Rent a DayZ server] from Survival Servers with instant setup.

Latest revision as of 12:09, 19 November 2026

How to edit the loot for your server

How to log in with FileZilla or WinSCP: FTP Access.

What you need

  1. Notepad++ (free download)
  2. FileZilla or WinSCP
  3. Your FTP login (under FTP Details on the Game Server page in the Command Center)

Editing the loot

1. Once you're logged in with your FTP program, make sure your server is stopped.
Then open this folder on your DayZ server:

''/mpmissions/dayzOffline.chernarusplus/db''

This is the Chernarus folder. On Livonia use dayzOffline.enoch instead, on Frostline dayzOffline.sakhal, and on Badlands dayzOffline.nasdara.

2. Find the types.xml file. Either open it from your FTP program, or drag it to your desktop and open it. Make sure it opens in Notepad++.

You'll see something like this:

   <type name="ACOGOptic">
       <nominal>15</nominal>
       <lifetime>7200</lifetime>
       <restock>1800</restock>
       <min>8</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"/>
   </type>

3. Edit the <nominal>15</nominal> to a higher value. Do this for all items in the list.

  • To do this faster, press Ctrl+F and use the Replace option.
  • This changes every entry with that value to the new value.

4. When your edits are done, save the file and upload it to the server again.

5. Start the server and join.

  • If you don't see loot or zombies in game, there's an error in your types.xml file.

Badlands loot

Badlands keeps its loot in /mpmissions/dayzOffline.nasdara/db/types.xml. You edit it the same way: raise an item's nominal to see more of it.

Water bottles are rarer on Badlands than on Chernarus. Raise WaterBottle if your players keep running dry.

Item in types.xml Badlands nominal Chernarus nominal
WaterBottle 66 100
Canteen 55 20

These weapons spawn on Badlands and not on Chernarus, Livonia or Frostline. Raise their nominal to find them more often:

Item in types.xml Badlands nominal Where it spawns
LeeEnfield 30 Farms, towns, villages and hunting spots
MP18 35 Farms, towns and villages
Luger 55 Military spots
SCARL 4 Military spots
AKM_Gold 1 Hunting spots

Badlands also has two military spawn areas the other maps don't use. They appear in types.xml as <usage name="MilitaryEast"/> and <usage name="MilitaryWest"/>.

Loot edits belong to one map. A server switched to Badlands starts from Bohemia's default loot. See DayZ: How to Host a Badlands Server.

A Server Update, map change, location move or reinstall puts Bohemia's default types.xml back, so keep a copy of your edited file.

Rent a DayZ server from Survival Servers with instant setup.