Step-by-step guide · 9 steps

How to find any DayZ item's class name

Almost every DayZ server change needs an item's class name: boosting it in types.xml, adding it to a starter kit, putting it in a crash site or giving it attachments. The class name is the item's internal name, such as BakedBeansCan or M4A1, and it has to be exact. Get one letter wrong and the item silently never appears. Here's how to find the right name every time.

  • 4 min read
  • Updated
  • PlayStation, Xbox and PC
db/types.xmlExample
<type name="MountainBag_Red">    ...</type><type name="MountainBag_Blue">    ...</type>
Step 1

Know what a class name looks like

Class names are single words with no spaces, often with capitals inside them, such as BandageDressing, MediumTent or CivilianSedan. Variants usually add a suffix: backpacks come in colours like MountainBag_Red and MountainBag_Blue, and some items have numbered versions such as Hatchback_02.

The name you see in game is different. The in-game "Hunter Backpack" or "Can of Beans" is a display name, translated into each player's language. Server files never use display names.

Step 2

Search your own types.xml

The most reliable list is your own server's types.xml. Every item the economy can spawn has a type entry with its class name, and the vanilla Chernarus file has about 2,400 of them. Open it in a text editor and search for part of the name, such as "Tent" or "Bag", to find every match.

Using your own file also means you get the right names for your map. Sakhal, Livonia and Nasdara add items the others don't have, and mods add their own.

Step 3

Match capitals exactly

Treat class names as case sensitive. AKM is right; akm or Akm are not. Copy and paste rather than typing names by hand, especially for long ones like Ammo_762x39 or Mag_AKM_30Rnd.

Step 4

Pick the right variant

Many items exist in several variants that are separate class names. A colour of a backpack, a type of ammo box or a version of a car each has its own entry. If you boost MountainBag_Red only, the other colours don't change. Search for the shared part of the name and update every variant you want.

Step 5

Use the name in the right file

The same class name works across every server file:

Step 6

Check items appear after a change

After uploading and restarting, check the item in game. If it never appears, compare the name against types.xml character by character, check it has usage and tier flags so it has somewhere to spawn, and check the server log for warnings about unknown types.

  • Misspelt or wrong capitals: the server ignores the entry
  • No usage or value flags: the item has nowhere to spawn
  • Nominal of 0: the economy never spawns it
  • A mod item on a server without the mod: it doesn't exist
Step 7

Common class names owners look for

A few examples from vanilla, to show the style:

  • Food: BakedBeansCan, SardinesCan, Apple
  • Medical: BandageDressing, Morphine, Epinephrine
  • Weapons: AKM, M4A1, SVD, Mosin9130
  • Storage: MediumTent, CarTent, WoodenCrate, Barrel_Blue
  • Base building: Fence, Watchtower, TerritoryFlag, Nail
  • Vehicles: CivilianSedan, OffroadHatchback, Hatchback_02
Step 8

Why the names look odd

Class names come from the game's code, so some don't match what you'd expect. Magazines start with Mag_, ammo boxes with AmmoBox_ and loose ammo with Ammo_. Some old names have stuck around after an item's display name changed. When a name surprises you, trust types.xml over guesswork.

Step 9

Mod items on PC

Mods add their own class names, usually listed in the types file the mod ships with or on its Workshop page. Add those entries to your types.xml (or register the mod's file in cfgeconomycore.xml) before using the names elsewhere. Console servers can only use vanilla items.

Tools for this

Common questions

Is there a list of all DayZ item IDs?

Your server's types.xml is the complete list for your map. Search it, or load it into the Types Editor to browse every item.

Are class names the same on console and PC?

Yes for vanilla items. PC servers can also have mod items, which console servers can't.

Why doesn't my item spawn?

Usually a misspelt class name or missing usage and tier flags. Copy the name from types.xml and check its flags.

What's the class name for nails?

Nail. Many base building items have short, plain names like Nail, Fence and Watchtower, but always check types.xml.

Do I need class names for console servers?

Yes. Every file edit on PlayStation and Xbox uses the same class names as PC.

Where do I find vehicle class names?

Search types.xml for the car, or look at the vehicle events in events.xml, whose children list the exact car class names.

Can I use a class name from another map?

Only if your map has that item. Check your own types.xml. Items unique to one map won't spawn on another.

Are class names case sensitive?

Treat them as case sensitive and copy them exactly. It avoids a whole class of mistakes.

Run your DayZ server from one place

Free editors for every config file, plus a live dashboard and Discord feeds when you're ready.