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

Last edited by Brickgard Oct 03, 2024
Page history

Listeners

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):

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%.

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