Class ServerBoostStartEvent
java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.perk.ServerBoostStartEvent
Called when a server-wide boost starts applying on this server, as it is announced to the
players here: on the server that started it at once, and on the others sharing its database as
they read it, within half a minute. Boosts already running when Zentrix starts do not fire it.
Main thread. Only fired while a listener is registered.
- Since:
- 1.16.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 ServerBoostgetBoost()@NotNull InstantWhen it ends.static @NotNull org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListGets the handler list for this event.@NotNull StringWho or what started it.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ServerBoostStartEvent
-
-
Method Details
-
getBoost
-
getSource
Who or what started it. -
getExpiresAt
When it ends. -
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()
-