• Welcome to our brand new Garry's Mod asset marketplace! Publishing in these categories is currently invite-only. Interested in publishing your Gmod assets on BuiltByBit? Click here to apply!
  • Easter Sale

Mining v1.2.5

Skills, Crafting, Stats, Sell Minerals, & Custom Models
Easter sale event (2025) - Get it now for 25% off - Offer ends Apr 25, 2025
  • 1.png
  • 2.png
  • 3.png
  • 4.png
  • 5.png
  • 6.png
  • 7.png
  • 8.png
  • 9.png
  • 10.png
  • 11.png
  • 12.png
  • 13.png
  • 14.png
  • 15.png
  • 16.png
  • 17.png
  • 18.png
  • 1.png
  • 2.png
  • 3.png
  • 4.png
  • 5.png
  • 6.png
  • 7.png
  • 8.png
  • 9.png
  • 10.png
  • 11.png
  • 12.png
  • 13.png
  • 14.png
  • 15.png
  • 16.png
  • 17.png
  • 18.png

SHOWCASE VIDEOS​



About Mining​

This mining system is inspired by what you see on popular DarkRP servers. It includes setting up 9 different mineral types to mine and you can scale the rock models to your liking.

Earn skill points by leveling up and enhance your abilities by choosing between 6 different skills for your character.

Mine minerals using the Pickaxe or the automatic Jackhammer weapons. Minerals can be used to craft items or you can exchange minerals for money.

Rocks are easily setup using the toolgun and mineral type, model scale and bodygroups are set via the Q menu under the tool itself. Saving is also done via the toolgun and minerals are saved uniquely to the map and all values are stored on the server.

⛏️ Mine Minerals

  • The default Miner job is equipped with a pickaxe that you can use to mine minerals.
  • You can craft the jackhammer to equip an automatic and power mining weapon.
  • Minerals are stored in your inventory.
🧠 Upgrade Skills
  • Via the mining menu you can upgrade and downgrade skills.
  • You can configure the maximum level of each skill and the values for every level of the skill.
  • Capacity - Increase your mining inventory capacity.
  • Extraction - Increase your mineral quantity per hit.
  • Experience - Increase your experience gain per hit.
  • Speed - Make your pickaxe swing faster.
  • Payout - Increases how much the NPC pays you for minerals.
  • Chance - Increases the chance of a successful hit.
🪨 Rocks
  • Rocks are completely configurable during setup (mineral type, amount of minerals, rock durability, rock scale, show small rocks/bodygroup)
  • You mine minerals from rocks using a pickaxe or jackhammer.
  • Rocks carry a specific amount of total minerals.
  • They have durability, so that they can be "destroyed" if hit enough.
  • Minerals restock after reaching a certain low (config) as long as the rock still has durability left.
  • If the rock is destroyed it first fade away and then respawn after a certain configurable time.
🔧 Craft Items
  • You can craft a variety of items from the mining menu.
  • Creating new items are extremely easy via the configuration.
  • You can configure the amount of minerals it costs to craft.
  • You can set a required level to craft an item.
  • You can set both XP earn and XP cost for crafting an item.
  • You can also set a price for crafting an item.
  • The craft function is completely custom and can run any lua code. Meaning you can make it possible to craft basically everything.
🍱 Mining Menu
  • The mining menu can be opened via a chat command or an NPC.
  • It features a dashboard with your current level and XP. Dashboard also shows 4 minerals and their current value.
  • The mining inventory shows how many minerals you have. You can also sell minerals from this menu.
  • Skills tab to display current skill points and upgrade/downgrade skills.
  • Crafting tab to display crafting recipes, required minerals, required level, xp, money and so on.
  • Leaderboard shows top miners.
  • Transactions shows your transaction history for selling minerals.
💵 Sell Minerals
  • Minerals have a set base price that can be configured.
  • The base price is often adjusted (based on configuration) via a price adjust config.
  • The price adjustment will shuffle the base price by a value either negative or positive.
  • You set the max price adjustment via the config for each mineral.
  • The adjustment value is then randomized.
  • For example the base price is 15.50 and the max adjust value is 1.5. That will shuffle the price by a random number between -1.5 and 1.5 every x seconds.
  • You can receive a bonus for selling minerals with the Payout skill upgrade.
🍱 Player Stats
  • Personal players stats are tracked and saved on the server.
  • Minerals mined.
  • Rocks emptied.
  • Rocks destroyed.
  • Minerals sold.
  • Money earned.
  • Items crafted.
👷 Mine Worker Job
  • By default a mine worker job is added and is equipped with the pickaxe.
  • You can configure which jobs are considered "miners" or let everyone mine using the tools bought via F4 menu.
  • You can configure if the jackhammer should be given by default, based on a certain rank or based on mining level.
💾 MySQL Support
  • By default the addon saves using SQLite that comes with GMod.
  • You can enable MySQLOO saving. See the "Setup" tab.
  • Both options are efficient to use, however, mysqloo is recommended.
💵 Multi currency support
💻 bLogs Support
  • The addon supports bLogs.
  • Logs when a player sells minerals (player, amount, mineral type, price).
  • Logs when a player crafts an item (player, item name).
INSTALLATION
This addon supports any gamemode that derives from Sandbox and/or have Q menu and Toolgun access.
You also need a supported currency system. See the primary description!


Extractch_miningto your addons folder.

Please visit the Setup & Customizing tab to see how you configure the addon. Additionally, the knowledgebase has articles for configuring specific parts of the addon which are very useful when setting it up.

