gta6/prompts
drugs
Vaultadvanceddrugs

Drug Empire Management Dashboard

QBCore/QBox tablet NUI command center where gangs hire employees, cool lab heat, and watch stock/profit analytics driven by a server-authoritative empire model.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~118 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A working QBCore/QBox empire dashboard: a gang opens a tablet NUI to hire lab employees, spend funds to cool lab heat, and watch live stock and profit analytics that a server-side production loop drives. This is the high-defensibility meta-layer crime servers sell to turn scattered labs into one managed operation.

Prompt Template

You are writing a FiveM resource for qb-core (exports['qb-core']:GetCoreObject()).

πŸ”’ 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 lives at content/expected-outputs/drugs/30-drug-empire-management-dashboard.lua. It implements a tablet anim + NUI command center, a server empire model per gang, funds-gated hire…

πŸ”’ 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 & Corrective Prompt

  • Client-computed empire β€” Claude tracks stock/heat/profit on the client; a modder edits it. Keep the empire model server-authoritative per gang.
  • Unchecked spend β€” applying hire/cool on the client without a server funds check lets players act for free; gate every action with removeGangFunds.
  • One-sided net event β€” defining empire:requestState/empire:syncState on one side breaks the round-trip; both sides use RegisterNetEvent + AddEventHandler.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait loop.

Corrective re-prompt: "Hold the entire empire model (labs, employees, stock, heat, profit) in a server table keyed by gang. Gate empire:hire and empire:coolHeat behind a successful removeGangFunds before mutating the lab, and bank production profit only from the server loop via addGangFunds. The client tablet may only render synced state and fire action events."

Framework Integration

  • ESX: resolve with exports['es_extended']:getSharedObject(); key the empire by society/job and move funds via the society account.
  • QBCore: as written β€” exports['qb-core']:GetCoreObject() and Player.PlayerData.gang.name; bank profit through your gang-funds export.
  • QBox: use exports.qbx_core:GetPlayer(src) and player.PlayerData.gang.name; the empire model and loop are identical.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a rising, high-defensibility management meta-layer carries solid unit volume.

Trend Signal

β†— rising β€” strategy: Management dashboard meta-layer ties labs/employees/heat; high-defensibility per matrix β€” rising.

Sales Angle

The meta-layer that ties a whole drug operation together β€” a tablet command center managing labs, employees, heat and profit that upsells every individual lab script. Recommended Tebex price $359.

Difficulty & Ship Time

advanced Β· ships in 1 day.