handlerList

val handlerList: HandlerList

Static HandlerList instance that manages all event listeners for PlayerFlagSetEvent.

This HandlerList is the central registry for all listeners that want to respond to PlayerFlagSetEvent occurrences. It is used by Bukkit's event system to:

  • Store references to all registered event listeners

  • Maintain listener execution order based on event priorities

  • Provide efficient event dispatching to relevant listeners

  • Support dynamic listener registration and unregistration

The @JvmStatic annotation ensures that this property is accessible from Java code as a static field, maintaining compatibility with Java-based plugins that might need to interact with this event system.

Usage examples:

  • Plugin managers use this to register new listeners

  • The event system uses this to find all listeners when the event is fired

  • Debugging tools can inspect this to see what listeners are registered

Since

1.0.0

See also

for the instance method that returns this HandlerList