Class KitReloadEvent
java.lang.Object
org.bukkit.event.Event
net.godlycow.org.essc.api.kit.event.KitReloadEvent
public class KitReloadEvent
extends org.bukkit.event.Event
Fired when kit definitions are reloaded.
Observe-only: this event cannot be cancelled.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionKitReloadEvent(int kitCount, long reloadTimestamp) Creates a new kit reload event. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerListorg.bukkit.event.HandlerListintReturns how many kits were loaded by the reload.longReturns the reload timestamp in millis.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
KitReloadEvent
public KitReloadEvent(int kitCount, long reloadTimestamp) Creates a new kit reload event.- Parameters:
kitCount- how many kits were loaded by the reloadreloadTimestamp- the reload timestamp in millis
-
-
Method Details
-
getKitCount
public int getKitCount()Returns how many kits were loaded by the reload.- Returns:
- kit count
-
getReloadTimestamp
public long getReloadTimestamp()Returns the reload timestamp in millis.- Returns:
- reload timestamp
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-