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 3
    • Issues 3
    • 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
Home

Getting Started
What's New in MythicHUD?
Commands and Permissions
Configuration Reference

Layouts
Pop-Ups
HUD Components
  • Asset Layers
  • Assets
  • Listeners
  • Conditions
    • Effect
    • Gamemode
    • Placeholder
    • Progress
    • Logical Operators
Fonts

MythicHUD API
Compatibility
  • Migrating from v1 to v2
  • Supporting Multiple Client Versions
  • Crucible
  • Nexo
  • ItemsAdder
  • Modded Clients