Action Bar Health
3.5.9ActionHealth is a health plugin that utilizes the action bar to display player and mob health.
3.5.9latest1.20 supportJun 23, 2023 Supports 1.203.5.81.19 supportJun 12, 2022 Now supports 1.193.5.7Java 16 & MythicMobs v5.0.2 supportMar 26, 2022 - Requires Java 16 - Updated to support MythicMobs v5.0.2 Version v3.5.7 or greater: · Java 16 or greater Versions below v3.5.7: · Java 8 or greater You can download a specific version from the Version History tab or GitHub.3.5.6Add support for MC 1.18+Dec 1, 2021 3.5.5Specified the API versionJun 21, 2021 3.5.4Added v1_17_R1 supportJun 12, 2021 · Added v1_17_R1 support · Added bStats3.5.3Bug fixesJun 9, 2021 3.5.21.16.4 compatibilityNov 4, 2020 1.16.4 compatibility. Thanks @Aurelien300003.5.11.16.2 supportAug 12, 2020 3.5.0WolrdGuard, placeholders and limit health updateAug 6, 2020 Placeholders: Placeholders now can retrieve both the receiver and attacked player. Below is an example of: · If I attack a player show the health message + the attacked players exp level. · If I attack a non-player it just shows the health message. + my (the receiver) exp level. Code (Text): # The message the player is sent. # {name} shows the name of the mob or player. # {health} shows current health of the mob or player. # {maxhealth} shows the max health of the mob or player. # {usestyle} will use the defined chars. # {displayname} will use player/mob custom name. # {opponentlastdamage} the amount of damage the enemy last received. # {percenthealth} displays the percentage of health left. # # For PlaceholderAPI or MVdWPlaceholderAPI: # By default placeholders will be retrieved as the attacking player. # Prefix with 'ATTACKEDPLAYER_' to get the placeholders as the attacked player # i.e %player_exp% would be %ATTACKEDPLAYER_player_exp%. Health Message: '&7&l{name}: {usestyle} %ATTACKEDPLAYER_player_exp%' # If set empty it will default to the one above. # This message is sent to all non player entities. # All the placeholders from above work here also. Non Player Message: '&7&l{name}: {usestyle} %player_exp%' WorldGuard: This update should fix the WorldGuard error. If you are still having issues please make sure you have the latest WorldGuard and WorldEdit. If you are still having issues messaging me. Limit Health: Note: This update is optional. If updating everything should still work as expected. New configuration was added to be able to customize the limit health logic: Code (Text): # Limits the health style to a certain amount of symbols. Static limit (-1 to disable) # Limit health WILL accurately still display the entities health. Limit Health: 10 # If 'Limit Health' is set to -1. With 'Upper Limit Health' you can trigger 'Limit Health' logic to prevent 'Use Style' going off screen' # '40 -> 10' = If health over 40, use limit health 10. Leave empty to disable Upper Limit Health: "40 -> 10" If you have any questions, feel free to message me directly.3.4.81.16.1 supportJun 26, 2020 · Added 1.16.1 support. Thanks to Kikisito. · Added '{percenthealth}' which displays the percentage of health left.3.4.6New action event 'damage' and action system improvementsApr 7, 2020 New action event 'damage': A new action event 'damage' has been added. This action event allows you to trigger action bar health message if a tagged entity gets damaged. The 'damage' event supports the type 'any' or many as you want damage causes. 'Any' is useful if you want the health bar to appear when an entity receives damage from non-player hits like lava, falling, potions etc.. Config example: Code (Text): # If enabled, when a player gets into combat they will be tagged for the configurable amount of time. # When the enemy triggers an action the provided message will be sent. # Supports all placeholders from above. # Supported events: CONSUME, RIGHTCLICK, LEFTCLICK, SWAP, DAMAGE Action: Enabled: true # In seconds TagLength: 20 # Amount of entities a player can tag during combat. -1 for unlimited TagAmount: 2 Events: DAMAGE: ANY: '&7&l{name}: {usestyle}' # Supports DamageCause if 'ANY' not being used #LAVA: '&4On fire!' #ENTITY_SWEEP_ATTACK: '&7You swept them!' Action system notes: The action system can be used if you want shared action health bars among many players fighting the same mob.3.4.5Added 'CheckTicks' and 'Whitelist' optionApr 5, 2020 Sorry for the back to back updates. Added 'CheckTicks': This allows you to modify how often to check if player is looking at an entity. Currently, i'm experimenting with the value 0. Seems to provide a better experience but increase if lagging, maybe to 10 or 20. The old value was 20. Added 'Whitelist': If enabled (by adding names), action health will only appear for white listed entities. Config changes if you'd like to modify these values: Code (Text): # Whitelist by entity name or entity display name. # Also supports MythicMobs using the internal name. Whitelist: [] LookValues: # How often (in ticks) to check if player is looking at an entity. Increase if lagging, maybe to 10 or 20. CheckTicks: 0 # If the dot product is positive, the target is in front Dot: 0 # Tolerance of the line calculation Tolerance: 43.4.3Configurable 'Show On Look' valuesApr 5, 2020 Configurable 'Show On Look' values. If you would like to modify the default values add the following to existing config: Code (Text): LookValues: # If the dot product is positive, the target is in front Dot: 0 # Tolerance of the line calculation Tolerance: 43.4.21.15 SupportDec 14, 2019 1.15 Support3.4.1Fixed async and action system errorSep 20, 2019 · Fixed getNearbyEntities async error · Fixed action system dealing with potions3.4.0Action systemAug 10, 2019 · New placeholder {opponentlastdamage} displays the amount of damage the enemy last received. · Fixed npc/player setting · Added action system Code (Text): # If enabled, when a player gets into combat they will be tagged for the configurable amount of time. # When the enemy triggers an action the provided message will be sent. # Supports all placeholders from above. # Supported events: CONSUME, RIGHTCLICK, LEFTCLICK, SWAP Action: Enabled: true # In seconds TagLength: 20 # Amount of players a player can tag during combat. -1 for unlimited TagAmount: 2 Events: CONSUME: GOLDEN_APPLE: '&7&l{name} consumed &cgolden apple&7&l!' REGENERATION_POTION: '&7&l{name} consumed &cregen potion&7&l!' RIGHTCLICK: ENDER_PEARL: '&7&l{name} used &cender pearl&7&l!' SWAP: ENDER_PEARL: '&7&l{name} swapped to &cender pearls&7&l. {usestyle}&7&l' POTION: '&7&l{name} swapped to &cpotion&7&l. {usestyle}&7&l' Enjoy!3.3.6New config options, bug fixes and APIAug 8, 2019 · Added HealthSendEvent API · Added option to disable showing health on MiniaturePets · Fixed npc/player setting (nvm, fixed in upcoming update.) · Support of client side translations using LanguageUtils was added by @stan60250 Enjoy!3.3.5Added support for MythicMobs for blacklisting optionAug 6, 2019 You can now blacklist MythicMobs mobs by their internal names. Enjoy!3.3.4Bug fixes and new config optionAug 5, 2019 - Fixed "Use Permission" not working. - Added option to disable showing NPC health. - Fixed "Show On Look" not checking if entities match requirements. I'd appreciate if servers that use custom translations share them with me, so I can share them with others! For users that do, I will tag them on Spigot and display their server IP. Enjoy!3.3.3Added mcMMO health bar supportAug 4, 2019 - Added mcMMO health bar support I'd appreciate if servers that use custom translations share them with me, so I can share them with others! For users that do, I will tag them on Spigot and display their server IP. Enjoy!3.3.2Fixed bug, now support WG 6/7 and added ability to change 'Delay Tick' amount.Aug 4, 2019 - Refactored code - Added support for both WG 6/7 - Fixed 'Show Player' setting toggle not working - Added ability to change 'Delay Tick' amount I'd appreciate if servers that use custom translations share them with me, so I can share them with others! For users that do, I will tag them on Spigot and display their server IP. Enjoy!3.3.1Fixed errorJun 7, 2019 Fixed error when 'on look' is enabled.3.3.01.14 Support removed debug messageApr 29, 2019 1.14 support.3.2.91.14 SupportApr 28, 2019 1.14 support.3.2.8Fixed error when using 'Show On Look'.Feb 8, 2019 Fixed error when using 'Show On Look'.3.2.7WG 7 support onlyFeb 6, 2019 Warning: This build only supports WorldGuard 7+. Previous build: http://bit.ly/2HXB0ZD3.2.61.13+ supportAug 30, 2018 Should support all 1.13 versions from now on.3.2.4Fixed "Show On Look" feature error and added relational placeholdersAug 3, 2018 Update only needed if you use the "Show On Look" feature or want to use relational placeholders. Fixed an error where it tries to show the health bar for a teleported entity. The "Show On Look" feature shows the health of the entity that the player is looking at. You can enable it in the config. You now can use clip's PlaceholderAPI relational placeholders.3.2.3Added 1.13 support and new config optionJul 24, 2018 - Added 1.13 support - New config option to allow separate bars for the previous placeholders update. Config update required if you want to use this feature, so it's optional. Added to config: Code (Text): # If set empty it will default to the one above. # This message is sent to all non player entities. # All the placeholders from above work here also. Non Player Message: '' Default update config can be found here.3.2.2Added support for PlaceholderAPI and MVdWPlaceholderAPIJul 13, 2018 Added support for PlaceholderAPI. MVdWPlaceholderAPI was supported just not documented.3.2.1Fixed error with combat tagJun 21, 2018 Fixed error caused by attacking combat tag npcs.3.2.0Added option to limit health style symbolsJul 25, 2017 Update: - Added option to limit health style symbols - Using reflection for latest version Config: This update does not require you to update your config. Although, if you want to change the amount of symbols you are required to update the config. If you do not update the config it will default to 10 symbols. Change are from: Code (Text): # When set to true and style health is enabled this will limit the health symbols to 10. Limit Health: true To: Code (Text): # Limits the health style to a certain amount of symbols. Limit Health: 103.1.9Removed debug messageJun 23, 2017 - Forgot to remove debug message. Sorry! - Added spectator to default config.3.1.8Added a few more config optionsJun 22, 2017 Config update not required but recommended. Added the following config options: Code (Text): # Check if player can see entity before sending health. Can See: true # Hide if entity is in spectator mode. Spectator Mode: true # Hide action health if entity has invisible potion on. Invisible Potion: true Update config can be retrieved by deleting the current one or getting it from GitHub: https://github.com/zeshan321/ActionHealth/3.1.7Added support for pre 1.12 version and new placeholderMay 16, 2017 · Added support for pre 1.12 version · Added '{displayname}' placeholder. Supports player nicks/custom names. It defaults back to '{name}' if the player does not have a custom name.3.1.6Improvements and bug fixesMar 26, 2017 - Improved look detection for the look option. - Fixed showing decimals again (sorry about that). - Don't show health for armor stands.3.1.5Bug fixes and messagesMar 24, 2017 Added: · The ability to customize the message when you use /actionhealth toggle. Fixed: · Check if entity is a npc when look is enabled. · Showing health message when damaging self. Config update is not required as long as you updated to the last version but is required if you want to change the toggle message.3.1.4New features and bug fixesMar 24, 2017 Bug fixes: · Showing health message when player hurts itself. New features: · Added an option to blacklist certain entities from being shown in the health action bar. · Added option to show the health action bar when a player is looking at an entity. · Added the ability to customize the message when using /actionhealth toggle. Make sure to update configs.3.1.3Forgot debugMar 23, 2017 Forgot debug3.1.2Bug fixesMar 21, 2017 Fixed: · Error when displaying health · Check if entity is dead before displaying health3.1.1Bug fixesMar 20, 2017 Fixed: · Delay option not getting the right health · Showing negative health number when the entity dies · Showing decimals3.1.0Rewrite and fixesMar 20, 2017 This version is recommended as it has performance improvements, bug fixes, and new features. It's recommend that you update your config. Update: · Rewrote the plugin · Source code is now available · '{usestyle}' works correctly and with half heart support now · 'Limit Health' has been removed as its enabled by default · Added 'Remember Toggle' option. It saves players /actionhealth toggle state.4.2Added optional WorldGuard supportSep 29, 2016 Added option to disable ActionHealth in certain WorldGuard regions. ActionHealth does not require WorldGuard. It is optional. Add the following to your config to add support: Code (Text): # ActionHealth will be disabled for any region names added below. Case sensitive! Disabled regions: - randomregion4.1Added citizens npc supportJul 16, 2016 - Fixed error when citizens NPC attacks a entity.4.0Added support for 1.10Jun 10, 2016 Added support for 1.103.21.9.4May 13, 2016 Added support for 1.9.43.1Strip colors/formattingMar 26, 2016 Added option to strip player colors from the name. Code (Text): # Strip Name. Strip Name: false3.0Finally, Limit Health option!Mar 9, 2016 Limit Health is a new option that has been added to the config of ActionHealth. This option is useful for servers that have custom mob health (i.e 100 health). Code (Text): # When set to true and style health is enabled this will limit the health symbols to 10. # Currently not supporting 'Half Health Icon' Limit Health: false Make sure to update your configs! Caveats: Current not supporting 'Half Health Icon'2.7Added support for 1.9Mar 1, 2016 Now supports: · 1.9 · 1.8.8 · 1.8.7 · 1.8.6 · 1.8.3 · 1.8 · 1.7.10 (#1649)2.6Event priorityAug 11, 2015 - Changed event priority.2.5PvP checkApr 2, 2015 Added option to not display actionhealth messages in PvP denied regions.2.4Per-world support!Apr 2, 2015 Added option to disable ActionHealth in certain worlds: Code (Text): # ActionHealth will be disabled for any world names added below. Case sensitive! Disabled worlds: - randomworld2.3OppsMar 30, 2015 Wrong version.2.2Name translationsMar 18, 2015 Added option to display a translated name rather then the english version. Code (Text): # Set names Name Change: true Name: - Cow = Kuh2.1Older support and variablesMar 16, 2015 Added support for: · 1.8.3 · 1.8 · 1.7.10 (#1649) Added 2 variables that were requested: · {damager_health} get the current health of the damager · {damager_max} get the max health of the damager2.0ToggleMar 14, 2015 Added /Actionhealth toggle1.9UpdatedMar 14, 2015 Updated to 1.8.3. No longer supports protocol hack,1.8Symbols fixFeb 12, 2015 Fixed symbols not working properly with players.1.7Style creatorFeb 8, 2015 Action bar Health now allows you to create your own health style. Example: You can use unicode. Symbols list: http://www.w3schools.com/charsets/ref_utf_symbols.asp If you want to use the style system you need to add this variable '{usestyle}'. Example: Health Message: '&6&l{name}: {usestyle}' Example of style health: Code (Text): # Style Health Full Health Icon: "&4\u2764" Half Health Icon: "&c\u2764" Empty Health Icon: "&7\u2764"1.6Delayed and armorstandJan 17, 2015 It should no longer show armorstand health. Added Delay Message: true for accurate health if using plugins like ItemLoreStats.1.5Error fixJan 6, 2015 Fixed some errors.1.4Config options!Dec 30, 2014 This version allows you configure what sends players the health messages. Code (Text): # If set to false player will not see health messages from mobs. Show Mob: true # If set to false player will not see health messages when pvping players. Show Player: true Make sure to regenerate you configs!1.3Accurate healthDec 30, 2014 Hopefully more accurate health displayed.1.2Backwards compatibilityDec 27, 2014 Now supports both 1.8 and the protocol hack. Will only work on protocol hack versions that have Action Bar support.1.1Compiled in Java 7Dec 26, 2014 Compiled in Java 7.1.0Dec 26, 2014
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta