Class OnReceiveFactionInviteEvent

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

public abstract class OnReceiveFactionInviteEvent extends Event
Triggered when a player is invited to join a faction.
  • Constructor Details

    • OnReceiveFactionInviteEvent

      public OnReceiveFactionInviteEvent()
  • 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 factionName, String playerName)
      Called Event Handling Method
      Parameters:
      factionName - The name of the faction for which the player received an invitation.
      playerName - The name of the player who's been invited to join the faction.