π¦ HEX Rental Storage
Bring a complete rentable storage system to your FiveM server with HEX Rental Storage.
This system allows players to rent their own physical storage units with different sizes, capacities, slots, and weekly prices. Each player receives a real storage location they can travel to and access through ox_inventory.
Instead of giving players unlimited permanent storage, HEX Rental Storage creates an immersive weekly rental economy where players must continue paying for their unit to keep their stored items.
If a player fails to pay their weekly rental fee, the system can automatically terminate the rental, clear the storage, and make the unit available for another player.
Perfect for RP servers, economy servers, criminal RP, businesses, warehouses, and large communities looking for an immersive storage solution.
π’ Physical Storage Units
Every rental is connected to an actual physical storage location in the world.
After successfully renting a unit, the player automatically receives a GPS route directly to their storage.
Players must physically travel to their unit before they can access their inventory.
Features include:
β’ Individual coordinates for every storage unit
β’ Automatic GPS after renting
β’ Physical interaction points
β’ Configurable interaction distance
β’ Server-side distance validation
β’ Storage markers
β’ Personal storage blip
β’ /mystorage GPS command
This prevents players from remotely triggering their storage and creates a much more immersive rental experience.
π¦ Multiple Storage Sizes
Players can choose between different storage tiers depending on how much capacity they need.
Each tier can have its own:
β Storage weight
β Inventory slots
β Weekly rental price
β Display name
Example storage tiers include:
100 KG β 40 Slots
200 KG β 60 Slots
300 KG β 80 Slots
400 KG β 120 Slots
500 KG β 180 Slots
Every tier and price can be completely customized through the configuration.
π° Weekly Rental System
HEX Rental Storage includes a complete automatic recurring payment system.
Players pay the initial rental fee when taking a storage unit, then the server automatically handles future rental payments.
The system supports:
β’ Initial rental payments
β’ Automatic weekly payments
β’ Configurable rental duration
β’ Configurable payment intervals
β’ Bank account payments
β’ Online player payments
β’ Offline player payments
β’ Persistent payment tracking
Players don't need to be online for their rental payment to be processed.
β Automatic Rental Expiration
Players must have enough money available when their next storage payment becomes due.
If the payment fails, the system can automatically:
β Terminate the rental
β Remove access to the storage
β Clear persisted stash contents
β Make the storage available again
This creates consequences for maintaining rented storage and prevents inactive rentals from permanently occupying units.
Item deletion on failed payments can also be controlled through the configuration.
π Full ox_inventory Integration
HEX Rental Storage integrates directly with ox_inventory to provide proper persistent storage inventories.
Each rented unit becomes its own storage stash with capacity based on the selected rental tier.
Players can:
β’ Deposit items
β’ Withdraw items
β’ Store money/cash items
β’ Organize their inventory
β’ Access their storage from its physical location
Storage access is validated by the server to help prevent remote access exploits.
π‘ Server-Side Access Protection
Storage access isn't trusted entirely through the client.
When a player attempts to open their unit, the server verifies that they are actually close enough to the configured storage location.
Security features include:
β Ownership verification
β Server-side distance checks
β Physical access requirement
β Persistent rental verification
β Unique storage stash handling
Players cannot simply trigger the storage event from anywhere on the map to access their items.
π Automatic GPS System
Finding your rented storage is simple.
Immediately after renting a unit, the rental menu closes and a GPS route is automatically created to the player's new storage location.
Players can also use:
/mystorage
at any time to set their GPS back to their rented unit.
Perfect for servers with large warehouse areas or custom storage MLOs.
π₯ Modern Rental Interface
HEX Rental Storage includes a custom NUI rental interface designed to make choosing and managing storage simple.
Players can browse storage options and select the capacity that works best for them.
The interface handles:
β Storage tier selection
β Rental information
β Pricing
β Rental confirmation
β Current rental management
β Rental cancellation
β Built-in cancellation confirmation
The interface automatically releases NUI focus when renting or cancelling, helping provide a smooth player experience.
β Rental Cancellation
Players aren't permanently locked into their storage rental.
An active rental can be manually cancelled directly through the rental system.
The interface includes its own Yes / No cancellation confirmation to prevent accidental cancellations.
Once confirmed, the rental is removed and the unit can become available for another player.
π Discord Audit Logging
HEX Rental Storage includes extensive Discord webhook logging for server owners and staff.
Important rental and inventory activity can automatically be sent to your configured Discord webhook.
Logs include:
β’ Successful rentals
β’ Initial payment information
β’ Bank balance before/after payment
β’ Failed rental attempts
β’ Weekly rental renewals
β’ Failed weekly payments
β’ Lost/expired rentals
β’ Manual cancellations
β’ Storage openings
β’ Item deposits
β’ Item withdrawals
β’ Money/cash deposits
β’ Money/cash withdrawals
Inventory movement logging is connected to completed ox_inventory movements, providing useful information when investigating storage disputes.
π Storage Transaction Tracking
Need to investigate what happened to an item inside a rented storage?
HEX Rental Storage provides detailed audit information for successful inventory movements.
Staff can use the Discord logs to compare:
π₯ Items deposited
π€ Items withdrawn
π΅ Money deposited
πΈ Money withdrawn
π€ Player involved
π¦ Storage involved
This is especially useful when players report missing items or disputes involving shared account access.
πΊ Configurable Storage Locations
The resource supports multiple individual storage units, each with its own physical coordinates.
You can place units inside:
β’ Warehouses
β’ Storage MLOs
β’ Industrial areas
β’ Underground facilities
β’ Business properties
β’ Custom maps
The included configuration provides example storage locations that can easily be replaced with your own coordinates.
π§ Easy Configuration
HEX Rental Storage provides extensive configuration options.
Server owners can customize:
β’ Rental duration
β’ Payment check interval
β’ Payment account
β’ Currency symbol
β’ Initial payment requirement
β’ Failed-payment item deletion
β’ Interaction distances
β’ Storage access distances
β’ Rental office location
β’ Storage unit coordinates
β’ Storage tiers
β’ Storage weight
β’ Inventory slots
β’ Weekly prices
β’ Map blips
β’ Route colors
β’ Storage markers
β’ Discord logging
β’ Discord webhook appearance
β’ Failed-payment mentions
β’ Player messages
β’ Debug mode
This makes the resource easy to adapt to different economies and server styles.
π¦ Dependencies
HEX Rental Storage is built for ESX and integrates with the ox ecosystem.
Required resources:
β’ es_extended
β’ ox_inventory
β’ oxmysql
β’ ox_lib
β‘ Performance
Built with efficient client/server logic and configurable payment processing.
Performance characteristics:
β Configurable payment checks
β Server-side storage validation
β Persistent database rentals
β Efficient physical interactions
β ox_inventory integration
β Offline payment processing
β No unnecessary heavy gameplay loops
β Designed to support multiple storage units
π₯ Perfect For
HEX Rental Storage works especially well for:
π Serious RP servers
π° Economy-focused servers
π¦ Warehouse systems
π« Criminal organizations
π’ Player businesses
π Vehicle part storage
π₯ Large communities
πΊ Custom MLO storage facilities
Give your players a reason to manage their money while providing a useful and immersive place to keep their belongings.
π₯ Video
Soon