Description
A deployable stash crate for ESX/QBCore: the player drops a lockable storage crate prop in the world, fills it, and can pack it back into a carriable item to relocate it elsewhere. The server owns crate ownership and contents and gates both the spawn and the pack-back, so storage and the crate item itself cannot be duplicated.
Prompt Template
You are writing a FiveM resource for esextended (stable, exports getSharedObject).
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/crafting/05-deployable-stash-crate.lua implements a model-loaded prop spawn, a server crate:deploy that consumes the carriable item before spawning, andβ¦
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
- Unloaded model β
CreateObjectbefore the model loads spawns nothing. RequireRequestModel+ theHasModelLoadedwait loop. - Theft / dupe on pack β packing a crate you do not own, or one with items still in it, dupes loot. Gate on
ownerand an emptycontents. - Client-side item consume β refunding/consuming
stash_cratein NUI lets the bag deploy infinitely. Do it in the server only.
Corrective re-prompt: "Consume and refund the stash_crate item server-side only, load the prop model with RequestModel and a HasModelLoaded wait before CreateObject, and allow crate:pack only for the crate owner when its contents table is empty."
Framework Integration
- ESX:
exports['es_extended']:getSharedObject();getInventoryItem/removeInventoryItem/addInventoryItemgate the crate item. - QBCore:
exports['qb-core']:GetCoreObject(),QBCore.Functions.GetPlayer(source); usePlayer.Functions.RemoveItem/AddItem. - QBox:
exports.qbx_core:GetPlayer(source); back the crate contents with an ox_inventory custom stash keyed by crateId.
Profit Potential
$150β$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 standalone-script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo) for a stable storage niche.
Trend Signal
β stable β corpus: ox_inventory stashes are native; deployable-prop stash variants are a steady tebex_topsellers category (distinct from a static house stash).
Sales Angle
The relocatable-storage upgrade over static house stashes β deploy it anywhere, fill it, pack it, move it. Recommended Tebex price: $69.
Difficulty & Ship Time
intermediate Β· ships in 1 day.