Skip to content

lejeffe/MonsterHP

Repository files navigation

Monster HP percentage

This plugin shows the current percentage or numeric hp of given NPC's. The plugin remembers the HP when the NPC doesn't have a HP bar shown.

Image example

NPC Names - Configurations

The plugin allows for special operators/keywords in the NPC names list, making it easier to customize HP displays per NPC.

⭐️ Wildcard Matching

To display HP for all NPCs with names that start with a specific prefix or suffix, use the * wildcard at the start or end of the name.

Example:
To display HP text for all monsters that start with example "skeleton", use:

skeleton*

🔢 Numeric Health Display

To show the numeric health of an NPC (instead of the default percentage), add :n keyword after the NPC name. Note: Not all NPCs support this option.

Example:
To display numeric health for "skeleton", use:

skeleton:n

Or Combine Both!

skele*:n - Marks everything starting with skele and set it's display type to :n for numeric.

❤️ Per NPC Health Threshold Support

You can also set a per-NPC HP threshold to trigger the low‑HP display. Type keyword :XX replace XX with the target number.

Example: skele*:10,goblin:25,man:n:10

  • Skele* uses the low‑HP style at HP < 10%
  • goblin uses the low‑HP style at HP < 25%
  • man shows numeric HP because of :n and low-HP style at HP < 10

🚀 Example NPC List:

Notice: Comma seperator

goblin,man:n,skele*,guard*:n,spider:30,dragon:n:10

About

Show the current monster hp based on either percentage remaining or current hp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10

Languages