MagicHealth icon

MagicHealth -----

Zelda like health expansion.



MagicHealth [​IMG]

This plugin mimics the functionality of the Scaling Health mod ( or at least inspired by it ) adding new items including Heart Crystals that can permanently expand a player's health. Or completely limit a player's health all-together to less hearts.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Have a full twenty hearts:
[​IMG]

Or limit yourself:
[​IMG]

Or maybe even something ridiculous:
[​IMG]

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯


Installation and customization of this plugin is dead simple, just place it in your servers plugins folder and run it once to generate the config.yml file, then adjust the settings to your desires, the configuration file is commented to assist you if you need.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Items
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Heart Dust
⎯⎯⎯
Heart Dust is an item that will very rarely drop from many different hostile and passive mobs. It is the basis of most of the crafting for other items. On it's own it won't do much of anything at all.
[​IMG]

Heart Shard
⎯⎯⎯
The Heart Shard is a crafted item that once again is another rare drop, it will always have a drop chance of 100% but only from boss mobs like the Wither or Ender Dragon. It is used for crafting a Heart Crystal.
[​IMG]

Heart Crystal
⎯⎯⎯
The Heart Crystal is an extremely powerful item, when used by the player it will permanently expand their health by one heart ( or by how much is in the config.yml ). The player can not use a Heart Crystal if theyre already at the maximum health set in config.yml.
[​IMG]

Heart Drain Amulet
⎯⎯⎯
If player with an expanded health would ever wish to decrease their health they can craft a Heart Drain Amulet. This item can permanently decrease a players health by one heart. ( Or once again by how much is in the config.yml, and assuming the player has an expanded health to begin with. )
[​IMG]

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Crafting
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Crafting recipes for the items listed above, note that crafting can be disabled for these items in the config.yml. Custom recipes are currently not planned.

Heart Shard
⎯⎯⎯
[​IMG]


Heart Crystal

⎯⎯⎯
[​IMG]


Heart Drain Amulet

⎯⎯⎯
[​IMG]

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Commands
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Commands at the moment are sort of lengthy, but they all support TabComplete.


Magic Health Give Item
⎯⎯⎯
This command can be supplied with the argument list to show the available items within the plugin, or the name of the item itself to give to yourself. A second number argument can also be provided as the amount of that item.
Example:
Code (Text):
/magichealthgive list
Result:

[​IMG]
Example:
Code (Text):
/magichealthgive [yourname] heart_dust 5
Result:

[​IMG]

Magic Health Set Max
⎯⎯⎯
This command can set the maximum health of yourself or a specified player, the second argument can either be a player name or a double, if it's a player name the 3rd argument must also be a double.

Example:
Code (Text):
/magichealthsetmax 20
Result:
[​IMG]
Example:
Code (Text):
/magichealthsetmax portalsam 20
Result:

[​IMG]

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Configuration
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
All the drop rate percentages and amounts can be configured in config.yml, you can also change how much a Heart Crystal changes your max health or how much a Heart Drain Amulet takes away. You can also change how many hearts a player starts out with or their maximum health they can get ever. There is also another data file playerHealthData.yml that holds UUID key-value pairs for how big a players health-bar is, you may change these manually if you so desire. As of Release-1.2 you can customize a list of what mobs are in the common, uncommon, and boss mob categories so you can choose which mobs will drop these items, or if you'd like you can completely disable mob drops all together. Note: to add a mob to the mob drop list they must be in the EntityType Enum (Usually the Mob's name in capital letters with spaces separated in underscores).

[​IMG]


⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Permissions
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯


magichealth.giveitem
Access to the /magichealthgive command, default permission level: op.

magichealth.sethealth
Access to the /magichealthsetmax command, default permission level: op.
Resource Information
Author:
----------
Total Downloads: 865
First Release: Oct 28, 2021
Last Update: Jan 12, 2022
Category: ---------------
All-Time Rating:
3 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings