PowerMining
Feel free to make a donation to help the project:
https://www.paypal.com/donate?hosted_button_id=QG8WUHMEEBXWW
Attention! I did not create this plugin! I am just updating it because the creator droped it in 2013 and i like this plugin very much. All the credits go to
bloodyshade.
This plugin adds 3 new item types to the game: Hammer, Excavator and Plow
These were inspired by mDiyo's Tinker's Construct items of the same name
Items
Both the Hammer and Excavator will dig in a 3x3 area around the target block
The Plow will hoe 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/hoe.
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
Plow
- The Plow is a hoeing tool much like the Hoe, and uses that as a base item for it's crafting
Crafting Recipes
Features:
- Adds 3 distinct tools to the game. Hammer, Excavator and Plow.
- Mining one block makes the other blocks around to be broken, a 3x3 hole. The size of the
hole can be changed.
- All mineable/diggable blocks can be configured in the config file.
- Customisable recipes for the PowerTools.
- Commands to check the version and give PowerTools
- Permissions to use, give, craft and enchant PowerTools.
- Support for WorldGuard terrain protection.
Commands
/jpm -> Shows the version of the plugin.
/jpm give [PowerToolName] -> gives a PowerTool.
Example: /jpm give DIAMOND_HAMMER
Permissions
As of version 2.6.2, the permissions were rewritten to give a much deeper control over what can/can't be done.
permissions:
powermining.all:
description: Grants all permissions
default: op
children:
powermining.craft.all: true
powermining.use.all: true
powermining.enchant.all: true
powermining.highdurability: true
powermining.highdurability:
description: Allows player's PowerTool to use only 1 durability per use
default: true
powermining.give:
description: Allows player to receive a Powertool of his choice
default: op
powermining.craft.all:
description: Allows players to craft all PowerTools
default: op
children:
powermining.craft.hammer.all: true
powermining.craft.excavator.all: true
powermining.craft.plow.all: true
powermining.craft.hammer.all:
description: Allows players to craft all hammers
default: op
children:
powermining.craft.hammer.wooden: true
powermining.craft.hammer.stone: true
powermining.craft.hammer.iron: true
powermining.craft.hammer.golden: true
powermining.craft.hammer.diamond: true
powermining.craft.hammer.netherite: true
powermining.craft.hammer.wooden:
description: Allows players to craft the Wooden Hammer
default: false
powermining.craft.hammer.stone:
description: Allows players to craft the Stone Hammer
default: false
powermining.craft.hammer.iron:
description: Allows players to craft the Iron Hammer
default: false
powermining.craft.hammer.golden:
description: Allows players to craft the Golden Hammer
default: false
powermining.craft.hammer.diamond:
description: Allows players to craft the Diamond Hammer
default: false
powermining.craft.hammer.netherite:
description: Allows players to craft the Netherite Hammer
default: false
powermining.craft.plow.all:
description: Allows players to craft all Plows
default: op
children:
powermining.craft.plow.wooden: true
powermining.craft.plow.stone: true
powermining.craft.plow.iron: true
powermining.craft.plow.golden: true
powermining.craft.plow.diamond: true
powermining.craft.plow.netherite: true
powermining.craft.plow.wooden:
description: Allows players to craft the Wooden Plow
default: false
powermining.craft.plow.stone:
description: Allows players to craft the Stone Plow
default: false
powermining.craft.plow.iron:
description: Allows players to craft the Iron Plow
default: false
powermining.craft.plow.golden:
description: Allows players to craft the Golden Plow
default: false
powermining.craft.plow.diamond:
description: Allows players to craft the Diamond Plow
default: false
powermining.craft.plow.netherite:
description: Allows players to craft the Netherite Plow
default: false
powermining.craft.excavator.all:
description: Allows players to craft all Excavators
default: op
children:
powermining.craft.excavator.wooden: true
powermining.craft.excavator.stone: true
powermining.craft.excavator.iron: true
powermining.craft.excavator.golden: true
powermining.craft.excavator.diamond: true
powermining.craft.excavator.netherite: true
powermining.craft.excavator.wooden:
description: Allows players to craft the Wooden Excavator
default: false
powermining.craft.excavator.stone:
description: Allows players to craft the Stone Excavator
default: false
powermining.craft.excavator.iron:
description: Allows players to craft the Iron Excavator
default: false
powermining.craft.excavator.golden:
description: Allows players to craft the Golden Excavator
default: false
powermining.craft.excavator.diamond:
description: Allows players to craft the Diamond Excavator
default: false
powermining.craft.excavator.netherite:
description: Allows players to craft the Netherite Excavator
default: false
powermining.use.all:
description: Allows players to use all Hammers and Excavators
default: op
children:
powermining.use.hammer.all: true
powermining.use.excavator.all: true
powermining.use.plow.all: true
powermining.use.hammer.all:
description: Allows players to use all hammers
default: op
children:
powermining.use.hammer.wooden: true
powermining.use.hammer.stone: true
powermining.use.hammer.iron: true
powermining.use.hammer.golden: true
powermining.use.hammer.diamond: true
powermining.use.hammer.netherite: true
powermining.use.hammer.wooden:
description: Allows players to use the Wooden Hammer
default: false
powermining.use.hammer.stone:
description: Allows players to use the Stone Hammer
default: false
powermining.use.hammer.iron:
description: Allows players to use the Iron Hammer
default: false
powermining.use.hammer.golden:
description: Allows players to use the Golden Hammer
default: false
powermining.use.hammer.diamond:
description: Allows players to use the Diamond Hammer
default: false
powermining.use.hammer.netherite:
description: Allows players to use the Netherite Hammer
default: false
powermining.use.plow.all:
description: Allows players to use all Plows
default: op
children:
powermining.use.plow.wooden: true
powermining.use.plow.stone: true
powermining.use.plow.iron: true
powermining.use.plow.golden: true
powermining.use.plow.diamond: true
powermining.use.plow.netherite: true
powermining.use.plow.wooden:
description: Allows players to use the Wooden Plow
default: false
powermining.use.plow.stone:
description: Allows players to use the Stone Plow
default: false
powermining.use.plow.iron:
description: Allows players to use the Iron Plow
default: false
powermining.use.plow.golden:
description: Allows players to use the Golden Plow
default: false
powermining.use.plow.diamond:
description: Allows players to use the Diamond Plow
default: false
powermining.use.plow.netherite:
description: Allows players to use the Netherite Plow
default: false
powermining.use.excavator.all:
description: Allows players to use all excavators
default: op
children:
powermining.use.excavator.wooden: true
powermining.use.excavator.stone: true
powermining.use.excavator.iron: true
powermining.use.excavator.golden: true
powermining.use.excavator.diamond: true
powermining.use.excavator.netherite: true
powermining.use.excavator.wooden:
description: Allows players to use the Wooden Excavator
default: false
powermining.use.excavator.stone:
description: Allows players to use the Stone Excavator
default: false
powermining.use.excavator.iron:
description: Allows players to use the Iron Excavator
default: false
powermining.use.excavator.golden:
description: Allows players to use the Golden Excavator
default: false
powermining.use.excavator.diamond:
description: Allows players to use the Diamond Excavator
default: false
powermining.use.excavator.netherite:
description: Allows players to use the Netherite Excavator
default: false
powermining.enchant.all:
description: Allows players to enchant all Hammers and Excavators
default: op
children:
powermining.enchant.hammer.all: true
powermining.enchant.excavator.all: true
powermining.enchant.plow.all: true
powermining.enchant.hammer.all:
description: Allows players to enchant all hammers
default: op
children:
powermining.enchant.hammer.wooden: true
powermining.enchant.hammer.stone: true
powermining.enchant.hammer.iron: true
powermining.enchant.hammer.golden: true
powermining.enchant.hammer.diamond: true
powermining.enchant.hammer.netherite: true
powermining.enchant.hammer.wooden:
description: Allows players to enchant the Wooden Hammer
default: false
powermining.enchant.hammer.stone:
description: Allows players to enchant the Stone Hammer
default: false
powermining.enchant.hammer.iron:
description: Allows players to enchant the Iron Hammer
default: false
powermining.enchant.hammer.golden:
description: Allows players to enchant the Golden Hammer
default: false
powermining.enchant.hammer.diamond:
description: Allows players to enchant the Diamond Hammer
default: false
powermining.enchant.hammer.netherite:
description: Allows players to enchant the Netherite Hammer
default: false
powermining.enchant.plow.all:
description: Allows players to enchant all Plows
default: op
children:
powermining.enchant.plow.wooden: true
powermining.enchant.plow.stone: true
powermining.enchant.plow.iron: true
powermining.enchant.plow.golden: true
powermining.enchant.plow.diamond: true
powermining.enchant.plow.netherite: true
powermining.enchant.plow.wooden:
description: Allows players to enchant the Wooden Plow
default: false
powermining.enchant.plow.stone:
description: Allows players to enchant the Stone Plow
default: false
powermining.enchant.plow.iron:
description: Allows players to enchant the Iron Plow
default: false
powermining.enchant.plow.golden:
description: Allows players to enchant the Golden Plow
default: false
powermining.enchant.plow.diamond:
description: Allows players to enchant the Diamond Plow
default: false
powermining.enchant.plow.netherite:
description: Allows players to enchant the Netherite Plow
default: false
powermining.enchant.excavator.all:
description: Allows players to enchant all excavators
default: op
children:
powermining.enchant.excavator.wooden: true
powermining.enchant.excavator.stone: true
powermining.enchant.excavator.iron: true
powermining.enchant.excavator.golden: true
powermining.enchant.excavator.diamond: true
powermining.enchant.excavator.netherite: true
powermining.enchant.excavator.wooden:
description: Allows players to enchant the Wooden Excavator
default: false
powermining.enchant.excavator.stone:
description: Allows players to enchant the Stone Excavator
default: false
powermining.enchant.excavator.iron:
description: Allows players to enchant the Iron Excavator
default: false
powermining.enchant.excavator.golden:
description: Allows players to enchant the Golden Excavator
default: false
powermining.enchant.excavator.diamond:
description: Allows players to enchant the Diamond Excavator
default: false
powermining.enchant.excavator.netherite:
description: Allows players to enchant the Netherite Excavator
default: false
The group nodes also have alternate names:
- powermining.craft.all
- powermining.craft.hammer.all
- powermining.craft.excavator.all
- powermining.craft.plow.all
- powermining.use.all
- powermining.use.hammer.all
- powermining.use.excavator.all
- powermining.use.plow.all
- powermining.enchant.all
- powermining.enchant.hammer.all
- powermining.enchant.excavator.all
- powemining.enchant.plow.all
- powermining.give
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)