Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicHUD MythicHUD
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicHUDMythicHUD
  • Wiki
  • Listeners

Listeners · Changes

Page history
Listeners info authored Oct 03, 2024 by Brickgard's avatar Brickgard
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 0 deletions
+18 -0
  • Listeners.md Listeners.md +18 -0
  • No files found.
Listeners.md 0 → 100644
View page @ c3a5f4a0
### Default Listeners:
| **Listener Key** | **What it Watches** |
| ---------------- | -------------------------------------------------------- |
| `air` | The player's oxygen, usually only active while swimming. |
| `armor` | The player's armor points. |
| `exp` | The experience level of the player. |
| `food` | The hunger bar fill level of the player. |
| `health` | The player's health points. |
| `debug` | An internal listener for testing - always returns 75% |
### Custom Listeners:
You can create your own Listeners using PlaceholderAPI placeholders or static values.\
Create a config in the `/MythicHUD/listeners/`, such `mana.yml`, to configure its value and max (for comparison):
```yaml
mana:
value: '%mmocore_mana%'
max: '%mmocore_stat_max_mana%'
```
These values can watch any PAPI-compatible plugin's placeholders, and will display the `value` when used in text, and will adjust a bar's fill texture to be the percentage full as `value / max`%.
\ No newline at end of file
Clone repository
  • Advanced Version Support
  • Changelog
  • Commands
  • Compatibility
  • Components
    • Asset Layers
    • Assets
  • Conditions
  • Conditions
    • Effect
    • Gamemode
    • Logical Operator
    • Placeholder
    • Progress
  • Fonts
  • Getting Started
  • HUD Components
View All Pages