Ox_inventory safepocket addon

Ox_inventory safepocket addon

$9.99

Add to Basket

Safe Pocket | Advanced VIP Inventory Extension

Safe Pocket is an advanced, highly optimized VIP inventory extension built specifically for ox_inventory. It allows server owners to effectively monetize their servers while providing players with a seamless and secure secondary storage system.


Key Features

  • Live Sync: Uses FiveM StateBags for instant client-server communication with no performance drops.

  • Secure: Items are validated server-side using ox_inventory hooks, preventing exploits.

  • Dynamic UI: Features a beautiful, scaling UI that automatically adapts to the inventory screen and displays real-time countdowns.

  • Multi-Framework: Works seamlessly on ESX, QBCore, and Standalone servers right out of the box.


Realistic Confiscation & NPC System

When a player's VIP expires, the system follows a realistic roleplay flow:

  1. Grace Period: Players can no longer put items in, but they can still take items out of their safe.

  2. Confiscation: After a configurable amount of days, the safe is wiped, and contents are moved to the "Debt Collector" NPC.

  3. Recovery: Players visit the NPC to preview their confiscated items and pay a fine to recover them.


Police Searches & Consent

Law enforcement can interact with a suspect's Safe Pocket if permitted:

  • Job Access: Define exactly which jobs and grades have the authority to search pockets.

  • Consent Dialog: If enabled, suspects receive a prompt to "AGREE" or "DECLINE" the search, notifying the officer of the choice.


Tebex Integration & VIP Transfer

  • Automated Delivery: Configure Tebex to automatically grant VIP status using the built-in command:

    add_safepocket {sid} 30 gold {transaction}

  • Transfer System: Players can transfer their Safe Pocket to another character or friend using their Tebex Transaction ID via command.

  • Account Locking: Choose whether codes can only be used by the same Rockstar license or if they can be gifted to others.


 VIP Package Configuration (Tiers)

PackageSlotsSafe WeightInventory Bonus
Bronze3 slots10 kg+5 kg
Silver5 slots25 kg+10 kg
Gold10 slots55 kg+20 kg

Technical Management

  • Keybind Management: Choose between server-locked keys (static) or allow players to set their own (keybind).

  • Item Filtering: Support for both Whitelist (only specific items allowed) and Blacklist (all items allowed except specific ones) modes.

  • ACE Permissions: Easily manage administrator access for commands like /removevip via server.cfg.

  • Editable Code: Simple integration for custom notification or dialog systems.

b99d630434d1a1c423bb7ccbef9d296fdc819e49.png

39eb959d040d1a94342b754ce39e4295e81f2509.png

42492609cb2a08efb49c4ff1bf362593bf4a3ef1.png

Config.lua

36a57b54abfc511e5c3f61f817f6d727a995f853.png

Dependancies: ox_inventory, ox_lib, ox_target or qb-target

fbc2ab9277961a3e14f7cabc21d2dfe5da012603.png

b1e77a075c5a7c2763a0873ad3be36492f9a81c5.png

a964170e89eb9a17e96713c1741df2587d8954d1.png