Class PlayerChannelEvent

Direct Known Subclasses:
PlayerRegisterChannelEvent, PlayerUnregisterChannelEvent

public abstract class PlayerChannelEvent extends PlayerEvent
This event is called after a player registers or unregisters a new plugin channel.
  • Constructor Details

    • PlayerChannelEvent

      protected PlayerChannelEvent(@NotNull @NotNull Player player, @NotNull @NotNull String channel)
  • Method Details

    • getChannel

      @NotNull public final @NotNull String getChannel()
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()