Inventory nx_inventory – Built from scratch, ox_inventory compatible (Qbox / QBCore & ESX beta)

1 Followed
306 Follower

Adrian_chupi

Admin

Aug 13, 2023

3,183 Mesaj

8,928 Reaction

0 Solution

113

First Message

100 Messages

500 Message

1K Message

No reward!

Joined
Aug 13, 2023
Messages
3,183
Reaction score
8,928
Points
113
Location
SPAIN
Credits
2,125


A free inventory for FiveM, written from scratch in TypeScript and React. It is not a fork or a rewrite of ox_inventory: it just speaks the same API. It answers the same exports and events and uses the same database tables, so you can swap it in and your other resources keep working without changes. On QBCore it also answers qb-inventory’s exports.

The top tabs switch between the inventory, the personal menu (clothing, frisk, put in vehicle) and settings.

Features​

  • Server-authoritative: amounts, weight, price, distance, permissions and metadata are all checked on the server.
  • No loops while the inventory is closed. The ones that are needed only run while they’re in use.
  • Batched saves in a single database transaction.
  • Shops, stashes, trunks, gloveboxes, drops, weapons with attachments and ammo.
  • Personal menu inside the inventory (clothing, frisk, put in vehicle) with per-group permissions.
  • Item search and filters.
  • JSONC config, 128 px WebP images.
  • UI language: Spanish (locales/es.json). Other languages can be added by copying that file.

Performance​

image


resmon with the inventory open: 0.02 ms CPU and ~620 KiB of memory.
With the inventory closed there are no loops running, so it sits at idle.

Frameworks​


FrameworkStatus
QboxSupported
QBCoreBeta
ESX (1.6+)Beta
QBCore and ESX have only been tested against simulated frameworks so far. Bug reports are very welcome.

Requirements​

  • FXServer with Node 22 and OneSync
  • oxmysql
  • Qbox, QBCore or ESX
  • Optional: ox_target

Download​

Installation steps are in the README. Remove ox_inventory first (they can’t run together).
 

Topics

5,509

Messages

9,353

Members

53,638

Latest member

VInn

Top