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).
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/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…
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 & 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.cidto the player's citizenid server-side. - Unloaded anim, calling TaskPlayAnim before the dict loads T-poses the placement. Wait on
HasAnimDictLoadedfirst.
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), priced inside the $50-389 script band against a corpus of comparable Tebex sellers (median ~$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.
