Inventory Clean
An ox_inventory redesign with colour-coded rarities, a right-click menu, give to nearby players, item history and a full admin panel.
What's included
Inventory Clean is a full redesign of ox_inventory 2.45: a new interface, an in-game admin panel and roleplay tools, all set up from one config file (nexo_config.lua). Works with QBox, ESX, ox_core and ND_Core, in 6 languages.
| Feature | What it does | Since |
|---|---|---|
| Rarity colours | Common, uncommon, rare, epic and legendary, at a glance | 1.0 |
| Per-player theme | Colour, blur, slot size, sounds and language. Job colour by default | 1.0 |
| Shops and crafting | Shops with a cart; recipes showing ingredients you have and miss | 1.1 |
| Right-click menu | Use, give, split, inspect, drop, ammo, serial and attachments | 1.2 |
| Give to nearby players | Pick from a list or drag the item onto their character | 1.2 |
| Sort | By type, rarity or weight. Merges stacks and keeps the hotbar | 1.3 |
| Expiry | Food and medicine show the time left | 1.3 |
| Search progress bar | Searching a player takes a few seconds and notifies them | 1.3 |
| History and economy | Per-player history with returns and an economy tab | 1.3 |
Requirements
| Resource | Required? | What for |
|---|---|---|
oxmysql | Yes | Data, history and economy |
ox_lib | Yes | ox_inventory dependency |
| OneSync | Yes | Required by ox_inventory |
| Framework | Yes | QBox, ESX, ox_core, ND_Core |
ox_target | Optional | Zones for shops, stashes and benches. Without it, press E |
Installation
- Back up Your current ox_inventory,
data/items.lua, any data files you changed (weapons.lua,shops.lua,stashes.lua…) andweb/images. - Download the resource From keymaster.fivem.net → Granted Assets.
- Replace the folder Put the new
ox_inventoryfolder in resources and copy your files from step 1 back in. - Check your server.cfg Set your framework and the start order.
ensure oxmysql ensure ox_lib ensure qbx_core # or es_extended / ox_core / ND_Core ensure ox_target # optional ensure ox_inventory setr inventory:framework "qbx" # qbx | esx | ox | nd
- Restart the server The interface comes prebuilt: no Node or pnpm needed.
Configuration
Every Inventory Clean setting lives in `nexo_config.lua`, at the root of the resource.
| Key | What it does |
|---|---|
defaultTheme | Starting look for players: accent, blur, slot size, sounds and language |
jobColors | Accent colour per job, until the player picks their own |
features | Turn off the player card, clothing, shop UI, crafting UI or hotbar |
admin | Panel command and the ACE group allowed to open it |
give | Give distance, character names or just IDs, and marker colour |
sort | keepHotbar: don't move slots 1–5 when sorting |
search | Enable the search progress bar and its duration in ms |
history | Enable item history and the days kept |
discord | Webhook URL per log type and an optional item filter |
points | Shops, stashes and benches from the panel: ox_target or E key, distance and blip |
updateCheck | Version notice on server start |
Admin panel
Open it with `/inventory:admin`. By default group.admin can use it. To allow another group:
add_ace group.mod command.inventory:admin allow
- Items and consumables: create and edit items live; hunger, thirst, stress, animation and hand prop. "Test on my character" without using anything.
- Shops, stashes and crafting benches: built in game with "Use my position". Saved to
data/nexo_points.jsonand appear without a restart. - Who has it?: find which online players carry an item and how many.
- Players: view, open, give, confiscate, return or clear inventories, and open each player's history.
- Economy: money in circulation, shop spending per day, best sellers, most crafted, most owned items and richest players.
- Log: who did what and when (also in the server console).
Rarities and images
Add rarity to any item in data/items.lua. Values: common, uncommon, rare, epic and legendary. Without rarity, it shows as common.
['goldbar'] = { label = 'Gold bar', weight = 1000, rarity = 'legendary', },
Images are read from web/images/ by item name (water.png, WEAPON_PISTOL.png…). Use transparent PNGs around 128×128 px so the rarity colour shows behind them.
Expiring items
Expiry uses ox_inventory's degrade field, in minutes. The time left shows on the slot (green, yellow and red), in the tooltip and in Inspect.
['burger'] = { label = 'Burger', weight = 220, degrade = 2880, -- 2 days },
Item history
The nexo_item_history table is created automatically on start. It records gives, receives, drops, pickups, stash moves, purchases, crafting, used items and searches. Rows older than history.days are deleted on start.
In Players → clock icon, "Return" gives the item back with its original data (serial, durability). The player must be online.
Discord logs
Paste a webhook URL for each log you want. Empty means off. onlyItems limits logs to the listed items.
discord = {
webhooks = {
admin = 'https://discord.com/api/webhooks/...',
give = '',
drop = '',
shop = '',
craft = '',
},
onlyItems = {}, -- e.g. { 'WEAPON_PISTOL', 'money' }
},Notices and languages
A card with the item image appears on the right when using, equipping, holstering, dropping, giving, receiving or losing an item. To turn them off:
setr inventory:itemnotify false setr inventory:weaponnotify false
The interface is in English, Spanish, French, German, Italian and Portuguese. The default is the server language (setr ox:locale en) and each player can change it in Customize → Language.
Update check
Set updateCheck.url to a JSON file you host. The console shows a notice when its version is newer than the installed one.
{ "version": "1.3.0", "changelog": "Sort button, expiring items, history, economy" }FAQ
Does it replace my ox_inventory?
Yes. It's a redesign of ox_inventory and installs in its place, with the same resource name (ox_inventory).
Does it work with QBCore or ESX?
It works with QBox, ESX, ox_core and ND_Core. Classic QBCore isn't supported by current ox_inventory.
The panel says I don't have permission
Your group needs the ACE `command.inventory:admin`. Check it with `test_ace` in the server console.
Shops or benches from the panel don't open
With ox_target started they use target zones; without it, walk up and press E. Check `points.distance`.
History or economy is empty
Make sure `history.enabled = true` and oxmysql connects. Purchases and crafting only appear after they happen.
New texts appear in English
Choose the language in Customize (gear icon) or set `defaultTheme.lang`.
Do I get updates?
Yes, for free. New versions appear in your Keymaster and we announce them on Discord.
What if something doesn't work?
Open a ticket on our Discord with the console error and we'll help you.
Changelog
- Sort button (type, rarity, weight) with stack merging
- Expiry time on slots, tooltips and the inspect window
- Search progress bar and a notice for the searched player
- Crafting benches from the admin panel
- Per-player item history with one-click returns
- Economy tab
- Documentation in English and Spanish
- New right-click menu with icons
- Split and inspect windows
- Give to nearby players and drag onto a player
- Fix: Drop now always goes to the ground
- ESX, ox_core and ND_Core support
- Shops with a cart and new crafting UI
- Shops and stashes from the panel, "Who has it?"
- Discord logs, update check and a single config file
- First release