|
|
### 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 |