Class KitDataLoadEvent
java.lang.Object
org.bukkit.event.Event
net.godlycow.org.essc.api.kit.event.KitDataLoadEvent
public class KitDataLoadEvent
extends org.bukkit.event.Event
Fired when a player's kit claim data is loaded.
Observe-only: this event cannot be cancelled. Note this event is fired asynchronously.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionKitDataLoadEvent(UUID playerId, String playerName, int loadedEntryCount) Creates a new kit data load event. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerListorg.bukkit.event.HandlerListintReturns how many claim entries were loaded.Returns the player whose data was loaded.Returns the player name at load time.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
KitDataLoadEvent
Creates a new kit data load event.- Parameters:
playerId- the player whose data was loadedplayerName- the player name at load timeloadedEntryCount- how many claim entries were loaded
-
-
Method Details
-
getPlayerId
Returns the player whose data was loaded.- Returns:
- the player UUID
-
getPlayerName
Returns the player name at load time.- Returns:
- the player name
-
getLoadedEntryCount
public int getLoadedEntryCount()Returns how many claim entries were loaded.- Returns:
- loaded entry count
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-