Installation
Installation of SCode Inventory + Hud
Supported Core
QBCore
QBox
ESX
ox_core
Standalone
Requirements
OneSync enabled (
set onesync on) and a recent server artifactoxmysql with MySQL or MariaDB (recommended). Without it, data is stored in KVP, which is only meant for small or test servers.
- Drag and drop
Put the
rr_inventoryandrr_hudfolders into yourresourcesfolder. Keep the folder namerr_inventory. - Remove your old inventory
Two inventories can't run at the same time. Remove
ox_inventory,qb-inventory,tgiann-inventory,qs-inventoryorcodem-inventoryfrom your server, or delete theirensurelines. - Start order
Start the inventory right after your framework and before every script that uses the inventory:
Codeensure oxmysql ensure qb-core # or qbx_core / es_extended / ox_core ensure rr_inventory ensure rr_hud - Admin permission
Add the ACE permission for the admin panel and admin commands to your
server.cfg:Codeadd_ace group.admin rr_inventory.admin allowqbcore.admin/qbcore.god(QBCore) andgroup.admin(ESX) are accepted as well. - Choose a preset (optional)
The default preset is
roleplay. To use another one, set it inserver.cfg:Codesetr rr_inventory:preset "pvp"See
Configuration for the presets. - First start
Start the server. On the first start:
the MySQL tables are created automatically;
an existing KVP save is imported into MySQL once;
rr_storage statusin the console shows the storage state.
The tables are created with CREATE TABLE IF NOT EXISTS. Run install.sql by hand only if your database user isn't allowed to create tables.
config/, locales/, server/framework/ and server/bridge.lua are open. Keep your own changes in these files.
Framework notes
QBCore: items are added to
QBCore.Shared.Items, thecashitem is synced with the cash account andPlayer.Functions.AddItemand the other player functions use the inventory. For qb-weapons, setweapons.mode = 'qb-weapons'.QBox:
qbx_coreis detected automatically.ESX:
moneyis synced withcashandblack_moneywithdirty_cash.xPlayer.inventoryis kept up to date.ox_core: cash is the
moneyitem in the inventory, no sync needed.Standalone: the owner is the FiveM license. Stash groups use ACE (
group.<name>).
Troubleshooting
Problem | Fix |
|---|---|
| Start |
No | The old inventory is still in your resources or still started. The compatibility exports only work while the original isn't running. |
Console says oxmysql was not found and records are kept in KVP | Start |
| MySQL can't write. Check the connection and disk. |
Config error, inventory doesn't open | The console message names the wrong key. Fix that value and restart. |
Item picture missing | Put a PNG at |
Items gone after a config change? | No. Items that no longer fit go to the overflow box ( |
Admin panel doesn't open | Check |
Set MySQL max_allowed_packet to at least 16M.
Last updated: December 6, 2026