This page takes you from the downloaded package to a running Obsi Inventory with admin access. It replaces an existing ox_inventory, or installs fresh.
Requirements
| Requirement | Notes |
|---|---|
| FiveM server build 6116 or newer | With OneSync enabled |
oxmysql | Database access |
ox_lib | Must start before the inventory |
| A framework | ESX Legacy, Qbox, ox_core or ND Core |
illenium-appearance or fivem-appearance | Optional: real clothing images and saving the appearance after a change |
ox_target | Optional: target options for shops, stashes, dumpsters and trunks |
Install
-
Put the resource in place
Unpack the package into your resources folder and name the folderox_inventory. If you already run ox_inventory, move the old folder out ofresourcesfirst, so only one copy starts. -
Add it to server.cfg
Start the dependencies first, then the inventory:server.cfgensure oxmysql ensure ox_lib ensure es_extended # your framework ensure illenium-appearance # optional ensure ox_inventory setr inventory:framework esx # esx / qbx / ox / nd setr inventory:slots 35 # 5 pockets + 20 base slots + 10 backpack slots setr inventory:target false # true = use ox_target for shops and stashes add_ace group.admin command.invadmin allow -
Start the server
Theobsi_inv_*tables are created on the first start. There is no SQL file to import. -
Open the admin panel
Type/invadminin chat. Players with thegroup.adminace get every page. Give other staff a role on the Permissions page.
Item images
Put PNG images named after the item into web/images/, for example web/images/backpack_large.png.
Until an image exists, the slot shows an icon instead.
The items that ship with Obsi Inventory are clothing, clothing_hanger, backpack_small, backpack_large, armor_vest, plate_light, plate_medium, plate_heavy and tint_1 to tint_7.
Check it works
- Press
F2(the default key, set by theinventory:keysconvar) and the three-column console opens. - The pockets at the bottom left show slots 1 to 5.
- Under the grid, NEED A BACKPACK shows the locked backpack slots.
/invadminopens the ADMIN PANEL tab.
Building from source
Release packages already contain the built interface. If you work from the source repository, build it yourself:
pnpm --dir web install
pnpm --dir web build