Description
Per-vehicle trunk and glovebox stashes keyed to the license plate, each with a weight limit, so items live with that specific car rather than the player. The plate-binding plus strict server authority is the whole product — it must be impossible to dupe by re-opening, which is exactly where naive versions fail.
Prompt Template
You are writing an ESX FiveM Lua script. Build per-vehicle trunk + glovebox…
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/vehicles/21-trunk-glovebox-storage.lua keeps every stash and item move on the server keyed by a whitespace-normalized plate, enforces a weight limit…
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
- Dupe via client trust — tracking contents client-side lets a player re-open and clone items; the server must own the stash and validate every move.
- Plate split — un-normalized plates create two stashes for one car; strip whitespace.
- Anim T-pose — load the dict with the wait loop before
TaskPlayAnim.
Corrective re-prompt: "Players can dupe items from the trunk. Move the entire stash table and the add/remove logic to server.lua keyed by the normalized plate (gsub('%s+','')), validate xPlayer.getInventoryItem(item).count and the weight limit server-side before accepting a store, and have the client only send open/store requests."
Framework Integration
- ESX: native —
ESX.GetPlayerFromId,getInventoryItem,removeInventoryItemas shown. - QBCore: swap to
QBCore.Functions.GetPlayer(src)andPlayer.Functions.RemoveItem; key the stash withqb-inventory's stash API if present. - QBox: use
exports.qbx_core:GetPlayer(src)and preferox_inventoryRegisterStashkeyed by plate for the heavy lifting.
Profit Potential
$150–$2000/mo on Tebex (expected ~$600). [INFERRED] $50-389 script band (§2) × estimated units/mo for a stable niche, benchmarked against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo).
Trend Signal
→ stable — corpus: ox_inventory's trunk/glovebox stash is a heavily-used feature; standalone plate-bound storage for lighter stacks has steady demand.
Sales Angle
Sell it as the lightweight, plate-bound trunk for servers not running ox_inventory, leading with airtight server authority (no dupes) as the trust pitch. Recommended Tebex price: $90.
Difficulty & Ship Time
intermediate · ships in 1 day.