Description
A QBCore black-market dealer whose inventory is a random subset of a larger pool, rotating every N minutes with limited quantities and cash-only prices. The server owns the current stock and decrements it on each sale. The scarcity and rotation are what make the illegal economy feel alive and worth checking back on.
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/08-black-market-rotating-stock.lua keeps a server-owned currentStock, rotates a Fisher-Yates-shuffled 4-item subset on a timer, serves it via a…
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-owned stock/price — sending stock from the client lets a cheater forge items and prices. Require the server to own both; the client only names the item.
- Infinite limited stock — not decrementing
qtyserver-side makes scarcity fake. Require a server-sideqty -= 1. - Biased shuffle —
table.sortwith a random comparator or a naive swap skews rotation. Require Fisher-Yates. - Funds checked late — adding the item before the cash check gifts items. Require the funds check before
AddItem.
Integration Notes
server.lua runs rotation, the stock callback, and purchase validation; client.lua opens the menu and forwards buys. Declare both in fxmanifest.lua plus the NUI files. Depends on qb-core and your inventory for AddItem. Test: /blackmarket, buy an item, confirm cash drops and qty falls; lower ROTATE_INTERVAL to watch the stock list change.
Profit Potential
$400–$5000/mo on Tebex (expected ~$1400). [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 destination crime feature for QBCore/QBox — scarcity-driven rotating stock that creates its own foot traffic and resale loop. The rotation mechanic is the upsell. Recommended Tebex price: $99.
Difficulty & Ship Time
advanced · ships in 4-6h.