Class OnPlayerUnbanEvent

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

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

    • OnPlayerUnbanEvent

      public OnPlayerUnbanEvent()
  • 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(String player, String adminName)
      Called Event Handling Method
      Parameters:
      player - Player nickname, in case of unban by nickname, or string representation of SteamID, in case of unban by ID
      adminName - Nickname of the administrator who unbanned