PowerMining
PowerMining
This plugin adds 2 new item types to the game: Hammer and Excavator
These were inspired by mDiyo's Tinker's Construct items of the same name
Source is included in the jar file and can also be found here.
Items
Both the Hammer and Excavator will dig in a 3x3 area around the target block
They take the block face in consideration to determine the breaking direction/pattern
You can sneak while breaking the block to make it work like a normal pickaxe/shovel
The Base Item determines what can be mined/dug and they won't break blocks if they are going to be destroyed and not drop anything
Hammer
- The Hammer is a mining tool much like the Pickaxe, and uses that as a base item for it's crafting
Excavator
- The Excavator is a digging tool much like the Shovel, and uses that as a base item for it's crafting
Crafting Recipes
Basic Shape:
M MIM M
Where:
M = Material
I = Base Item
Base Item | Material | Result |
---|---|---|
Wooden Pickaxe/Shovel | Wood Log | Wooden Hammer/Excavator |
Stone Pickaxe/Shovel | Smooth Stone | Stone Hammer/Excavator |
Iron Pickaxe/Shovel | Iron Ingot | Iron Hammer/Excavator |
Golden Pickaxe/Shovel | Gold Ingot | Golden Hammer/Excavator |
Diamond Pickaxe/Shovel | Diamond | Diamond Hammer/Excavator |
Commands
At this moment, there are no available commands for this plugin
Permissions
As of version 2.6.2, the permissions were rewritten to give a much deeper control over what can/can't be done.
- powermining.* : Grants all permissions (default: op)
- powermining.highdurability: Allows player's Hammers/Excavators to use only 1 durability per use (default: true)
- powermining.craft.* : Allows players to craft the Hammer and Excavator tools (default: op)
- powermining.craft.hammer.* : Allows players to craft all hammers (default: op)
- powermining.craft.hammer.wood: Allows players to craft the Wooden Hammer (default: false)
- powermining.craft.hammer.stone: Allows players to craft the Stone Hammer (default: false)
- powermining.craft.hammer.iron: Allows players to craft the Iron Hammer (default: false)
- powermining.craft.hammer.gold: Allows players to craft the Golden Hammer (default: false)
- powermining.craft.hammer.diamond: Allows players to craft the Diamond Hammer (default: false)
- powermining.craft.excavator.* : Allows players to craft all excavators (default: op)
- powermining.craft.excavator.wood: Allows players to craft the Wooden Excavator (default: false)
- powermining.craft.excavator.stone: Allows players to craft the Stone Excavator (default: false)
- powermining.craft.excavator.iron: Allows players to craft the Iron Excavator (default: false)
- powermining.craft.excavator.gold: Allows players to craft the Golden Excavator (default: false)
- powermining.craft.excavator.diamond: Allows players to craft the Diamond Excavator (default: false)
- powermining.craft.hammer.* : Allows players to craft all hammers (default: op)
- powermining.use.* : Allows players to use the Hammer and Excavator tools (default: op)
- powermining.use.hammer.* : Allows players to use all hammers (default: op)
- powermining.use.hammer.wood: Allows players to use the Wooden Hammer (default: false)
- powermining.use.hammer.stone: Allows players to use the Stone Hammer (default: false)
- powermining.use.hammer.iron: Allows players to use the Iron Hammer (default: false)
- powermining.use.hammer.gold: Allows players to use the Golden Hammer (default: false)
- powermining.use.hammer.diamond: Allows players to use the Diamond Hammer (default: false)
- powermining.use.excavator.* : Allows players to use all excavators (default: op)
- powermining.use.excavator.wood: Allows players to use the Wooden Excavator (default: false)
- powermining.use.excavator.stone: Allows players to use the Stone Excavator (default: false)
- powermining.use.excavator.iron: Allows players to use the Iron Excavator (default: false)
- powermining.use.excavator.gold: Allows players to use the Golden Excavator (default: false)
- powermining.use.excavator.diamond: Allows players to use the Diamond Excavator (default: false)
- powermining.use.hammer.* : Allows players to use all hammers (default: op)
- powermining.enchant.* : Allows players to enchant the Hammer and Excavator tools (default: op)
- powermining.enchant.hammer.* : Allows players to enchant all hammers (default: op)
- powermining.enchant.hammer.wood: Allows players to enchant the Wooden Hammer (default: false)
- powermining.enchant.hammer.stone: Allows players to enchant the Stone Hammer (default: false)
- powermining.enchant.hammer.iron: Allows players to enchant the Iron Hammer (default: false)
- powermining.enchant.hammer.gold: Allows players to enchant the Golden Hammer (default: false)
- powermining.enchant.hammer.diamond: Allows players to enchant the Diamond Hammer (default: false)
- powermining.enchant.excavator.* : Allows players to enchant all excavators (default: op)
- powermining.enchant.excavator.wood: Allows players to enchant the Wooden Excavator (default: false)
- powermining.enchant.excavator.stone: Allows players to enchant the Stone Excavator (default: false)
- powermining.enchant.excavator.iron: Allows players to enchant the Iron Excavator (default: false)
- powermining.enchant.excavator.gold: Allows players to enchant the Golden Excavator (default: false)
- powermining.enchant.excavator.diamond: Allows players to enchant the Diamond Excavator (default: false)
- powermining.enchant.hammer.* : Allows players to enchant all hammers (default: op)
The group nodes also have alternate names:
- powermining.craft.all
- powermining.craft.hammer.all
- powermining.craft.excavator.all
- powermining.use.all
- powermining.use.hammer.all
- powermining.use.excavator.all
- powermining.enchant.all
- powermining.enchant.hammer.all
- powermining.enchant.excavator.all
Please note that the enchant permission affects both enchantment tables and anvils (when applying books or trying to combine 2 power tools)
Installation
Simply put the jar file into your plugins folder
Configuration
Right now the config.yml file has the following values that can be changed:
- useDurabilityPerBlock
- Description: Determines if durability is reduced with each broken block
- Default: False
- Version: 2.2
- Minable
- Description: Define the blocks that can be mined by the hammer, and which quality of base pickaxe is needed (these are set according to the information on the minecraft wiki)
- Version: 2.7.5
- Type: Nested list
- Diggable
- Description: Define the blocks that can be dug by the excavator
- Version: 2.7.5
- Type: Simple list
To add something to the Diggable list, just add a new list row to the existing list:
Diggable: - NEW_BLOCK
To add something to the Minable list, you need to add the target block as a new list row, but you also need to specify a list of pickaxes that can mine it:
Minable: - IRON_BLOCK: [STONE_PICKAXE, IRON_PICKAXE, DIAMOND_PICKAXE]
In case you want all hammers to be able to mine the specific block, use [any]
It's important to note that even if you only want one pickaxe to be able to mine it, it needs to be inside the list (look at the obsidian definition)
Anti-Grief
This plugin accounts for terrains protected by:
- Version 2.4
- GriefPrevention (tested on v7.8-beta)
- WorldGuard (tested on v5.8)
- Version 2.6
- Towny (tested on v0.84.0.7)
- Towny (tested on v0.84.0.7)
Spotlights
Quick spotlight showing the basic crafting and usage of the tools by VariationVault
Well explained spotlight by FeerBreezy (Spanish)
Spotlight by AbsintoJ (Brazilian Portuguese)
Observations
I've contacted mDiyo on minecraftforum and he has no problem with this plugin being inspired by his tools.
This is my first plugin/mod as well as my first Java program, there might be bugs in the code. Let me know if you find any.
Hello people!
I have plugin jobs on my server. If I take a miner's job and mine, I only get money for the 1 block. Can I make money for all (9 blocks)?
If you understand me :D
Thank you in advance for your answers.
Hello people!
As bloodshade dont update this plugin since 2013, I decided to update this plugin myself. For now on i will keep this plugin up to date, always giving the due credits to bloodshade of corse.
Here is the link to the page where i post new updates:
https://www.spigotmc.org/resources/jodelle-powermining.59834/
Hello!
I have one question, how will a change the permission to use this plugin, like, i want everyone to be able to use the Hammer, not only OP rank. TY!
Hi everyone,
since the Author of that plugin has not been seen on bukkit since september '14, could anyone please make that thing work again on 1.12?
it dosent work at all and the silktouch was gone since 1.9 :(
thx
Can someone make this for Sponge to work on 1.10?
çok güzel
This plugin looks amazing, any chance someone can update this to work for 1.8? I'd love to use this on my server.
@bloodyshade I have to say, this plugin is amazing! I use it for a donor perk on my server, ("manncraft.ninja" is the ip) and I have fallen in love with it! The only thing I might suggest is that you should add support for:
As I said, this plugin is outstanding, but please add support for these. Thanks!
Does anybody know about GriefPrevention disabling PowerMining and how to make it stop?
Yes, in your kit line on essentials add lore:SMASH
@zTonesterz
@zTonesterz probably not you would have to make a custom plugin or something that has the api for this plugin.
Is it possible to add picks with the power tool ability to essentials kits?
Would it be possible to add a customisable recipe option, or a higher tier option that changes the recipes to require two blocks of the base material?
Can You PLEASE Add Support For Factions
@TehEquiinox
Hey there, Using PermissionsBukkit as an example, you could have it like this to grant all permissions to all users:
Sup guys, im a noob at permissions in plugins, can anyone tell how to allow everyone in my server to use the plugin, because in the config the default its: op.
Thanks
So I've been looking all over the place for a plugin for craftable boots that give a high-jump ability and can't find one. Since the plugin I'm looking for seems similar in infrastructure to your Power Miner plugin I was wondering if you could make a plugin like what I described? I've been trying myself but I've never made a plugin before and it's a bit more difficult than I initially though haha.
Thanks :)
EDIT: So I finally managed to do it myself! I guess I'll upload the plugin for anyone else to use soon :)
Hi there, great plugin! It's just what I was looking for :) I'd like to request one feature - I'd like to be able to configure the recipe for the tools. For my server I'd like to make the tools a lot more difficult to get by changing the recipes to the 1 diamond tool + 4 emeralds. Thanks a lot for the great mod, if you can't implement this change I'll keep using the mod anyway as it's the best I could find :)
@assasing123
That should be all you would need to do to get it to load. Other than that you need to properly configure your server's group permissions to allow the specific things you want, most of them are configured to OP level, so you need to fine grain it to your desired levels.
You can check the bukkit's documentation for how to setup the permissions, and you can find the plugins permissions on the Permissions section of this page.
hey there, sorry to ask but, I m not being able to get this to work, I put the plugin on my plugins folder, reloaded plugins, but when I try to craft the items is not working, what I m doing wrong?