Choosing an inventory system for your FiveM server
ox_inventory (officially for ox_core, ESX, Qbox and ND_Core) treats weapons as items with metadata — serials, durability, attachments — and offers stashes, shops, crafting and hooks. qb-inventory is the default for QBCore and uses QBCore’s item and weapon tables. Default ESX keeps items in the database and weapons in a separate loadout. For a new server, Qbox or ESX with ox_inventory is the most feature-complete path; QBCore with qb-inventory has the largest script catalogue.
The inventory touches every script on a roleplay server: shops, jobs, crafting, police searches, weapons. Switching later is painful, so it is worth choosing deliberately. Here is how the common options compare, with a focus on how they treat weapons.

#At a glance
| ox_inventory | qb-inventory | Default ESX | |
|---|---|---|---|
| Frameworks | ox_core, ESX, Qbox, ND_Core | QBCore | ESX |
| Weapons | Items with metadata | Items (type = 'weapon') | Loadout |
| Serial numbers | Built in | Via metadata/scripts | Via scripts |
| Durability | Built in | Via scripts | No |
| Stashes, shops, crafting | Built in | Built in / companion resources | Separate resources |
| Hooks for rules | Yes | Limited | No |
#Weapons in each
- ox_inventory: weapons live in slots, carry ammo, attachments, serials and durability — see serial numbers and durability.
- qb-inventory: weapons are unique items; details come from
shared/weapons.lua— see QBCore shared weapons. - Default ESX: weapons are a list on the player with ammo and components — see ESX items and loadout.
#Which to choose
| Situation | Suggestion |
|---|---|
| New server, want the ox ecosystem | Qbox or ESX + ox_inventory |
| Existing QBCore server with many QB scripts | Stay on qb-inventory, or plan a Qbox migration |
| Old ESX server | Consider ox_inventory for weapon metadata and hooks |
| Heavy PvP/redzone | Whatever keeps weapon handling simple and fast |
Framework choice itself: ESX vs QBCore vs Qbox.
#Migrating
Moving inventories means converting player data, rewriting shop/job/crafting integrations and re-testing every script that gives or removes items. Budget days, not hours, and do it on a copy of the database first.
Questions
What is the best inventory for FiveM?
Does ox_inventory work with QBCore?
Are weapons items in ESX?
Is switching inventories hard?
Ready to pick a map?
Twelve themes on three base map styles, $8 each, instant download.
Relevant to what you just read
The tool for this
Twenty theme pairs for ox_lib and ox_inventory From $15, built in the browser, exported as a drop-in resource.