Class ShopOpenEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.shop.ShopOpenEvent
public class ShopOpenEvent
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
ConstructorDescriptionShopOpenEvent
(org.bukkit.entity.Player player) Deprecated.ShopOpenEvent
(org.bukkit.entity.Player player, IArena arena) Triggered when the shop NPS is clicked. -
Method Summary
Modifier and TypeMethodDescriptiongetArena()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
Get the player who opened the shop.boolean
void
setCancelled
(boolean cancelled) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ShopOpenEvent
Deprecated.Triggered when the shop NPS is clicked. -
ShopOpenEvent
Triggered when the shop NPS is clicked.
-
-
Method Details
-
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 classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
ShopOpenEvent(Player, IArena)