Garry's Mod Leaks
Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
Submitted by mertvbasein, 08-03-2023, 04:10 AM, Thread ID: 261474
An advanced mining system that includes everything. You can mine minerals using a pickaxe or jackhammer, upgrade your skills to enhance your experience, craft items for minerals or simply sell the minerals in exchange for money.
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.
💻 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).
🌎 Language System
English
French
German
Polish
Russian
Spanish
Turkish
This hidden content has been reported as still working 0 times this month.
2 times in total
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
08-03-2023, 08:10 PM
#2 ooo mysql support great job
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
09-03-2023, 09:29 AM
#4 mysql support is always appreciated in addons
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
09-03-2023, 07:51 PM
#5 wow this looks sick, will use this on my test server
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
10-04-2023, 06:42 PM
#6 ty bro will check this out for backdoros
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
12-04-2023, 04:43 PM
#7 Good addon is has no backdoor
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
12-04-2023, 07:19 PM
#8 Nice addon, might use it for my server
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
19-04-2023, 03:45 PM
#9 08-03-2023, 04:10 AMmertvbasein Wrote: Content has been stripped. Go to the quoted post to view the content.
An advanced mining system that includes everything. You can mine minerals using a pickaxe or jackhammer, upgrade your skills to enhance your experience, craft items for minerals or simply sell the minerals in exchange for money.
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.
💻 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).
🌎 Language System
English
French
German
Polish
Russian
Spanish
Turkish
Possible to get verison 1.0.9?
RE: Mining (Skills, Crafting, Stats, Sell Minerals, & Custom Models)
27-04-2023, 07:19 PM
#10 Thanks bro, but can you update it ?
Users browsing this thread: 9 Guest(s)