By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.
OK, Don't show this again
BreakHearts is a PocketMine-MP plugin that enhances the experience of breaking certain blocks, granting players hearts and applying special abilities. When players break designated blocks, they gain health and unique effects based on the type of block broken.
plugins/
folder.The plugin uses a configuration file config.yml
to define which blocks grant hearts and the corresponding effects. Below is the structure and an example configuration.
enabled: true
heart-gained-message: "You gained a {heart} heart!"
blocks:
"Diamond Ore": "Diamond"
"Gold Ore": "Gold"
"Iron Ore": "Iron"
"Coal Ore": "Coal"
effects:
Diamond:
LEVITATION:
duration: 600
amplifier: 2
Gold:
REGENERATION:
duration: 600
amplifier: 2
Iron:
RESISTANCE:
duration: 600
amplifier: 2
STRENGTH:
duration: 600
amplifier: 1
Coal:
NIGHT_VISION:
duration: 1200
amplifier: 1
SPEED:
duration: 600
amplifier: 2
enabled
: Whether the plugin is enabled (default: true).heart-gained-message
: Message sent to the player when they gain a heart. The {heart}
placeholder is replaced with the block type.blocks
: A mapping of block names to heart types. When a block is broken, the corresponding heart type is granted.effects
: A list of effects that will be applied based on the heart type. Effects are specified by name, with duration
and amplifier
options.BlockBreakEvent
.The plugin allows customization of which blocks grant which hearts and the associated effects. Below are the default effects tied to each heart type:
config.yml
and that the blocks listed in blocks:
are correct.config.yml
under effects:
, and ensure that the player is breaking the correct type of block.This plugin is licensed under MIT License.
You can leave one review per plugin release, and delete or update your review at any time