Class OnPlayerKickEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPlayerKickEvent

public abstract class OnPlayerKickEvent extends Event
Triggered when the player kick command is called.
  • Constructor Details

    • OnPlayerKickEvent

      public OnPlayerKickEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.core.raknet.UdpConnection connection, String adminName, String reason)
      Called Event Handling Method
      Parameters:
      connection - Connection of the player who was kicked.
      adminName - Nickname of the administrator who kicked the player
      reason - Reason for player kick.