Class GSAuthEvent
java.lang.Object
com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
- Direct Known Subclasses:
GSAuthAuthenticatedEvent
,GSAuthBanEvent
,GSAuthKickEvent
,GSAuthLoginReminderEvent
,GSAuthMuteEvent
,GSAuthWarningEvent
The base event for all fired by this plugin.
-
Constructor Summary
ConstructorDescriptionGSAuthEvent
(@Nullable com.velocitypowered.api.proxy.Player player, UUID uuid) Base constructor -
Method Summary
-
Constructor Details
-
GSAuthEvent
Base constructor- Parameters:
player
- the playeruuid
- theUUID
of the player
-
-
Method Details
-
getPlayer
public @Nullable com.velocitypowered.api.proxy.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
-