Choosing an inventory is one of the bigger early decisions on a new server, because items, shops, stashes and most job scripts all touch it. This guide compares ox_inventory and qb-inventory in plain terms: what each one does well, how items are defined, and what it takes to move between them. It ends with a simple recommendation instead of a winner.

What each inventory is

qb-inventory is the inventory that ships with QBCore. It is slot-based, built around the QBCore item list, and already wired into the default QBCore resources. If you start from a standard QBCore server, qb-inventory is what you have, and most QBCore scripts are written with it in mind.

ox_inventory is a standalone resource from the Overextended project, with strong support for item metadata. It is not tied to one framework, which is why it shows up on ESX, QBCore and Qbox servers alike.

Qbox is built around ox_inventory by default. That is a documented choice by the Qbox project, and it is worth knowing if you are considering Qbox rather than QBCore.

Both resources have their own documentation and config files, so a switch later is possible. It is real work either way, which is why the first choice is worth a little thought.

Features in plain terms

Both systems solve the same basic problem, but they feel different in daily use.

  • Carrying limit. Both systems use slots and a maximum weight. The exact numbers live in each resource's config, so read it before you copy weights across.
  • Item metadata. ox_inventory is built to attach extra data to individual items, such as durability or a serial number. qb-inventory items are mostly a name and a count, though QBCore scripts can pass some extra info for certain items.
  • Shops and stashes. Both systems have shops, stashes and vehicle storage. In ox_inventory much of the setup lives in its own data files, while qb-inventory leans on QBCore resources and their configs.
  • The interface and feel. qb-inventory looks like the standard QBCore grid. ox_inventory has its own layout, and it is configurable, so the two do not feel identical even when they hold the same items.

Neither list makes the other wrong. The difference matters most when a script expects metadata, or when you want one inventory across more than one framework.

Framework support

ox_inventory works with ESX, QBCore and Qbox. The same resource runs on all three, and the framework-specific setup is covered in the ox documentation. That matters if you might switch framework later, or if you run more than one kind of server.

qb-inventory ships with QBCore. It expects QBCore's player and item functions, and it is the default on a standard QBCore install. Running it on ESX is not a normal setup, and it is not built for that.

Qbox ships with ox_inventory, so a Qbox server already has the ox workflow in place. If you are choosing between QBCore and Qbox, the inventory choice often follows the framework choice.

How items are defined

The biggest practical difference for a server owner is the item file. Both are Lua tables, but the fields differ, and so do a few of the details.

In QBCore, items live in qb-core/shared/items.lua. A typical entry has a name, label, weight, image, unique, useable, shouldClose and description. The image value is the file name inside the inventory's images folder.

In ox_inventory, items live in ox_inventory/data/items.lua. A typical entry has label, weight, stack, close, description, and an optional client table that can hold the image.

The same bottle of water in QBCore style:

['water'] = {

name = 'water',

label = 'Water',

weight = 500,

image = 'water.png',

unique = false,

useable = true,

shouldClose = true,

description = 'A bottle of water'

},

And the same bottle in ox_inventory style:

['water'] = {

label = 'Water',

weight = 500,

stack = true,

close = true,

description = 'A bottle of water',

client = {

image = 'water.png'

}

},

The item key stays the same, which is what makes a move possible without renaming everything in your scripts. What changes is the fields around the key. stack marks an item as stackable in ox_inventory, and close closes the inventory when the item is used, the same job as shouldClose in QBCore. Item use also differs: qb-inventory reads useable and shouldClose, while ox_inventory handles use through exports and item fields, so a converted item still needs its effect checked.

Moving items between them

For a handful of items, copy each entry by hand and rename the fields. For a full item list, convert in bulk, because retyping hundreds of entries by hand invites typos.

A few things to watch during the move:

  • Both default setups count weight in grams, but servers often change the max weight, so compare a few known items before you trust the carry limits.
  • Images must exist in the inventory's images folder. A correct entry with a missing image shows a blank slot.
  • Usable items need their effect carried over, not just the item data.
  • Test on a fresh character. Older characters may still hold items saved in the old format.

Convert the full list only after the hand-copied test items work in game. If a converted item does not appear or cannot be used, the problem is in the fields, and finding it in one item is faster than in a hundred.

Our free converter tool turns QBCore items into ox_inventory items

Which should you choose

  • Pick ox_inventory if you want rich item metadata and one inventory that works across ESX, QBCore and Qbox. It also suits a server that may change framework later.
  • Pick qb-inventory if you run a QBCore-only server and want the default stack. It is already installed, most QBCore scripts expect it, and there is less to configure.

Neither is strictly better. The right pick depends on how much you value metadata and framework flexibility against the simplicity of the default QBCore setup. If you plan to add job scripts next, check what inventory they expect before you commit, because our free scripts are sorted by framework.

Before you edit either item file, copy it somewhere safe. A broken item table stops the inventory from loading, and a backup is faster than rebuilding a long list from memory.

Quick answers

  • ox_inventory: strong metadata support, runs on ESX, QBCore and Qbox.
  • qb-inventory: ships with QBCore, the default on a standard QBCore server.
  • Qbox uses ox_inventory by default.
  • Items live in qb-core/shared/items.lua and ox_inventory/data/items.lua.
  • Check weights and images when you move items.