gta6/prompts
economy
Vaultadvancedeconomy

Crypto Mining Rig — Passive Yield + Power Cost

QBCore placeable GPU rigs that accrue crypto on a server timer while building heat and risking burnout, with collection gated to the owner.

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
~83 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A passive-income mining mechanic for roleplay servers: players place GPU rigs that accrue an in-game coin item over time while building heat and risking a permanent burnout if left running too hot. Servers sell it because the heat/burnout budget turns idle AFK income into a tended-asset loop with real downside, unlike flat passive-yield scripts.

Prompt Template

You are writing a FiveM resource for qb-core (QBox notes below).

🔒 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/12-crypto-mining-rig-passive-income.lua runs server-side accrual, heat buildup and burnout on a timer, and lets only the owning citizenid collect…

🔒 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-side accrual — a client that ticks its own yield can mint coin freely. Keep the accrual thread on the server.
  • Unowned collection — skipping the ownership check lets anyone drain a rig. Compare rig.cid to the player's citizenid server-side.
  • Unloaded anim — calling TaskPlayAnim before the dict loads T-poses the placement. Wait on HasAnimDictLoaded first.

Corrective re-prompt: "Move all yield/heat/burnout into the server CreateThread loop and gate rig:collect so it returns unless rig.cid == Player.PlayerData.citizenid. In the placement command, RequestAnimDict then while not HasAnimDictLoaded(dict) do Wait(0) end before TaskPlayAnim."

Framework Integration

ESX: not targeted here; if porting, use xPlayer.addInventoryItem('cryptocoin', n) and key rigs by identifier. QBCore: as written — Functions.AddItem, GetPlayerByCitizenId, ownership by citizenid. QBox: swap to exports.qbx_core:GetPlayer(src) and exports.ox_inventory:AddItem(src,'cryptocoin',n) if running ox_inventory; rig ownership stays keyed by citizenid.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] Priced inside the $50-389 script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo); a rising placeable-rig niche.

Trend Signal

rising — corpus: Passive-income mining-rig scripts recur as a Tebex economy subcategory (tebex_topsellers cat:economy); modern target/placeable build skews qb/qbox.

Sales Angle

Differentiate on the heat/burnout risk — it's the screenshot that separates this from every flat AFK-income script. Recommended Tebex price: $149.

Difficulty & Ship Time

advanced · ships in 1 day.