Description
A QBCore general store: the player approaches a marker, presses E, and a NUI catalog opens. They pick an item, choose cash or bank, and the server checks funds, removes money, and grants the item. This is the standard buy-side of the economy for convenience stores, gun shops, and clothing stands.
Prompt Template
You are writing a FiveM resource for qb-core.
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/economy/04-shop-buy-items.lua draws a proximity marker + 3D text, opens a NUI catalog, and on purchase the server looks up its own price table, clamps…
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
- Client-priced purchases — taking
pricefrom the NUI payload lets a cheater set it to 0. Require a server-owned price table. - Unclamped quantity — a giant qty buys absurd stacks or overflows. Require a
math.max/math.minclamp. - Client inventory writes —
AddItemon the client is not authoritative. Require it server-side. - Account spoofing — an arbitrary account string can hit unexpected balances. Whitelist to
cash/bank.
Integration Notes
client.lua handles the marker + NUI; server.lua validates and grants. Declare both in fxmanifest.lua plus the ui_page/files for the NUI. Depends on qb-core and your inventory resource for AddItem. Test: stand on the marker, buy 2 water on bank, confirm bank drops by 10 and two water appear in inventory.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [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 rising economy niche.
Trend Signal
↗ rising — [INFERRED] banking/economy is core RP-server infrastructure, steady demand.
Sales Angle
Position as a one-script storefront for QBCore/QBox — config-driven catalogs, cash-or-bank checkout, fully server-priced. Resell it as the backbone for every shop on the map. Recommended Tebex price: $69.
Difficulty & Ship Time
intermediate · ships in 3-5h.