Class ZentrixReadyEvent
java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.lifecycle.ZentrixReadyEvent
Called once Zentrix has finished starting: arenas are loaded and saved custom games restored.
Addons that depend on Zentrix are enabled after this has fired and can read
PlatformService#getLifecycleState() instead. The event is for plugins that start
earlier, such as ones that only softdepend on Zentrix.
- Since:
- 1.8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringThe API version the started Zentrix implements.static @NotNull org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListGets the handler list for this event.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ZentrixReadyEvent
-
-
Method Details
-
getApiVersion
The API version the started Zentrix implements. -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()Description copied from class:ZentrixEventGets the handler list for this event.- Overrides:
getHandlersin classZentrixEvent- Returns:
- The handler list
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-