Class ScenarioUnregisteredEvent

java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.scenario.ScenarioUnregisteredEvent

public final class ScenarioUnregisteredEvent extends ZentrixEvent
A scenario left the runtime registry.

Fired after every match running it has had the scenario deactivated and cleaned up, so by the time listeners see this the scenario owns nothing anywhere.

Since:
1.6.0
  • Constructor Details

  • Method Details

    • getDescriptor

      @NotNull public @NotNull ScenarioDescriptor getDescriptor()
    • getScenarioId

      @NotNull public @NotNull String getScenarioId()
    • getReason

      @NotNull public @NotNull ScenarioUnregisteredEvent.Reason getReason()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Description copied from class: ZentrixEvent
      Gets the handler list for this event.
      Overrides:
      getHandlers in class ZentrixEvent
      Returns:
      The handler list
    • getHandlerList

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