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

    Constructors
    Constructor
    Description
    GSAuthEvent(@Nullable net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid)
    Base constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable net.md_5.bungee.api.connection.ProxiedPlayer
    Returns the player that was acted upon.
    Returns the UUID of the player that was acted upon

    Methods inherited from class net.md_5.bungee.api.plugin.Event

    postCall

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GSAuthEvent

      public GSAuthEvent(@Nullable net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid)
      Base constructor
      Parameters:
      player - the player
      uuid - the UUID 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

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