Class FactionEvent

java.lang.Object
org.bukkit.event.Event
dev.kitteh.factions.event.FactionEvent
Direct Known Subclasses:
FactionAutoDisbandEvent, FactionCreateEvent, FactionDisbandEvent, FactionPlayerEvent, FactionRelationEvent

@NullMarked public class FactionEvent extends org.bukkit.event.Event
Represents an event involving a Faction.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the Faction involved in the event.
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FactionEvent

      public FactionEvent(Faction faction)
  • Method Details

    • getFaction

      public Faction getFaction()
      Get the Faction involved in the event.
      Returns:
      faction involved in the event.
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()