gta6/prompts
jobs
Coreintermediatejobs

Miner — Gather Node & Sell Ore

ESX miner job: mine ore at a node with a timed animation, bank it as an item, then sell the haul at a smelter.

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

Description

An ESX miner job: stand on the mining node and press E to swing a timed pickaxe animation and receive 1-3 ore as a real inventory item, then carry it to the smelter and press E to sell the whole stack. A gather-then-sell economy loop for resource-gathering servers.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 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/jobs/07-miner-gather-node-sell.lua. It implements a timed mining animation that grants ore server-side and a smelter sale priced off the real…

🔒 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

  • Hot idle loop — checking the node on Wait(0) even when far away wastes a whole thread. Drop to Wait(500) when out of range.
  • Client-granted items — adding ore on the client invites dupe exploits. Grant via addInventoryItem on the server only.
  • Phantom sale — paying a fixed amount without reading getInventoryItem(...).count pays for ore the player never had. Read the real count, remove it, then pay.
  • No job gate — gate miner:mineOre on job.name == "miner".

Integration Notes

  • Split the banners into client.lua and server.lua; list both in fxmanifest.lua.
  • Requires es_extended, a miner job, and an ore item registered in your inventory/items table.
  • Test on a dev server: set yourself to miner, stand on the node, press E to mine, then sell at the smelter and confirm money and inventory update.

Profit Potential

$350–$5000/mo on Tebex (expected ~$1300). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), scaled for a hot job-systems niche at intermediate difficulty — evergreen gather-and-sell economy demand.

Trend Signal

🔥 hot — custom FiveM job systems = niche-selection LAUNCH #1 (4.75).

Sales Angle

Position as the dupe-proof gather loop: server-granted ore and a smelter sale priced off the real inventory count. A drop-in for any resource-economy server — list at $99.

Difficulty & Ship Time

intermediate · ships in 4-8h.