About this resource
F4 Inventory – Advanced FiveM Inventory Script for ESX, QBCore and Qbox
F4 Inventory is a modern, optimized and feature-rich FiveM inventory script developed by F4 Studio for ESX, QB-Core and Qbox/QBX servers.
Built for server owners who want to upgrade their inventory without rewriting every existing resource, F4 Inventory provides compatibility with ox_inventory, qb-inventory and ESX inventory systems, alongside an advanced migration tool that makes switching inventories faster and safer.
Easy Migration from ox_inventory and qb-inventory
Changing your FiveM inventory system no longer needs to become a complete server rebuild.
F4 Inventory can import existing data and configurations from:
- ox_inventory
- qb-inventory
- QB-Core shared items and weapons
- QBX Core shared items and weapons
Supported migration data includes:
- Items and weapons
- Item images
- Player inventories
- Shops
- Stashes
- Crafting recipes
- Evidence lockers
- Stash inventories
- Vehicle trunk inventories
- Vehicle glovebox inventories
Database backups are automatically created before supported SQL data is imported, helping make the migration process safer for live FiveM servers.
Supported FiveM Frameworks
F4 Inventory supports:
- ESX
- QB-Core
- Qbox / QBX
The active framework can be detected automatically or selected manually through the configuration.
Modern and Customizable Inventory UI
F4 Inventory provides a clean and modern FiveM inventory interface designed for both usability and performance.
Main UI features include:
- Drag-and-drop item management
- Double-click item usage
- Right-click action menu
- CTRL quick transfer
- Item search
- Category filters
- Inventory weight display
- Item metadata display
- Amount slider and input
- Item usage notifications
- Custom accent color
- Customizable UI sounds
- English and Turkish locale support
Complete FiveM Inventory System
F4 Inventory includes the inventory types required by modern roleplay servers:
- Player inventory
- Nearby player inventory
- Shops and weapon shops
- Admin shop system
- Police armories
- Black market shops
- Public and job-restricted stashes
- Police evidence lockers
- Vehicle trunk inventory
- Vehicle glovebox inventory
- Ground drops
- Crafting benches
- Temporary stashes
- Custom containers
Advanced Shop System
Create fully configurable shops for different server scenarios.
Supported shop features include:
- Normal shops
- Weapon shops
- Police armories
- Black market shops
- Job-restricted shops
- Group-restricted shops
- Multiple currencies
- Item-based currencies
- Weapon license checks
- NPC shops
- Shop blips
- Target zones
- Model targets
- Markers
- Draw text interaction
Existing ox_inventory shop configurations can also be migrated quickly through the F4 Inventory import system.
Vehicle Trunk and Glovebox Inventory
F4 Inventory includes secure, plate-based storage for vehicle trunks and gloveboxes.
Vehicle storage features include:
- Plate-based inventory saving
- Configurable slot limits
- Configurable weight limits
- Vehicle class-based trunk sizes
- Optional trunk door animation
- Player distance checks
- Server-side validation
This allows compact cars, SUVs, vans and trucks to have different storage capacities.
Hotbar and Fast Slot System
Players can quickly access their most important items using the built-in hotbar.
- First five inventory slots work as fast slots
- Hold TAB to display hotbar items
- Use number keys for quick item usage
- Fully synchronized with the main inventory
Advanced Weapon Inventory
F4 Inventory includes a complete weapon management system with support for:
- Weapon durability
- Optional weapon breaking
- Ammo metadata
- Weapon reloading
- Weapon tint support
- Weapon attachments
- Attachment management menu
- Attachment removal
- Weapon repair and cleaning
- Police-only weapons
- Current weapon synchronization
- Visible back weapon props
Weapons preserve their ammo, durability, components and metadata instead of behaving like standard inventory items.
Clothing and Equipment Slots
F4 Inventory includes dedicated equipment slots for:
- Hats
- Masks
- Glasses
- Earrings
- Shirts
- Vests
- Gloves
- Watches
- Pants
- Shoes
- Bags
- Accessories
- Decals
- Outfits
Supported appearance resources include:
- qb-clothing
- fivem-appearance
- illenium-appearance
- ESX skinchanger
- esx_skin
- esx_clotheshop
The synchronization system helps prevent equipped clothing items from becoming overwritten or desynchronized after outfit and skin changes.
Crafting and Evidence Systems
Create custom crafting benches with:
- Required item checks
- Recipe previews
- Craft amount selection
- Missing item display
- Job and group restrictions
- Target, marker and blip support
Police evidence lockers can be configured with custom access permissions, labels, locations and interaction distances.
Drops and Player Robbery
The built-in ground drop system includes:
- Item drop props
- Configurable drop slots and weight
- Drop cleanup timers
- Pickup and drop animations
- Target support
- Local drop streaming
The player robbery system also includes distance checks, cooldowns, optional weapon requirements, progress bars and hands-up animation validation.
Admin Tools and Logging
Included admin commands:
- /giveitem
- /clearinv
- /adminshop
Admin permissions support ACE permissions, QB/QBX permissions and ESX groups.
Logging integrations include:
- Discord webhooks
- FiveManage
Separate logs can be configured for inventory actions, item usage, weapon actions, shops, drops, item giving and inventory clearing.
Optimized Inventory Performance
F4 Inventory is designed to reduce unnecessary SQL usage through:
- Inventory caching
- Deferred saving
- Save batching
- Failed-save retries
- Automatic saves on logout
- Automatic saves on resource stop
- Cached inactive inventories
Instead of writing to the database every time an item changes slots, inventory data is handled through a more efficient saving system.
Compatibility and Developer Support
F4 Inventory includes native exports alongside compatibility exports and events for ox_inventory, qb-inventory and ESX-based resources.
Available functionality includes:
- Add and remove items
- Check item quantities
- Search inventory items
- Get inventory slots
- Set item metadata
- Clear inventories
- Register stashes
- Register shops
- Open and close inventories
Hook support is also included for inventory opening, item creation, purchases and crafting, allowing developers to add custom validation, protection and server-specific logic.
Interaction System Support
F4 Inventory works with:
- ox_target
- qb-target
- ox_lib TextUI
- Draw text
- Markers
- NPC interaction
- Model targets
- Box zones
Server owners can choose between target-based interactions and traditional press-key interactions.
Why Choose F4 Inventory?
F4 Inventory is built for FiveM server owners searching for:
- A modern FiveM inventory script
- An ESX inventory system
- A QBCore inventory script
- A Qbox inventory script
- An ox_inventory alternative
- A qb-inventory alternative
- An easy inventory migration system
- A customizable inventory UI
- Advanced weapon and clothing inventory features
- Optimized inventory saving and database performance
Upgrade your server with a complete inventory system without spending days rebuilding existing scripts.
F4 Inventory — Changing your inventory has never been this easy.