Class GSAuthKickEvent

java.lang.Object
com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
com.gamersafer.minecraft.auth.velocity.event.GSAuthKickEvent

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

    • GSAuthKickEvent

      public GSAuthKickEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource 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 com.velocitypowered.api.command.CommandSource getKicker()
      The CommandSource kicking the player.
      Returns:
      the CommandSource performing the action