OverflowOverflow
Stash

Installation

of_stash is a standalone stash & storage-unit creator. It works across frameworks and inventories through a bridge layer, so the only hard dependency is a database.

Requirements

ResourceRequiredNotes
oxmysqlYesDatabase access
InventoryRecommendedox_inventory recommended; QBCore/ESX adapters included
TargetOptionalox_target or qb-target. Falls back to a marker + key
ox_libOptionalUsed when present for notifications and the code-entry dialog

Framework, inventory and target are auto-detected. Pin them in config/config.lua if you prefer.

Steps

Drop of_stash in your resources folder

Head to Portal CFX and download the latest version, then extract it into your resources folder. The UI ships prebuilt in dist/: no build step needed.

Ensure it after its dependencies

server.cfg
ensure oxmysql
ensure ox_inventory   # your inventory
ensure ox_target      # optional

ensure of_stash       # <-- after the above

Database

The of_stashes table is created automatically on first start. No manual import is required. Importing of_stash.sql by hand is optional.

Item contents

Stash contents are stored by your inventory (e.g. ox_inventory), not in this table.

Grant admin access

Give yourself the admin tool (/stashadmin) with an ace:

add_ace group.admin of_stash.admin allow

Or rely on your framework admin group: admin, god and superadmin are allowed by default. Adjust in config/config.lua:

Config.Admin = {
    ace    = 'of_stash.admin',
    groups = { 'admin', 'god', 'superadmin' },
    jobs   = {},
}

Start the server

Open the admin tool in-game with /stashadmin to create your first stash.

Nothing happens on /stashadmin? Confirm your account matches the ace or a group in Config.Admin, and check the console for a successful framework/inventory detection line.

On this page