Class GSAuthEvent
java.lang.Object
org.bukkit.event.Event
com.gamersafer.minecraft.auth.paper.event.GSAuthEvent
- Direct Known Subclasses:
GSAuthAuthenticatedEvent
,GSAuthBanEvent
,GSAuthKickEvent
,GSAuthLoginReminderEvent
,GSAuthMuteEvent
,GSAuthWarningEvent
public abstract class GSAuthEvent
extends org.bukkit.event.Event
The base event for all fired by this plugin.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionGSAuthEvent
(@Nullable org.bukkit.entity.Player player, UUID uuid) Base constructor -
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
GSAuthEvent
Base constructor- Parameters:
player
- the playeruuid
- theUUID
of the player
-
-
Method Details
-
getPlayer
public @Nullable org.bukkit.entity.Player getPlayer()Returns the player that was acted upon. May be null if the player is not online- Returns:
- the player
-
getUuid
Returns the UUID of the player that was acted upon- Returns:
- the uuid of the player
-