gta6/prompts
housing
Vaultintermediatehousing

Self-Storage Unit Rental

ESX/QBCore/QBox off-property storage facility renting monthly lockup units, with server-billed rent, access gating, and an ox_inventory stash.

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
~92 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

An off-property self-storage facility: players rent a monthly lockup unit at a counter, then open their own access-gated stash at the unit door. The server bills the rent, enforces the paid-until date, and only serves the stash to the paid-up renter. It gives players without a house a place to stash gear and gives servers a recurring rent drain.

Prompt Template

You are writing a FiveM script for esextended (stable, exports-based…

🔒 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/21-self-storage-unit-rental.lua implements the counter rent and door-open prompts on the client and a server that bills rent, persists paiduntil,…

🔒 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 & Corrective Prompt

  • Unverified stash open — opening the stash on a bare client request lets anyone loot any unit.
  • Client expiry timer — access never lapses without a server os.time() check against paid_until.
  • Charge-before-check — a player is billed for an already-rented unit.

Corrective re-prompt: In the openUnit handler, SELECT the unit and require renter == requester identifier AND os.time() <= paid_until before firing storage:grantStash; in rentUnit, confirm renter IS NULL before removeMoney — never trust a client timer or open the stash unverified.

Framework Integration

  • ESX: as written — ESX.GetPlayerFromId, getMoney()/removeMoney(), identifier renter, ox_inventory stash.
  • QBCore: resolve with QBCore.Functions.GetPlayer(source), charge Player.Functions.RemoveMoney('cash', rent), key by citizenid; keep the ox_inventory stash export.
  • QBox: use exports.qbx_core:GetPlayer(source) with the same RemoveMoney/citizenid/ox_inventory pattern as QBCore.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex corpus (median seller $11.85K/mo, n=100), scaled up for a rising housing niche.

Trend Signal

rising — strategy: niche-selection.md housing=rising; MASTER-200 id-056 Storage Unit Network (off-property rentable units).

Sales Angle

Position as storage for the majority of players who don't yet own a house — a low-friction recurring rent sink. Recommended Tebex price $99.

Difficulty & Ship Time

intermediate · ships in 2-4h.