Class ShopOpenEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.shop.ShopOpenEvent

public class ShopOpenEvent extends org.bukkit.event.Event
  • Constructor Details

    • ShopOpenEvent

      @Deprecated public ShopOpenEvent(org.bukkit.entity.Player player)
      Triggered when the shop NPS is clicked.
    • ShopOpenEvent

      public ShopOpenEvent(org.bukkit.entity.Player player, IArena arena)
      Triggered when the shop NPS is clicked.
  • Method Details

    • getArena

      public IArena getArena()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Get the player who opened the shop.
    • setCancelled

      public void setCancelled(boolean cancelled)
    • isCancelled

      public boolean isCancelled()
    • getHandlers

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

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