Skip to content

BootEvent

Package: com.hypixel.hytale.server.core.event.events Implements: 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.

This event has no data fields.

  • HytaleServer.boot() (line 407) via eventBus.dispatch(BootEvent.class) — Server boot lifecycle. Uses class-dispatch shorthand.
getEventRegistry().register(BootEvent.class, event -> {
// Server has booted -- perform plugin initialization
getLogger().info("Plugin initialized during server boot");
});