Personal Lockers
Overview
Rows of lockers where every character gets their own private storage. Players can upgrade their locker for more slots and weight; admins can open, clear or change any locker.
Rows of lockers where every character gets their own private storage. Players can upgrade their locker for more slots and weight; admins can open, clear or change any locker.
Features
- Any number of locker locations, each a row of locker props with an optional blip
- One private stash per character, with levels (slots / weight / price per level)
- Upgrade menu with cash or bank payment
- Shows used slots and weight before opening
- Admin menu + commands: open, clear, set level (by server id or citizen id)
- Server-side checks: lockers only open near a locker location, upgrades only go one level up and the price always comes from the config
- Database table is created automatically
Requirements
| Resource | Required |
|---|---|
| ox_lib (opens in a new tab) | Yes |
| oxmysql (opens in a new tab) | Yes |
| A framework (qb-core / qbx_core / es_extended) | Yes |
| An inventory with stashes | Yes – ox_inventory, qb-inventory, qs-inventory (others: bridge/inventory/server.lua) |
| A target script | Optional – falls back to a built-in "press E" prompt |
Last updated