How to Add a Types File

Learn how to properly integrate existing types files from mods into your DayZ server.

Integrating Modded Types Files

When you install a new mod that adds custom items, it will often come with its own `types.xml` file. Properly integrating these files is crucial for the mod's items to spawn correctly and for your server's economy to remain stable.

There are a couple of methods to achieve this, but one is highly recommended for its stability and ease of management.

Two Methods for Loading Types Files

Method 1: Merge into main types.xml (Not Recommended)

A lot of people avoid doing this because once your `types.xml` goes over a certain size or character limit, the game can run into problems reading it. This can mess up your spawns or even break the economy completely. Merging also makes it harder to update or remove mods later.

Method 2: Use cfgeconomycore.xml (Recommended)

This is my personal method and the one I always recommend. It keeps your modded types separate from the main file and avoids the size limit problem.

Implementation Example with cfgeconomycore.xml

I'd highly recommend using `cfgeconomycore.xml`. Add something like this after </defaults> and before </economycore> in your `cfgeconomycore.xml` file:

<ce folder="MyCustomTypes">
    <file name="Wheelie_types.xml" type="types"/>
    <file name="NextMod_types.xml" type="types"/>
</ce>

• You can name MyCustomTypes whatever you want—it just needs to match the folder inside your mpmissions > dayzOffline.chernarusplus folder for the mission you're running.

• Make sure the file names match exactly (case sensitive).

Benefits of Using cfgeconomycore.xml
  • Keeps each mod's types file separate and organized
  • Makes it easy to update or remove mods without messing up your whole setup
  • Avoids the size limit problems that can break the economy
  • Better organization and maintenance

Add an Existing types.xml to Your Server

Many mods ship with a ready-made types.xml. Follow these steps to merge it safely into your server’s economy:

1. Locate cfgeconomycore.xml

On your server, open $profile/economy and edit cfgeconomycore.xml.

2. Add a <file> reference

<file name="mymod/types.xml" type="types" />

3. Upload the file

Place the mod’s types.xml in the exact relative path you declared (mymod/types.xml).

4. Restart & Verify

Restart the server and check the RPT log for any economy-related errors.

That's It!

This method will keep your server organized and make managing mods much easier in the long run. If you have any questions, feel free to reach out on Discord: Wheelie