Description
A storage chest tied to a house: the player presses E at a marker and opens an ox_inventory stash that is unique to them and saved between sessions. Reusing ox_inventory instead of hand-rolling an inventory avoids the entire class of item-duplication bugs that kill custom storage scripts.
Prompt Template
You are writing a FiveM script for QBCore (exports['qb-core']:GetCoreObject())…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua at content/expected-outputs/housing/07-house-stash.lua shows the marker prompt client-side and a server handler that builds a per-citizenid stash id, registers it with oxinventory,…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes
- Reinventing inventory — a custom NUI chest invites dupe bugs. Delegate to
ox_inventory:RegisterStash. - No server registration — opening a stash that was never registered server-side won't persist.
RegisterStashfirst, then open. - Shared stash id — a hardcoded id merges everyone's storage. Derive the id from the owner's citizenid (or property id).
Integration Notes
- Requires
ox_inventoryrunning; declare it as a dependency infxmanifest.luaalongsideqb-core. - For shared houses, key the stash id off the property id and check
property_keysso roommates open the same stash. - Test: drop an item in the stash, relog, reopen — the item should still be there; a second player should get a different, empty stash.
Profit Potential
$225–$2800/mo on Tebex (expected ~$800). [INFERRED] intermediate ox_inventory-backed stash scaled a touch below the $50-389 band center against the signal-scraper tebex corpus (median seller $11.85K/mo, n=100); leaning on ox_inventory keeps build effort and price modest.
Trend Signal
↗ rising — housing systems niche-selection 3.60; corpus ox_doorlock active.
Sales Angle
Position as the dupe-safe per-owner storage every house needs, delegated to ox_inventory so there is nothing to break. Recommended Tebex price $49.
Difficulty & Ship Time
intermediate · ships in 2-3h.