ox_inventory
Also called ox inventory
A widely used slot-and-weight inventory resource for FiveM that replaces the default inventory on ESX, QBCore and Qbox servers.
ox_inventory is an inventory resource from the same ecosystem as ox_lib. It provides slot-based inventories with weight limits, item metadata, stashes, shops, drops, crafting and weapon handling, and it supports ESX, QBCore and Qbox through built-in framework integration.
The design moves item handling server-side and gives each item instance its own metadata, so things like serial numbers, durability and custom labels live on the item. That makes it far harder to dupe items than older inventories that trusted the client.
Setting it up correctly takes care:
- It depends on oxmysql and ox_lib, and must start after them and after the framework.
- Items are defined in its own data files. Items that exist only in the framework's old item table are not visible until they are added.
- Scripts written for the framework's original inventory often call functions that ox_inventory implements differently. Check each script's documentation for an ox_inventory option before assuming it works.
Load order mistakes produce most of the support questions: missing items, empty inventories after restart, or shops that will not open. Read the server console on startup before changing anything else.
Check the current repository and documentation for the maintained version, as ownership and forks in the ox ecosystem have changed over time. Running an old copy from a leaked server pack is a reliable way to inherit already-fixed dupe bugs that damage your server economy.
Related terms
Trying to get your server seen?
The live leaderboard shows what the numbers look like at the top of the list, and the upvote calculator turns a target server into a campaign size. The full glossary is here.