gta6/prompts
housing
Coreintermediatehousing

Per-House Storage Stash

Open a personal storage stash at a marker inside the house, backed by ox_inventory so its contents persist per owner.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~54 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-24

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())…

🔒 Eyes-only — locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$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,…

🔒 Eyes-only — locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$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. RegisterStash first, 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_inventory running; declare it as a dependency in fxmanifest.lua alongside qb-core.
  • For shared houses, key the stash id off the property id and check property_keys so 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.