Class TeamSelectorOpenEvent

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

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

    • Constructor Summary

      Constructor Description
      TeamSelectorOpenEvent​(org.bukkit.entity.Player p)
      Called when a player opens the Team Selector GUI
    • Method Summary

      Modifier and Type Method Description
      static org.bukkit.event.HandlerList getHandlerList()  
      org.bukkit.event.HandlerList getHandlers()  
      org.bukkit.entity.Player getPlayer()
      Get the player
      boolean isCancelled()
      Check if cancelled
      void setCancelled​(boolean cancelled)  
      • 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 Detail

      • TeamSelectorOpenEvent

        public TeamSelectorOpenEvent​(org.bukkit.entity.Player p)
        Called when a player opens the Team Selector GUI
    • Method Detail

      • getPlayer

        public org.bukkit.entity.Player getPlayer()
        Get the player
        API 1
      • setCancelled

        public void setCancelled​(boolean cancelled)
      • isCancelled

        public boolean isCancelled()
        Check if cancelled
        API 1
      • getHandlers

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

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