Description
A working framework-agnostic stash-storage system: players own stash houses with tiered capacity, contents decay over time if left untouched, and a rival can force entry to drain the whole stash into their own pockets. This is the risk-bearing storage layer crime servers sell so product and cash are never truly safe.
Prompt Template
You are writing a FiveM resource for a generic framework via exports['gencore']:getObject().
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 lives at content/expected-outputs/drugs/28-stash-houses-robbable-storage.lua. It implements proximity open with an owner check, a forced-entry anim, a server rob handler thatβ¦
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 & Corrective Prompt
- Client-held contents β Claude stores stash items client-side; a modder reads or edits them. Keep the stash table server-authoritative.
- Client-side loot transfer β granting items to the robber on the client mints loot; move items with
addItemon the server. - One-sided net event β defining
stash:open/stash:robResulton one side breaks the round-trip; both sides useRegisterNetEvent+AddEventHandler. - Anim before load β
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+ aHasAnimDictLoadedwait loop.
Corrective re-prompt: "Store every stash's items, owner identifier, tier and decay timer on the server. In stash:rob, move each item to the robber via addItem and then empty the server stash β never grant items on the client. Gate stash:open so only the owner identifier may open it."
Framework Integration
- ESX: resolve with
exports['es_extended']:getSharedObject(); key ownership byxPlayer.identifierand grant loot withxPlayer.addInventoryItem. - QBCore: use
exports['qb-core']:GetCoreObject(); key byPlayer.PlayerData.citizenidand grant withPlayer.Functions.AddItem; pair the door with ox_doorlock. - QBox: use
exports.qbx_core:GetPlayer(src)andexports.ox_inventorystashes; ownership/decay logic is identical.
Profit Potential
$150β$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a stable, broadly-needed storage niche carries steady unit volume.
Trend Signal
β stable β corpus: Stash storage with raid risk is common; ox_doorlock doors + ox_inventory stashes are standard.
Sales Angle
The risk-bearing storage layer every drug economy needs β owned stashes with capacity tiers, decay, and forced-entry robbery that keeps product and cash genuinely at risk. Recommended Tebex price $189.
Difficulty & Ship Time
intermediate Β· ships in 5-7h.