DayZ · Config

DayZ cfgeconomycore.xml explained

Learn what cfgeconomycore.xml does in DayZ: root classes, the log_ce settings, and how to register custom types, events and spawnabletypes files for mods.

Last updated 2026-10-10

cfgeconomycore.xml is the file that wires the DayZ Central Economy (the system that spawns loot, vehicles and events) to everything it needs. It lists which object classes the economy tracks, switches on economy logging, and tells the server which extra XML files to load. If you add a mod with its own loot or events, this is where you register the files.

It lives in your mission folder, for example mpmissions/dayzOffline.chernarusplus/cfgeconomycore.xml. Back it up before editing, and start from the vanilla copy that ships with the dedicated server (Steam app DayZ Server). You do not need DayZ Tools: it is a plain XML file.

What is inside

The file has three parts: <classes>, <defaults> and one or more <ce> blocks.

<economycore>
    <classes>
        <rootclass name="DefaultWeapon" />
        <rootclass name="DefaultMagazine" />
        <rootclass name="Inventory_Base" />
        <rootclass name="HouseNoDestruct" />
        <rootclass name="SurvivorBase" act="character" reportMemoryLOD="no" />
        <rootclass name="CarScript" act="car" reportMemoryLOD="no" />
    </classes>
    <defaults>
        <default name="log_ce_lootspawn" value="false" />
        <default name="log_ce_statistics" value="false" />
    </defaults>
    <ce folder="custom">
        <file name="my_types.xml" type="types" />
    </ce>
</economycore>

Root classes

Each <rootclass> names a base class. The economy only manages objects that inherit from one of these roots, so a mod item whose class derives from Inventory_Base is picked up without any change here. The act attribute marks how the root behaves, such as character or car. Leave the vanilla roots alone unless a mod’s documentation tells you to add one.

Defaults and logging

<default> entries set economy options. The ones most owners use are the log_ce_* settings, which make the server write what the economy is doing to its log:

  • log_ce_lootspawn: loot spawn decisions
  • log_ce_statistics: counts per item
  • log_ce_loop, log_ce_dynamicevent, log_ce_vehicle: other parts of the economy cycle

Set a value to "true" while you debug, then back to "false", because logging is noisy and can grow the log fast.

Register custom files

This is the most useful part. Instead of pasting a mod’s loot into the vanilla types.xml, keep it in its own file and register it with a <ce> block:

<ce folder="custom">
    <file name="my_types.xml" type="types" />
    <file name="my_spawnabletypes.xml" type="spawnabletypes" />
    <file name="my_events.xml" type="events" />
</ce>
  1. Create a folder in the mission directory with the same name as folder, here custom.
  2. Put your XML files inside it.
  3. Each <file> needs the file name and a type: types for loot definitions, spawnabletypes for attachments and cargo, or events for event definitions.
  4. Restart the server.

The vanilla files in db/ still load, and your files add to them. If the same item is defined twice, you get duplicate-definition problems, so remove or change the vanilla entry rather than defining it in both places.

Edit it on your server

On a Codeshipped server open the server’s Files tab, go to mpmissions, open the mission, and edit cfgeconomycore.xml. Create a Backup first so you can roll back if the XML has a mistake.

Common questions

What does cfgeconomycore.xml do in DayZ?

It tells the Central Economy which object classes to manage, sets economy options such as logging, and lists the extra loot and event XML files to load. Mods that add loot or events are registered here.

How do I add a custom types.xml in DayZ?

Create a folder such as custom in your mission folder, put my_types.xml in it, and add a <ce folder="custom"> block with <file name="my_types.xml" type="types" /> to cfgeconomycore.xml. Restart the server.

Where is cfgeconomycore.xml?

In the mission folder your serverDZ.cfg points to, for example mpmissions/dayzOffline.chernarusplus.

Why is my mod’s loot not spawning?

Check that the mod’s types.xml is registered with type="types", that its folder name matches, that the XML is valid, and that its items have a non-zero nominal (see the types.xml guide). Make sure the mod is loaded and its keys are installed, as covered in the mod installation guide.

Do I need DayZ Tools to edit the economy?

No. The Central Economy files are plain XML in the dedicated server’s mission folder. DayZ Tools is used to build and sign mods.

Troubleshooting

  • The server fails to start after an edit: restore the backup, then check for a missing quote or an unclosed tag.
  • A custom file is ignored: the folder name does not match the real folder, or the type is wrong.
  • Duplicate item warnings: the same class is defined in both a vanilla file and your custom file.

Need a hand?

We run managed DayZ servers and build custom DayZ mods and tools. See also our guides to DayZ events and types.xml, and the Bohemia Interactive Central Economy documentation.

Want this handled for you? Log in to the panel or contact us.