Create advanced-hp-bar plugin#11325
Open
chrisreydev wants to merge 15 commits intorunelite:masterfrom
Open
Conversation
Entry for new advanced-hp-bar plugin
|
New plugin |
|
Internal use only: Reviewer details Maintainer details |
Fix segment display issues
Adjust default values
add icon
plugin properties update
Add overheal feature
Stat restore preview on hover
Prayer bar enhancements. Configurable prayer height + low Prayer threshold and color (Off by default)
Prayer Flicking Feature
Replace Icon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Advanced HP Bar
A customizable HP bar overlay for your local player, replacing the default HP bar with a segmented design that gives you more control over how your health and prayer are displayed.
Features
Configuration
Settings are grouped into three sections in the config panel:
General
false6023-3-28HP Bar
0for a single full-width bar100to disable5Prayer Bar
true0to disable03falseHow it works
The HP bar is divided into segments, each representing a fixed number of HP (configured via HP Per Box).
When your HP exceeds your maximum (e.g. via Saradomin brews or other boosting mechanics), overheal is shown as additional boxes appended after your normal HP boxes, rendered in the Overheal Color. All boxes — normal and overheal — scale proportionally so the bar always fits within the configured width.
Setting HP Per Box to
0switches to a single full-width bar. If overhealed in this mode, the bar splits into two flush segments: the left portion represents your normal HP (scaled to your max), and the right portion represents the overheal amount.When hovering a food item in your inventory, a colored preview is drawn on the HP bar showing exactly how much HP would be restored — starting precisely where your current HP ends and capped at your maximum HP. The same applies to the prayer bar when hovering items that restore prayer points.
The prayer bar renders as a single thin bar directly below the HP bar. When Low Prayer Threshold is set to a value above
0, the prayer bar will switch to the Low Prayer Color once your prayer points drop to or below that value, mirroring the low HP warning behavior.When Prayer Flick Helper is enabled, a swipe line travels across the prayer bar from left to right once every game tick (600ms), resetting at the start of each tick. This gives a continuous visual reference for tick timing, useful for prayer flicking or other tick-based mechanics. The line color is configurable via Prayer Flick Color.