LJ Inventory
LJ Inventory delivers a polished drag-and-drop UI with category filters, smooth animations, and optimizations for high-population servers.
Overview
Developed as a community upgrade for QBCore, LJ Inventory replaces the stock qb-inventory
interface with a modern layout that resembles mobile inventory systems. It supports keyboard and controller navigation, includes crafting and shop interfaces, and exposes exports for custom integrations.
Feature Highlights
- Category tabs for weapons, food, medical, materials, and miscellaneous items
- Built-in crafting stations with progress bars and recipe previews
- Performance-focused NUI implementation that avoids unnecessary rerenders
- Improved search and sorting tools within stashes and vehicle storage
- Configurable hotbar with quickslot icons and custom keybind hints
Requirements
- QBCore framework (latest stable build)
oxmysql
for database communicationqb-core/shared/items.lua
access to register new metadata fields if neededqb-target
(optional) for crafting or stash interactions
Installation Steps
-
Download the LJ Inventory package and place it inside
resources/[qb]/lj-inventory
. -
Remove or disable
qb-inventory
to prevent duplicate exports or UI elements. -
Add the resource to
server.cfg
:ensure qb-core ensure lj-inventory
-
Import the included SQL migrations if the package adds new tables for stash persistence or crafting.
-
Copy any provided images into
lj-inventory/html/images
and runensure lj-inventory
to rebuild the UI cache. -
Update scripts that reference
qb-inventory
exports to the equivalents documented by LJ Inventory (most exports remain the same for compatibility).
Configuration Overview
config.lua
defines weight limits, slot counts, and default hotbar size.config.crafting.lua
(if included) lists recipe requirements and job restrictions.- UI variables (colours, fonts, layout sizes) can be edited in
html/css/app.css
. - Toggle advanced features such as quick-drop areas, grid view, or mobile layout in the configuration files.
Migration Tips
- Back up
shared/items.lua
and any custom stash scripts before switching. - Review the changelog for known conflicts with resources like
qb-shops
orqb-traphouse
and follow mitigation steps. - Provide staff with a cheat sheet showing new shortcuts and hotkeys.
- Encourage players to clear FiveM cache if the UI assets appear outdated after updates.
Troubleshooting
Issue | Resolution |
---|---|
Items disappear when dropped | Confirm drop handling is enabled in config.lua and that the cleanup script is running. |
Crafting recipes not visible | Ensure the job requirements and item names match your shared/items.lua entries. |
UI elements misaligned | Clear the NUI cache (lj-inventory/html ) and refresh the resource. Check for conflicting CSS from other scripts. |
Weight not updating | Verify that server events are calling the LJ Inventory weight calculation exports. |
Additional Resources
- Documentation or README included with the download
- Community video showcases highlighting UI themes and color schemes
- Advanced Inventory Systems guide for tips on evaluating other alternatives