Class GSAuthKickEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthKickEvent

public class GSAuthKickEvent extends GSAuthEvent
Fired when a user is kicked
  • Constructor Summary

    Constructors
    Constructor
    Description
    GSAuthKickEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender kicker)
    Creates a new GSAuthKickEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    net.md_5.bungee.api.CommandSender
    The CommandSender kicking the player.

    Methods inherited from class com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent

    getPlayer, getUuid

    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

    • GSAuthKickEvent

      public GSAuthKickEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender kicker)
      Creates a new GSAuthKickEvent
      Parameters:
      player - the kicked player
      uuid - the UUID of the kicked player
      kicker - the sender issuing the kick
  • Method Details

    • getKicker

      public net.md_5.bungee.api.CommandSender getKicker()
      The CommandSender kicking the player.
      Returns:
      the CommandSender performing the action