Skip to main content

Canonical Item IDs & Aliases

Canonical Item IDs & Aliases

Keep one item identity while supporting legacy third-party names.

Applies to: Nord Inventory v2.0.0

Nord Inventory resolves legacy aliases before authoritative item operations. The default alias map includes common QBCore-style ammunition IDs such as pistol_ammo, rifle_ammo, shotgun_ammo, etc.

local canonical = exports.nord_inventory:ResolveItemName('pistol_ammo')
-- -> ammo-9 with the default alias table

Add server-specific legacy names to Config.ExternalItemAliases instead of duplicating item definitions under multiple names.