BootEvent
Package:
com.hypixel.hytale.server.core.event.eventsImplements:IEvent<Void>Cancellable: No
Marker event dispatched during the server boot lifecycle. This event carries no data fields and serves as a signal that the server boot sequence has reached the event-dispatch stage. Plugins can listen for this event to perform initialization that depends on the server’s core systems being available.
The event is dispatched using class-dispatch shorthand — no event object is constructed by the caller. The EventBus creates one internally.
Fields / Accessors
Section titled “Fields / Accessors”This event has no data fields.
Fired By
Section titled “Fired By”HytaleServer.boot()(line 407) viaeventBus.dispatch(BootEvent.class)— Server boot lifecycle. Uses class-dispatch shorthand.
Listening
Section titled “Listening”getEventRegistry().register(BootEvent.class, event -> { // Server has booted -- perform plugin initialization getLogger().info("Plugin initialized during server boot");});Related Events
Section titled “Related Events”ShutdownEvent— The counterpart lifecycle event, fired when the server is shutting down.LoadAssetEvent— Fired earlier in the boot sequence during asset loading.PrepareUniverseEvent— Fired during universe initialization.