Class GSAuthEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent
- Direct Known Subclasses:
GSAuthAuthenticatedEvent
,GSAuthBanEvent
,GSAuthKickEvent
,GSAuthLoginReminderEvent
,GSAuthMuteEvent
,GSAuthWarningEvent
public abstract class GSAuthEvent
extends net.md_5.bungee.api.plugin.Event
The base event for all fired by this plugin.
-
Constructor Summary
ConstructorDescriptionGSAuthEvent
(@Nullable net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid) Base constructor -
Method Summary
Methods inherited from class net.md_5.bungee.api.plugin.Event
postCall
-
Constructor Details
-
GSAuthEvent
Base constructor- Parameters:
player
- the playeruuid
- theUUID
of the player
-
-
Method Details
-
getPlayer
public @Nullable net.md_5.bungee.api.connection.ProxiedPlayer 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
-