Configure item spawns and loot distribution in your DayZ server using cfgspawnabletypes.xml.
The cfgspawnabletypes.xml file defines what items can spawn in your DayZ server world and controls:
The cfgspawnabletypes.xml file uses a structured format to define spawn configurations:
<spawnabletypes>
<type name="...">
<usage name="...">
<location name="...">
<tag name="...">
<value name="...">
<spawnabletypes>
<type name="Clothing">
<usage name="Military">
<location name="Military">
<tag name="floor"/>
<tag name="shelves"/>
</location>
<value name="Tier1" type="array">
<item name="TTsKOJacket_Camo" chance="0.07" />
<item name="TTsKOPants_Camo" chance="0.07" />
<item name="CombatBoots_Green" chance="0.08" />
<item name="BalaclavaMask_Green" chance="0.05" />
</value>
<value name="Tier2" type="array">
<item name="BDUJacket" chance="0.05" />
<item name="BDUPants" chance="0.05" />
<item name="MilitaryBoots_Redpunk" chance="0.05" />
<item name="BallisticHelmet_Green" chance="0.03" />
</value>
</usage>
<usage name="Civilian">
<location name="Town">
<tag name="floor"/>
<tag name="shelves"/>
</location>
<value name="Tier1" type="array">
<item name="Jeans_Blue" chance="0.10" />
<item name="TShirt_White" chance="0.10" />
<item name="AthleticShoes_Blue" chance="0.08" />
<item name="BaseballCap_Red" chance="0.05" />
</value>
</usage>
</type>
</spawnabletypes>
Defines a category of items (e.g., "Clothing", "Weapons")
Defines a subcategory or context for spawning (e.g., "Military", "Civilian")
Defines where items can spawn (e.g., "Military", "Town", "Village")
Specifies spawn points within locations (e.g., "floor", "shelves", "table")
Groups items by tier or category (e.g., "Tier1", "Tier2", "Tier3")
Defines a specific item that can spawn with its chance value
The item's class name as defined in types.xml
Probability of the item spawning (0.0 to 1.0)