economy.xml Configuration
Economy initialization file that references other economy configuration files. Acts as the entry point for the Central Economy system.
Overview
economy.xml is the entry point for the DayZ Central Economy system. It tells the server which configuration files to load and how to initialize the economy. Located in your mission folder at db/economy.xml, this file references all other economy files (types.xml, events.xml, globals.xml, etc.) and controls their loading behavior.
If you add custom types files (e.g., for mods), you must register them here. The CE only loads files referenced in economy.xml.
File Structure
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<economy>
<ce folder="db">
<file name="types.xml" type="types" />
<file name="spawnabletypes.xml" type="spawnabletypes" />
<file name="globals.xml" type="globals" />
<file name="economy.xml" type="economy" />
<file name="events.xml" type="events" />
<file name="messages.xml" type="messages" />
</ce>
<ce folder="db">
<file name="cfglimitsdefinition.xml" type="limitsdef" />
<file name="cfgspawnabletypes.xml" type="spawnabletypes" />
<file name="cfgeventspawns.xml" type="eventspawns" />
<file name="cfgplayerspawnpoints.xml" type="playerspawnpoints" />
<file name="cfgenvironment.xml" type="environment" />
<file name="cfgrandompresets.xml" type="randompresets" />
<file name="cfgeconomycore.xml" type="economycore" />
<file name="cfgIgnoreList.xml" type="ignorelist" />
</ce>
</economy>
CE Element Attributes
The <ce> element groups files by folder location:
| Attribute | Description |
|---|---|
| folder | Relative path to the folder containing the referenced files. Typically db for the mission database folder. Can point to custom folders for mod files. |
File References
Each <file> element registers a configuration file with the CE:
| Attribute | Description |
|---|---|
| name | Filename of the configuration file (e.g., types.xml). |
| type | The file type identifier that tells the CE how to parse the file. Must match one of the recognized types. |
Recognized File Types
| Type | Description |
|---|---|
| types | Item type definitions (types.xml). Multiple types files can be registered for mod support. |
| spawnabletypes | Item attachment and cargo presets (cfgspawnabletypes.xml). |
| globals | Global server variables (globals.xml). |
| economy | Self-reference for economy initialization settings. |
| events | Dynamic event definitions (events.xml). |
| messages | Server messages and notifications (messages.xml). |
| limitsdef | Spawn limit definitions (cfglimitsdefinition.xml). |
| eventspawns | Event spawn positions (cfgeventspawns.xml). |
| playerspawnpoints | Player spawn locations (cfgplayerspawnpoints.xml). |
| environment | Environment configuration (cfgenvironment.xml). |
| randompresets | Random loot presets (cfgrandompresets.xml). |
| economycore | Core economy settings (cfgeconomycore.xml). |
| ignorelist | Item ignore list (cfgIgnoreList.xml). |
Adding Mod Files
To add custom types files for mods, add a new <ce> block or append <file> entries to an existing block:
<economy>
<!-- Vanilla files -->
<ce folder="db">
<file name="types.xml" type="types" />
<!-- ... other vanilla files ... -->
</ce>
<!-- Mod files -->
<ce folder="db">
<file name="types_mymod.xml" type="types" />
<file name="types_expansion.xml" type="types" />
</ce>
</economy>
If a mod's types file is not registered here, none of its items will spawn — even if the mod is loaded.