Class ChannelGuiPopulateEvent

java.lang.Object
org.bukkit.event.Event
dev.unnm3d.redischat.api.events.ChannelGuiPopulateEvent

public class ChannelGuiPopulateEvent extends org.bukkit.event.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChannelGuiPopulateEvent(org.bukkit.entity.Player player, List<PlayerChannel> channelItems)
    Event that is called before the channel GUI is populated
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChannelGuiPopulateEvent

      public ChannelGuiPopulateEvent(org.bukkit.entity.Player player, List<PlayerChannel> channelItems)
      Event that is called before the channel GUI is populated
      Parameters:
      player - The player that is opening the GUI
      channelItems - The list of channels that will be displayed in the GUI
  • Method Details

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()