nx_inventory

FiveM免费库存系统,完全从零编写,使用TypeScript和React开发。它不是ox_inventory的分支或重写:它只是使用相同的API。它提供相同的导出和事件,并使用相同的数据库表,因此您可以替换它而无需更改其他资源。在QBCore上,它还提供qb-inventory的导出。
顶部标签页在库存、个人菜单(服装、搜身、放入车辆)和设置之间切换。
功能特性
- 服务器权威:数量、重量、价格、距离、权限和元数据都在服务器上检查。
- 库存关闭时没有循环。只有在使用时才运行所需的循环。
- 批量保存,使用单个数据库事务。
- 商店、储藏箱、后备箱、手套箱、丢弃、带附件的武器和弹药。
- 库存内的个人菜单(服装、搜身、放入车辆),具有按组权限。
- 物品搜索和过滤器。
- JSONC配置,128像素WebP图像。
- UI语言:西班牙语(
locales/es.json)。其他语言可以通过复制该文件添加。
性能
![]()
resmon在库存打开时:0.02 ms CPU和~620 KiB的内存。
库存关闭时没有循环运行,因此处于空闲状态。
框架
| 框架 | 状态 |
|---|---|
| Qbox | 支持 |
| QBCore | Beta |
| ESX (1.6+) | Beta |
QBCore和ESX目前仅针对模拟框架进行了测试。非常欢迎报告错误。
前置需求
- FXServer与Node 22和OneSync
- oxmysql
- Qbox、QBCore或ESX
- 可选:ox_target
下载
- 下载: Releases · Nxzt1/nx_inventory · GitHub
- GitHub: GitHub – Nxzt1/nx_inventory: FiveM的ox_inventory即插即用替代品(Qbox;QBCore & ESX在Beta测试中)。服务器端安全,React UI。最新:v0.1.0,从Releases下载nx_inventory.zip。 · GitHub
安装步骤在README中。首先删除ox_inventory(它们不能一起运行)。
致谢
代码是原创的。默认物品数据和物品图像来自[ox_inventory]( GitHub – overextended/ox_inventory: 基于槽位的库存系统,具有元数据。 · GitHub ) by Overextended (GPL-3.0),因此它可以使用相同的物品直接运行。
| 代码可访问 | 部分可读编译JS;GPL-3.0 |
| 基于订阅 | 否 |
| 代码行数(约) | ~15,000 |
| 依赖项 | oxmysql、OneSync、Qbox / QBCore / ESX |
| 支持 | 是(GitHub Issues) |
查看英文原文 (Original)
nx_inventory

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
![]()
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
| Framework | Status |
|---|---|
| Qbox | Supported |
| QBCore | Beta |
| 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
- Download: Releases · Nxzt1/nx_inventory · GitHub
- GitHub: GitHub – Nxzt1/nx_inventory: Drop-in ox_inventory replacement for FiveM (Qbox; QBCore & ESX in beta). Server-side security, React UI. Latest: v0.1.0, download nx_inventory.zip from Releases. · GitHub
Installation steps are in the README. Remove ox_inventory first (they can’t run together).
Credits
The code is original. Only the default item data and item images come from [ox_inventory]( GitHub – overextended/ox_inventory: Slot-based inventory with metadata. · GitHub ) by Overextended (GPL-3.0), so it works out of the box with the same items.
| Code is accessible | Partial (readable compiled JS; GPL-3.0) |
| Subscription-based | No |
| Lines (approximately) | ~15,000 |
| Requirements | oxmysql, OneSync, Qbox / QBCore / ESX |
| Support | Yes (GitHub Issues) |
本文资源搬运自 CFX.re FiveM 官方论坛,原作者:_Nxsty。原帖地址:https://forum.cfx.re/t/free-nx-inventory-built-from-scratch-ox-inventory-compatible-qbox-qbcore-esx-beta/5433864
![[免费] nx_inventory – 从头构建,与 ox_inventory 兼容 (Qbox / QBCore & ESX beta)-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/10/31c6f49b7320261028203509.jpeg)


![[插件按键对应编号][按键修改][键位查询]-Fivem论坛](http://f.sihuai.icu/wp-content/uploads/2026/03/d63f0844e220260306091608-scaled.png)

![[免费] WG Banking — 实体 ATM 屏幕显示,真实借记卡,完善的 SQL | QBox · QBCore · ESX-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/5/5/e/a/55ea691f13ad0f2545afeec1ce334a806d08d20d.jpeg)
![[免费] 指纹扫描仪-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/1/a/b/f/1abfb21417d58052e3af9a9a2c8a254821f2f058.jpeg)
![[免费] 3D GPS 带状指示器 & 路标信标-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/10/f61e4aeda720261019215155-800x450.jpeg)
![[ESX/QB-Core/Standalone] 传呼系统 (3D模型动画)-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/b/0/0/d/b00db1803cc0f74ae22a17ac5c129d6be72b04f0.gif)
![[免费] Bob Mulet Luxury | MLO [免费]-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/2/7/1/8/2718655d302d787f9ef4c36893d74d6812542b11.jpeg)
![[免费] El Gordo Lighthouse MLO-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/ce10679cd520261102203449-800x450.jpeg)

![[MLO] 车库与藏身处 [免费]-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/0fb3171ffa20261104203352-800x450.jpeg)
![[免费] Zyke’s 高级粉碎机 (FiveM, 同步, 自定义道具, 声音, 交互)-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/b/e/0/a/be0a64b2a67ece57ad3e8230430b1333e174fdd7.gif)
![[免费] FiveM 狗狗散步脚本 | 狗狗散步工作与日托中心 | ESX, QBCore, QBX-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/6/0/e/e/60ee47d4ad87758b0f288c94362e880253075aef.gif)
![[免费] 暂停菜单 | QBCore & Qbox | OchiDev-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/edd943b79820261104203632-800x424.jpeg)
![[免费] MZ Drugs Creator | 为 FiveM 定制的全功能药物系统-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/8e98e2799e20261104203651-800x450.jpeg)
![[免费] RD Fuel V1.0 – 拥有真实个性的加油站服务员-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/72a7e95eae20261104203755-800x450.jpeg)

暂无评论内容