Описание
**BodyHealth - Health Management Per Body Part!**
BodyHealth introduces a new way to handle player healthby managing damage and healing per body part.
Built for compatibility, it works well with plugins like[Realistic Survival](https://www.spigotmc.org/resources/realistic-survival.93795/), [MythicMobs](https://mythiccraft.io/index.php?resources/mythicmobs.1/), [ProjectKorra](https://projectkorra.com)and their custom damage sources
Demo Server:[showcase.breweryteam.dev](https://mcsrvstat.us/server/showcase.breweryteam.dev)
**Fine-Tuned Damage**
Customize how different damage types(fall, fire, drowning, etc.) affect specific body parts
**In-Game Display**
Integrates with [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) and [BetterHud](https://www.spigotmc.org/resources/BetterHud.115559/)for real-time body part health displays
**Incorporates all factors**
Fully supports armor, enchantments, potion effects,and even attributes when calculating damage
**Custom Effects**
Script your own effects and specify exactly whatshould happen under what circumstances
**Raytracing**
Uses raytracing for precision in determining whichbody part is hit. For damage that isn't caused by entities,vector calculations are used instead
**Comprehensive config**
You may even set different max health per body partand have it depend on the players vanilla max healthCheck it out [here](https://github.com/Mitality/BodyHealth/blob/main/src/main/resources/config.yml), the possibilities are endless!
**API**
Directly hook into BodyHealth with your ownplugin to further expand its functionality(usage guide can be found [here](https://github.com/Mitality/BodyHealth/wiki/API))
**Addon System**
Supports [addons](https://github.com/Mitality/BodyHealth/wiki/Addons) like [this one](https://modrinth.com/plugin/bodyhealthaddon-locationalarmoraddon) thatdirectly integrate with BodyHealthwithout 3rd party plugins
**Plugin Hooks**
Hooks into plugins like WorldGuard tofurther enhance your experience using it
**Performance**
Safe to say this won't be theplugin lagging your server
**Top Code Quality**
**Official**
[LocationalArmorAddon](https://modrinth.com/plugin/bodyhealthaddon-locationalarmoraddon)
[SkriptAddon](https://modrinth.com/plugin/bodyhealthaddon-skriptaddon)
**Community**
[RealisticBodyHealthAddon](https://github.com/tnhzr/RealisticBodyHealth-Addon)
*Have an addon to share?*
Contact me to have it listed here
**/bodyhealth reload**_reloads the plugins configuration, including effects and language files_
**/bodyhealth heal [player] [body part]**_heal a player (sets the health value of all affected body parts to 100%)_
**/bodyhealth get [player] [body part]**_retrieve a player's health (in percent) for a specific body part, or all_
**/bodyhealth set [player] [body part] **_set a player's health for a specific body part (or all if not specified)_
**/bodyhealth add [player] [body part] **_add health to all parts or the given one for a given player or yourself_
**/bodyhealth data [...]**_control BodyHealth's DataManager, managing data in all storage types_
**/bodyhealth debug [...]**_dump debug information, or toggle debug- or development mode in game_
**/bodyhealth addon [...]**_manage BodyHealth addons while the server is running_
**bodyhealth.update-notify**_notifications upon new updates_
**bodyhealth.reload**_allows reloading the system_
**bodyhealth.heal**_allows using the heal command_
**bodyhealth.get**_allows using the get command_
**bodyhealth.set**_allows using the set command_
**bodyhealth.add**_allows using the add command_
**bodyhealth.data**_allows using the data command_
**bodyhealth.debug**_allows using the debug command_
**bodyhealth.addon**_allows using the addon command_
_+ [bypass permissions](https://github.com/Mitality/BodyHealth/blob/7a0c68af2ef66e8ec5c3b449bbde7d24aa3a2fd5/src/main/resources/config.yml#L35-L42)_
[BodyHealth](https://www.spigotmc.org/resources/bodyhealth.119966/) works seamlessly with [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/)for detailed health placeholders per body part
**%bodyhealth_health_%**_(returns the current amount of health for a body part in percent)_
**%bodyhealth_health__rounded%**_(same as the one above, just without decimal places)_
**%bodyhealth_state_%**_(returns the current state of a body part)_
Please have a look at our [Setup Guide](https://github.com/Mitality/BodyHealth/wiki/Setup)
Cant't update to 1.21 yet?Check out [BodyHealthLegacy](https://github.com/Mitality/BodyHealthLegacy/releases/latest)
Ask questions, request new features or report bugs either[here](https://github.com/Mitality/BodyHealth/issues/new/choose) or on our Discord server (click the icon below to join)