Discord: https://discord.gg/P3xRMkfuUr
devix-inventory is an EFT-style grid-based inventory system for FiveM. Items are placed on a width × height grid instead of fixed slots, so larger items occupy multiple cells.
Main features
- Grid inventory: Per-item width/height, drag-and-drop, rotate (R), draggable inventory window.
- Multiple inventory types: Player inventory, stash, trunk, glovebox, bag, ground drop, crafting, shop — all configurable (rows/cols, max weight).
- Bag system: Certain items (e.g. clothe_bag, weapon_briefcase) have their own inventory; using them opens a second panel. Bag contents contribute partially to total weight; equipped bags can only be opened when in the clothing slot.
- Clothing slots: Hat, glasses, mask, shirt, pants, shoes, vest, bag, accessory, etc., with devix-appearance support, equip/unequip animations, and configurable default “naked” appearance.
- Weapon handling: Equip, drop, attachments, tints; exports for death/lock integration.
- Quick slots: Numpad/custom keys for slots 1–6.
- Transfer: Progress bar and weight-based duration when moving between drop, trunk, bag, stash; optional transfer animation.
- Audio: 3D sound for eat/drink, crafting, etc. (distance-based).
- Durability: For configured items plus weapons and food/water.
- Shops & crafting: Shops defined in config; crafting in config_crafting.lua.
- Exports: Server and client APIs for opening inventories, stash/trunk/bag/drop, add/remove items, load clothes, weapon state, death lock (SetInventoryDeathLock), and more for use by other resources.
Framework: Compatible with QB-Core / devix-core; items come from shared items. Supports oxmysql, mysql-async, or ghmattimysql.