JDB-NET Mining
JDB-NET Mining is a complete mining and smelting system for FiveM, built for QBOX servers with full cw-rep integration. Players mine rocks for ore, gain XP to mine faster, then smelt their haul at designated locations to produce metals and gems.
The script features dynamic rock spawning with configurable locations, chance-based ore drops (from common iron to rare diamonds), and level-scaled smelting output so higher-level miners get more bang for their buck. Progress bars and menus support both ox_lib and lation_ui, and a pickaxe prop appears in hand while mining. Rocks despawn when mined and respawn after a configurable cooldown, keeping the experience polished and immersive.
Fully configurable via shared/config.lua—no coding required. Add your rock spawns, tweak ore chances, set smelting locations, and customise blips, durations, and props. Inventory full checks prevent wasted effort, and zone restrictions keep players at the smelter until their queue is done.
Features
Mining – Mine rocks at configurable spawn locations using ox_target
Chance-based ore drops – Weighted RNG for 11 ore types (iron, aluminium, coal, lead, copper, silver, gold, emerald, ruby, sapphire, diamond)
cw-rep integration – Earn Mining XP; higher levels = faster mining
Smelting system – Take ore to smelting zones and process into metals/gems
Queue system – Smelt multiple ores in sequence with on-screen queue display
Level-scaled smelting – Higher Mining level = more output per ore (1 at 1–5, 2 at 6–10, 3 at 11–15, etc.)
Dynamic rock respawning – Rocks despawn when mined and respawn after configurable delay
Pickaxe prop – Tool prop (e.g. pickaxe, shovel) shown in hand while mining
ox_lib / lation_ui – Switchable progress bars and smelting menus
Map blips – Configurable blips for mining and smelting locations
Inventory full check – Blocks mining/smelting rewards when inventory is full
Zone enforcement – Must stay at smelter during smelting; queue stops if you leave
Smelt All – One-click option to queue all ores for smelting
Fully configurable – Rock spawns, ore chances, durations, animations, props, blips, and more via shared/config.lua
Dependencies
Required:
-
ox_lib
-
ox_target
-
ox_inventory
-
cw-rep
-
qbx_core
Optional:
- lation_ui (only if using lation_ui for progress bars or smelting menu instead of ox_lib)