Class KonquestEvent

java.lang.Object
org.bukkit.event.Event
com.github.rumsfield.konquest.api.event.KonquestEvent
Direct Known Subclasses:
KonquestCampEvent, KonquestPlayerEvent, KonquestPlayerExileEvent, KonquestRuinEvent, KonquestTerritoryChunkEvent, KonquestTerritoryMoveEvent, KonquestTownEvent

public abstract class KonquestEvent extends org.bukkit.event.Event
A base event from Konquest, with a reference to the API instance.
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    Construct an event with a reference to the Konquest API
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Get the handler list
    org.bukkit.event.HandlerList
     
    Get the KonquestAPI instance that sent this event

    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

    • KonquestEvent

      public KonquestEvent(KonquestAPI konquest)
      Construct an event with a reference to the Konquest API
      Parameters:
      konquest - The KonquestAPI instance
  • Method Details

    • getKonquest

      public KonquestAPI getKonquest()
      Get the KonquestAPI instance that sent this event
      Returns:
      The KonquestAPI instance
    • getHandlers

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

      public static org.bukkit.event.HandlerList getHandlerList()
      Get the handler list
      Returns:
      handlers