Class GSAuthKickEvent

java.lang.Object
org.bukkit.event.Event
com.gamersafer.minecraft.auth.paper.event.GSAuthEvent
com.gamersafer.minecraft.auth.paper.event.GSAuthKickEvent

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

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    GSAuthKickEvent(org.bukkit.entity.Player player, UUID uuid, org.bukkit.command.CommandSender kicker)
    Creates a new GSAuthKickEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Static getter for the handler list
    org.bukkit.event.HandlerList
     
    org.bukkit.command.CommandSender
    The CommandSender kicking the player.

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

    getPlayer, getUuid

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • GSAuthKickEvent

      public GSAuthKickEvent(org.bukkit.entity.Player player, UUID uuid, org.bukkit.command.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 org.bukkit.command.CommandSender getKicker()
      The CommandSender kicking the player.
      Returns:
      the CommandSender performing the action
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Static getter for the handler list
      Returns:
      the handler list