vi/raiser
economy
economy, GTA 6 style illustration
Coreadvancedeconomy

Black Market, Rotating Illegal Stock

QBCore black market whose illegal stock rotates on a timer from a larger pool, with server-validated purchases and limited quantities.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~71 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-24
Unlock price
$49Core Pack

Unlock 48 core prompts

Profit potential / morising
$1,400($400 to $5,000)

$50-389 script band, sized for a rising niche; top sellers clear around $11.85K/mo.

Effort vs return
advanced4-6h

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.

🔒 Eyes-only, locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$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…

🔒 Eyes-only, locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$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 qty server-side makes scarcity fake. Require a server-side qty -= 1.
  • Biased shuffle, table.sort with 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), priced inside the $50-389 standalone-script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo) for a rising economy niche.

Trend Signal

↗ rising, 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.