MG Mining is a complete mining job for FiveM. Mine rocks in the world with a pickaxe or explosives, crush and smelt the ore, sell it at the mine or work through level-based contracts with your crew and a work truck.
▶ Watch the showcase: https://youtu.be/-oEwXM9PCNc
FEATURES
• Free mode: no objectives and no timer. Mine, process and sell whenever you want, at fixed prices with a configurable daily limit.
• 11 contracts across 10 levels, from coal to gold. Tasks run in order (extract, crush, smelt, deliver), with fixed pay and XP per task.
• Crews: invite players in game. The leader starts the contract, pay is split among active members and the crew carries on if someone leaves.
• Pickaxe mining in the world: take the pickaxe out and hit the glowing weak points on the rock with a crosshair. You can move freely between hits.
• Blasting: plant the charges with a minigame and clear the rock. "Effects" mode creates no real explosion; "native" mode is also available.
• Processing: crusher and smelter with configurable recipes and alloys (copper + zinc = brass by default). Stations can be placed anywhere, even inside interiors.
• Minigames for blasting, crusher and smelter, with three difficulty presets and configurable failure rules.
• 6 minerals, 3 pickaxe tiers with wear, explosives, all unlocked by level.
• Work truck: spawns with every contract with a refundable deposit. The deposit comes back on return, or on the next login after a disconnect.
• Live HUD with the current task, progress and money earned, plus a summary when the contract ends.
• Ranking: weekly, monthly and all-time, with player statistics.
• Admin panel (/miningadmin): edit zones and rocks live (saved to the database), capture mode to place rocks by walking, manage players, contracts and crews, reset the ranking and read the logs.
• Mine creator (/miningcreator): build a whole mine in game (NPC, stations, vehicle, zones), validate it and export it as Lua.
• Discord webhooks, exports, events and blocking hooks for your own scripts.
SECURITY AND PERFORMANCE
• Server-authoritative: every payout, item, XP point and timing is validated on the server. The client never decides a reward.
• 0.00 ms idle: no client loops while you are away from a mine.
COMPATIBILITY
• Frameworks: QBCore, QBox, ESX, ox_core (plus a custom bridge)
• Inventories: ox_inventory, qb-inventory, ps-inventory, qs-inventory, codem-inventory, ESX default
• Target: ox_target, qb-target, interact, sleepless_interact, or the built-in [E] prompt (ox_lib text UI supported)
• Vehicle keys: mg_vehiclekeys, qb-vehiclekeys, qs-vehiclekeys, wasabi_carlock
• Fuel: ox_fuel, LegacyFuel · Clothing: illenium-appearance, esx_skin · Notifications: ox_lib, okokNotify, QBCore, ESX
• Every integration lives in the open custom/ folder, so you can add your own.
REQUIREMENTS
• OneSync
• oxmysql
• One supported framework and inventory
INCLUDED
• English and Spanish locales; language and colours set from the config
• Default mine at Davis Quartz with zones and rocks ready
• Full documentation: installation, items for every inventory, creator, balance, exports, anticheat notes
Escrow: protected with FiveM Asset Escrow. config/, locales/ and custom/ stay open and editable.
Support: dsc.gg/mgscriptsoficial

