java.lang.Object
com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
Direct Known Subclasses:
GSAuthAuthenticatedEvent, GSAuthBanEvent, GSAuthKickEvent, GSAuthLoginReminderEvent, GSAuthMuteEvent, GSAuthWarningEvent

public abstract class GSAuthEvent extends Object
The base event for all fired by this plugin.
  • Constructor Details

    • GSAuthEvent

      public GSAuthEvent(@Nullable com.velocitypowered.api.proxy.Player player, UUID uuid)
      Base constructor
      Parameters:
      player - the player
      uuid - the UUID 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

      public UUID getUuid()
      Returns the UUID of the player that was acted upon
      Returns:
      the uuid of the player