A complete inventory system for RedM, implementing items, weapons, shops, stashes, and advanced features with multi-framework support.
β οΈ Work In Progress: This is an active development fork of ox_inventory adapted for RedM. Features are being added and refined.
- Server-side Security: All interactions with items, shops, and stashes are validated server-side
- Multi-Framework Support: Compatible with RSG, VORP, QRCore, and RedEM:RP frameworks
- Fully Synchronized: Multiple players can access the same inventory simultaneously
- Logging System: Comprehensive event logging for purchases, item movement, creation, and removal
- ox_target Integration: Full support for ox_target interaction system
- Native Prompts: Standalone mode uses native RedM prompts for interactions
- Slot-Based Storage: Items stored per-slot with customizable metadata for uniqueness
- RedM Weapon System: Complete RDR3 weapon implementation with dual-wield support
- Weapon Attachments: Full attachment and component system
- Ammunition Types: Support for various ammo types including special ammunition
- Durability System: Items can degrade or be depleted over time
- Item Effects: Secure internal item system for use effects
- Framework Compatibility: Works with 3rd party framework item registration
- Access Control: Group and license-based restrictions
- Multi-Currency: Support for different currencies (cash, black money, gold, etc.)
- Dynamic Pricing: Per-item pricing and stock management
- Interaction Modes: ox_target zones or native RedM prompts
- Personal Stashes: Player-specific storage with identifier linking
- Group Restrictions: Job/gang-based access control
- Dynamic Registration: Create new stashes from any resource
- Container Items: Access stashes through items like paperbags or backpacks
- Vehicle Storage: Glovebox and trunk access for vehicles (horses, wagons, etc.)
- Random Loot: Item generation in dumpsters and unowned vehicles
- Dual-Wield System: Support for dual-wielding pistols and revolvers (WIP)
- Weapon Wheel Toggle: Optional disable/enable of native weapon wheel
- Horse & Wagon Inventory: UUID-based storage for mounts and vehicles
- RDR3 Natives: Optimized for Red Dead Redemption 3 (RedM)
- Western UI Theme: Custom RedM-styled interface with period-appropriate fonts
- React 18 + TypeScript: Modern frontend stack
- Custom RedM Theme: Western-styled UI with authentic fonts
- Responsive Design: Adaptive layout for different screen sizes
- Item Notifications: Visual feedback for item actions
- Drag & Drop: Intuitive item movement
- Hotbar System: Quick access weapon/item slots
- RedM server
- One of the supported frameworks (RSG, VORP, QRCore, or RedEM:RP)
- MySQL database
- ox_lib
- ox_target (optional, but recommended)
-
Download & Extract
Download the latest release and extract to your resources folder -
Rename Script
Rename QC_OX_Inventory to be ox_inventory -
Database Setup
-- Import the provided SQL file (see INSTALLATION folder) -
RSG Core Money Items Fix (RSG Framework Only)
β οΈ CRITICAL: If using RSG Core, you MUST replace themoneyitems.luafile for proper functionality.Copy: ox_inventory/INSTALLATION/moneyitems.lua To: rsg-core/server/moneyitems.luaThis fixes:
- AddItem nil errors
- Circular dependency issues
- Money synchronization problems
- Player initialization timing issues
-
Configure
-- Edit data/items.lua, data/shops.lua, etc. to match your server needs -- Configure fxmanifest.lua if needed
-
Build UI (if modifying web files)
cd web npm install npm run build -
Add to server.cfg
ensure ox_lib ensure ox_target # Optional ensure ox_inventory -
Restart Server (Complete server restart, not just resource restart)
weaponWheel: Toggle weapon wheel (RedM only)dropmodel: Default drop bag modeltarget: Enable/disable ox_target integration
The script auto-detects your framework. Ensure your bridge files are properly configured in modules/bridge/.
- With ox_target: Uses zones and models defined in
data/shops.lua - Standalone: Uses native RedM prompts at location coordinates
All configuration is done through Lua data files in the data/ folder:
- items.lua: Item definitions and properties
- weapons.lua: FiveM weapon data (legacy)
- weapons_RDR3.lua: RedM weapon definitions
- shops.lua: Shop locations and inventory
- stashes.lua: Static storage locations
- vehicles.lua: Vehicle storage capacity
- containers.lua: Portable container definitions
- crafting.lua: Crafting bench and recipe data
- evidence.lua: Police evidence locker locations
- licenses.lua: License purchase locations
Each file contains detailed inline documentation.
Currently supported frameworks within RedM:
| Framework | Status | Notes |
|---|---|---|
| RSG | β Full Support | Primary development framework |
| VORP | π§ Planned | Bridge structure in place |
| QRCore | π§ Planned | Bridge structure in place |
| RedEM:RP | π§ Planned | Bridge structure in place |
This is a RedM-focused fork with the following changes:
- RedM Focus: A fully optimized ox_inventory for RedM
- Dual-Wield Weapons: Implementation for revolvers/pistols (Work in Progress)
- Native Prompts: Standalone mode uses RedM's native prompt system
- Western UI: Completely redesigned theme with RedM aesthetics
- Horse/Wagon Storage: UUID-based vehicle inventory system
- Multi-Framework: Support for multiple RedM frameworks (in progress)
- β Core inventory system
- β RedM weapon system
- π§ Dual-wield weapon support (in progress)
- β Shop system (ox_target + native prompts)
- β Vehicle storage (horses, wagons)
- β Container system
- β Crafting system
- β Western UI theme
- π§ Additional framework bridges (VORP, QRCore, RedEM:RP)
- π§ Advanced features and optimizations
- π§ Documentation expansion
Original ox_inventory:
- Copyright Β© 2024 Overextended https://github.com/overextended
- Original repository: https://github.com/communityox/ox_inventory
- Documentation: https://coxdocs.dev/ox_inventory
RedM Adaptation:
- Quantum Projects Development Team
- Community contributors
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
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/.
This is an unofficial RedM adaptation. For support:
- Quantum Projects Discord: https://discord.gg/kJ8ZrGM8TS
- Check inline code documentation
- Review data file examples
- Understand that this is work-in-progress
For original ox_inventory documentation:
Made with β€οΈ for the RedM community