CONTENT
There's a single content pack that you must add to your servers workshop collection.
Workshop
Setup & Customizing
There are multiple configuration files, and everything is highly customizable. This tab will outline the path of the file. If you wish to see exactly what the config files look like and what every variable does, then please visit the knowledge base.

Configure the general settings of the addon inlua/ch_mining/shared/config/ch_mining_config.lua

Configure the available rocks (base price and max price adjustments) in lua/ch_mining/shared/config/ch_mining_config_rocks.lua

Configure and add crafting recipes inlua/ch_mining/shared/config/ch_mining_config_crafting.lua

Configure skills and skill levels inlua/ch_mining/shared/config/ch_mining_config_skills.lua

Configure a few variables for xp and levels inlua/ch_mining/shared/config/ch_mining_config_xp.lua

Edit the DarkRP job and entities/weapons inlua/darkrp_modules/ch_mining/sh_ch_mining_darkrp.lua

SETUP MINERALS
There is a simply tool to setup rocks. Go the Q menu -> Tools -> Crap-Head Scripts -> Setup Minerals

In the tool menu you can configure the mineral type, amount of minerals the rock has by default, rock durability, the scale of the model and bodygroups.

Left click to spawn a new rock with your settings and right click to save all rocks.

SETUP NPC
You can spawn as many NPCs as you want through the Q menu. Go to Q Menu -> Entities -> Mining by Crap-Head and spawn the "Mining NPC" entity.

Position as many as you wish and save withch_mining_saveents in console.

REMOVING MINERALS
If you regret setting up some of the spawn locations then simply use the default Remover Tool on the entity as an admin/super admin.

Once you have removed the ones you don't want anymore then right click with the Setup Minerals tool to save the current positions.

MYSQLOO
By default the addon saved using sqlite (default build into gmod). If you wish to enable MySQLOO then you can do so.

Go to the filelua/ch_mining/server/sql/ch_mining_sql_functions.lua
Set theCH_Mining.SQL.UseMySQLOOconfig to true

Then fill in your information below. This will of course require that you have the MySQLOO module by FredyH.

Discord Server & Support​

I own a Discord server for customers and anyone else who wish to join. I will occasionally provide exclusive offers and help with minor issues that might occur with my scripts. If you have a more serious problem, please create a conversation with me onsite.

Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have found a conflicting addon, then feel free to create a conversation and I'll see if I can assist with solving the conflict.
discord.png
Buy a license now
$10.13 $13.50
EULA: Standard EULA
New: Now supporting cryptocurrency payments!
Share and earn
Refer this resource and earn a 10% commission.
221 Views
0 Purchases
0 Downloads
Feb 6, 2025 Published
Apr 9, 2025 Updated
Not yet rated
174.5 KB File size
Languages
  1. English
  2. Spanish
  3. Russian
  4. German
  5. French
  6. Polish
  7. Turkish
Includes DRM
No
Source access
Closed source without obfuscation
Crediting original
Pickaxe and rock models by Sterling Pierce

Jackhammer model and banners by Im Not Meow Meow

French translation by Seefox

Polish translation by Hejfi

Russian translation by matveicher

Font is Open Sans by Google

Icons made by prettycons from Flaticon

Icons made by freepik from Flaticon

Icons made by Pixel perfect from Flaticon

Icons made by Becris from Flaticon

Icons made by kerismaker from Flaticon

Icons made by Vectors Tank from Flaticon

Icons made by justicon from Flaticon

Icons made by wanicon from Flaticon

Icons made by srip from Flaticon

Icons made by Anggara from Flaticon
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
Miner Shelf, Power Sources, Cables, Animations & Custom Models
Not yet rated
1 purchase
Custom Models, Blend Sequences & Donator Features
Not yet rated
1 purchase
Fire Fighters, Extinguishers, Fire Axe, Fire Trucks
Not yet rated
1 purchase
Remote Tablet, Hacking & Repairing Entities
Not yet rated
1 purchase
This DLC expands the DarkRP Fire System with exclusive weapons and entities.
Not yet rated
1 purchase
Share and earn
Refer this resource and earn a 10% commission.
221 Views
0 Purchases
0 Downloads
Feb 6, 2025 Published
Apr 9, 2025 Updated
Not yet rated
174.5 KB File size
Languages
  1. English
  2. Spanish
  3. Russian
  4. German
  5. French
  6. Polish
  7. Turkish
Includes DRM
No
Source access
Closed source without obfuscation
Crediting original
Pickaxe and rock models by Sterling Pierce

Jackhammer model and banners by Im Not Meow Meow

French translation by Seefox

Polish translation by Hejfi

Russian translation by matveicher

Font is Open Sans by Google

Icons made by prettycons from Flaticon

Icons made by freepik from Flaticon

Icons made by Pixel perfect from Flaticon

Icons made by Becris from Flaticon

Icons made by kerismaker from Flaticon

Icons made by Vectors Tank from Flaticon

Icons made by justicon from Flaticon

Icons made by wanicon from Flaticon

Icons made by srip from Flaticon

Icons made by Anggara from Flaticon
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
Miner Shelf, Power Sources, Cables, Animations & Custom Models
Not yet rated
1 purchase
Custom Models, Blend Sequences & Donator Features
Not yet rated
1 purchase
Fire Fighters, Extinguishers, Fire Axe, Fire Trucks
Not yet rated
1 purchase
Remote Tablet, Hacking & Repairing Entities
Not yet rated
1 purchase
This DLC expands the DarkRP Fire System with exclusive weapons and entities.
Not yet rated
1 purchase
Top