Package com.massivecraft.factions.event
Class FactionEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.massivecraft.factions.event.FactionEvent
-
- Direct Known Subclasses:
FactionDisbandEvent
,FactionPlayerEvent
public class FactionEvent extends org.bukkit.event.Event
Represents an event involving a Faction.
-
-
Constructor Summary
Constructors Constructor Description FactionEvent(Faction faction)
-
Method Summary
Modifier and Type Method Description Faction
getFaction()
Get the Faction involved in the event.static org.bukkit.event.HandlerList
getHandlerList()
org.bukkit.event.HandlerList
getHandlers()
-
-
-
Constructor Detail
-
FactionEvent
public FactionEvent(Faction faction)
-
-
Method Detail
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
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 classorg.bukkit.event.Event
-
-