InventoryHearts

Increase your heart amount by adding a Heart to your inventory

16

InventoryHearts

❤️ InventoryHearts ❤️<br>

Gain hearts by adding a custom item to your inventory, you can use a custom head or any item. The maximum hearts are configurable and you can enable/disable the Heart Stacking<br>

Get extra hearts by keeping them on your inventory, if you drop them they will be removed from your health bar ​

Commands

- /inh reload <player> <amount> - /inh reload

Stacked Hearts (Optional)

<br>(Heart stacking can be disabled)<br>

Splitted hearts

config.yml

``` max-hearts: 40 # 20 = Vanilla amount / 40 = Double Hearts row

Configuration for the heart item.

heart-item: prevent-stack: true

Material of the item. If you want to use a player head, set this to SKULL_ITEM and data to 3.

material: PLAYER_HEAD name: "&c&lHeart &a+1" lore: - "&7This is a heart." - "&7It gives you an extra heart."

Optional: for player heads. Use a Base64 string from sites like https://minecraft-heads.com/

head-base64: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWI3NmI0ZWU5ODg1NzIyOTdjYmQ4NzQ2ODNiZWU5NmFlM2M1NWNlOTRjMDA0ZTUxYWRjODJjZWUxNmNkMGIwYyJ9fX0=" messages: prefix: "&8[&cInventoryHearts&8] " errors: no-permission: "&cYou don't have permission to use this command." player-not-found: "&cPlayer not found." invalid-amount: "&cInvalid amount." must-be-at-least-one: "&cAmount must be at least 1." usage: "&cUsage: /inh give <player> [amount]" success: give-heart: "&aYou have given {amount} heart(s) to {player}." reload: "&aInventoryHearts configuration reloaded and all players' health updated." help: - "&6--- InventoryHearts Help ---" - "&b/inh give <player> [amount] &7- Gives hearts to a player." - "&b/inh reload &7- Reloads the configuration." ```

ADS