Complete slot-based inventory system for FiveM with metadata support - Redesigned for 2025
Features • Preview • Installation • Documentation • Support
Completely redesigned UI with enhanced user experience and modern aesthetics
✅ Slot-Based Inventory - Advanced per-slot item storage with customizable metadata
✅ Multi-Framework Support - Compatible with ox_core, ESX, QBCore, and nd_core
✅ Weapon System Override - Complete weapon-as-items implementation
✅ Server-Side Security - All interactions validated server-side
✅ Synchronized Access - Multiple players can access the same inventory simultaneously
✅ Event Logging - Comprehensive logging for purchases, transfers, and item creation/removal
✅ Metadata Support - Full item uniqueness with customizable metadata
✅ Weapon Attachments - Complete attachment system for weapons
✅ Ammo System - Special ammo types and management
✅ Durability System - Items degrade or expire over time
✅ Item Effects - Secure internal item use handling
✅ Framework Integration - Compatible with 3rd party item registration
✅ Group Restrictions - Access control based on groups and licenses
✅ Multiple Currencies - Support for black money, poker chips, and custom currencies
✅ Dynamic Pricing - Configurable item prices and stock
✅ Purchase Logging - Complete transaction history
✅ Personal Stashes - Player-specific or identifier-linked storage
✅ Group Access - Restricted access based on player groups
✅ Dynamic Registration - Register new stashes from any resource
✅ Container Items - Paperbags, backpacks, and other container items
✅ Vehicle Storage - Gloveboxes and trunks for all vehicles
✅ Random Loot - Item generation in dumpsters and unowned vehicles
- FiveM Server (Latest Artifact Recommended)
- ox_lib (Required Dependency)
- oxmysql (MySQL Resource)
- One of the following frameworks:
- ox_core (Recommended)
- ESX Legacy
- QBCore/Qbox
- nd_core
- MySQL/MariaDB Database
Download the latest release and extract to your server's resources directory.
server-data/
└── resources/
└── ox_inventory/
├── fxmanifest.lua
├── data/
├── modules/
├── web/
└── ...
Ensure the following resources are installed and started before ox_inventory:
ensure ox_lib
ensure oxmysql
ensure [your-framework] # ox_core, es_extended, qb-core, or nd_core
The resource will automatically create necessary database tables on first start. Alternatively, you can manually import the SQL file if provided.
Edit the configuration files in the data/ folder to customize:
- Item definitions
- Weapon configurations
- Shop locations and inventories
- Stash settings
- Vehicle storage capacities
ensure ox_lib
ensure oxmysql
ensure ox_inventory
Restart your FiveM server or use:
refresh
ensure ox_inventory
Full documentation is available at:
https://overextended.dev/ox_inventory
Documentation includes:
- Item creation and registration
- Weapon configuration
- Shop setup and management
- Stash creation and usage
- API reference and exports
- Framework integration guides
- Advanced customization
- ✅ Ensure
ox_libis started beforeox_inventory - ✅ Check for errors in F8 console
- ✅ Verify framework is properly installed
- ✅ Clear FiveM cache (
%localappdata%\FiveM\FiveM.app\data\cache)
- ✅ Verify
oxmysqlis running correctly - ✅ Check database connection in
server.cfg - ✅ Ensure database tables were created
- ✅ Check server console for MySQL errors
- ✅ Ensure
setr inventory:framework "framework_name"inserver.cfg - ✅ Verify weapon items are properly registered
- ✅ Check weapon metadata configuration
- ✅ Review framework-specific weapon setup
- ✅ Reduce max inventory slots if needed
- ✅ Optimize database queries
- ✅ Limit simultaneous stash access
- ✅ Check for resource conflicts
exports.ox_inventory:RegisterItem('item_name', {
label = 'Item Label',
weight = 100,
stack = true,
close = false,
description = 'Item description',
client = {
usetime = 2500,
export = 'resource.function'
}
})
exports.ox_inventory:RegisterShop('shop_name', {
name = 'Shop Display Name',
blip = { sprite = 59, colour = 69, scale = 0.8 },
inventory = {
{ name = 'item_name', price = 10 },
{ name = 'item_name2', price = 25, currency = 'black_money' }
},
groups = { 'police', 'ambulance' }
})
exports.ox_inventory:RegisterStash('stash_id', {
owner = true,
slots = 50,
weight = 100000,
groups = { 'police' }
})
This version is a complete UI/UX redesign based on @l0d's redesign of the original ox_inventory by Overextended.
Original → @l0d → xoxo pistolas (onyx) (This Version)
- 🎨 Modern, clean interface design
- 🌈 Enhanced color scheme and contrast
- 📱 Improved responsive layout
- ✨ Smooth animations and transitions
- 🎯 Better item preview system
- 💎 Refined visual hierarchy
- ⚡ Optimized performance
- 🔄 Improved drag-and-drop mechanics
- 🔍 Better search and filtering
- 📊 Enhanced metadata display
- 🎮 Improved gamepad support
- 🚀 Faster load times
Copyright © 2025 xoxo pistolas (onyx) (2025 Redesign)
Copyright © 2024 @l0d (Base Redesign)
Copyright © 2024 Overextended (Original)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3.0 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
- Original Documentation: Overextended Docs
- Original Repository: overextended/ox_inventory
- Base Redesign: Lod-Resources/ox_inventory
- Discord: Contact onyx for support and questions
- Issues: Report Issues
- Community: Join our Discord server for updates and support
For any questions, suggestions, or support, feel free to reach out via Discord!
Original Development: Overextended Team
Base Redesign (2024): @l0d
2025 Redesign: xoxo pistolas (onyx)
Special thanks to:
- The original ox_inventory developers for creating an outstanding foundation
- @l0d for the initial redesign work
- The FiveM community for continuous feedback and support
If you find this redesign helpful, please consider giving it a ⭐ on GitHub!

