Class GSBansKickEvent

java.lang.Object
com.gamersafer.minecraft.bans.velocity.event.GSBansEvent
com.gamersafer.minecraft.bans.velocity.event.GSBansKickEvent

public class GSBansKickEvent extends GSBansEvent
Fired when a user is kicked
  • Constructor Details

    • GSBansKickEvent

      public GSBansKickEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource kicker)
      Creates a new GSBansKickEvent
      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