Class ShopOpenEvent

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

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

    • Constructor Summary

      Constructor Description
      ShopOpenEvent​(org.bukkit.entity.Player player)
      Triggered when the shop NPS is clicked.
    • Method Summary

      Modifier and Type Method Description
      org.bukkit.event.HandlerList getHandlers()  
      org.bukkit.entity.Player getPlayer()
      Get the player who opened the shop.
      boolean isCancelled()  
      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

      • ShopOpenEvent

        public ShopOpenEvent​(org.bukkit.entity.Player player)
        Triggered when the shop NPS is clicked.
    • Method Detail

      • 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