
HardnessControl 1.0.0
Customise the hardness (destroyTime) of blocks through a plugin config file.
This plugin allows you to configure the hardness (aka destroyTime) value of Blocks.
The custom hardness values can be specified in this plugin's config.yml. You can update the hardness value by executing "reload" command.
Considering this is a server-side plugin, changing the hardness value will not have any impact on players block breaking process since the breaking of blocks are governed at the client side.
However, if you have any other plugins, which might use block's hardness value, you can use this plugin to alter those hardness values using this plugin.
Over the years, the location of this hardness value is stored has changed but this plugin does support all version from 1.7.x to the latest version.
error_msg : "&c[Hardness] : Some error occured."
Messages:
HardnessInfo: "&a[Hardness] The hardness of %blocktype% is %value%."
HelpMessages:
banner:
msg: "=== &e[&aHardnessControl Commands List (%version%)&e] &r==="
help:
msg: "&a/hardness help : display this help menu."
info:
msg: "/hardness info [block_name]: display the hardness of the named block or the block you're holding."
reload:
msg: "&a/hardness reload : reloads config.yml."
permission: "hardnesstool.reload"
debug:
msg: "&a/hardness debug <true|false> : turn on / off the debug mode."
permission: "hardnesstool.debug"
CommandAliases:
- "hardness"
- "hard"
# this option is for the target outlet of the messages to go. Previously, they were all sent to chat.
MessageOutlet:
Title: false
SubTitle: false
ActionBar: false
Chat: true
# a list of block hardness
Hardness:
DIAMOND_ORE: 5.0