Dream Miner is a mining job for ESX and QBCore (compatible with OneSync). Players dig for raw materials with custom pickaxe and rock-breaking sounds, sell what they find and work their way up through better pickaxes and levels. The code is open without IP lock.
Features
- 7 pickaxes (wooden, copper, stone, gold, silver, iron, diamond) with their own price. Upgrading gives access to another extraction site and to other resources that can drop.
- 8 resources to sell: copper, iron, molybdenum, zinc, lead, silver, tin and diamonds, each with its own payout.
- Experience system with 10 levels by default: higher levels dig faster and drop more resources.
- Experience and pickaxe level are saved in the database.
- NPCs for the job boss, pickaxe shop and selling; mining sites with map blips.
- Optional job requirement (
minerby default). - Easy to add more levels and pickaxes; salaries, levels and bonuses per level are set in the config.
- Works for several players at the same time.
Requirements
- ESX or QBCORE
- ESX version: mysql-async and async
- pNotify (included)
Installation
- Pick the matching folder in
script:esx-dream-miner,qb-dream-minerorqb2.0-dream-miner(for QBCore withimport.lua), and copy it andpNotifyinto yourresourcesfolder. - Import
dream_jobs.sql; on ESX also importitems_esx.sql. For QBCore seehelp qbcore.txt. - Add
ensure pNotifyandensurewith the miner resource name to your server config.