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.
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.
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.
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.
Use the name in the right file
The same class name works across every server file:
types.xml: how many exist and where. Add items to types.xmlcfgspawnabletypes.xml: attachments and cargo. Guns with attachments- Spawn gear presets: starting gear. Starter kits
events.xml: what spawns at crashes and with cars. events.xml explained
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
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
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.
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.