Package-level declarations

Types

Link copied to clipboard
class StrataClientDisconnectedEvent(val player: Player, val reason: UiCloseReason) : Event

A previously ready Strata connection has ended; all its UIs are already terminal. Retirement and shutdown callbacks do not grant native world access. Ordinarily delivered synchronously on Paper's primary thread or the player's Folia region. Notification only; it is not cancellable.

Link copied to clipboard
class StrataClientReadyEvent(val player: Player, val capabilities: UiClientCapabilities) : Event

Successful client negotiation. Emitted once per connection generation. Delivered synchronously on Paper's primary thread or the player's Folia region. Notification only; it is not cancellable.

Link copied to clipboard
class StrataUiClosedEvent(val player: Player, val ownerPlugin: Plugin, val identity: Long, val session: UiSession, val presentation: UiPresentation?, val category: UiCategory?, val reason: UiCloseReason) : Event

UI ownership has ended, including failed opening. Emitted once; the session cannot reopen. Retirement and shutdown callbacks do not grant native world access. Ordinarily delivered synchronously on Paper's primary thread or the player's Folia region. Notification only; it is not cancellable.

Link copied to clipboard
class StrataUiOpenedEvent(val player: Player, val ownerPlugin: Plugin, val identity: Long, val session: UiSession, val presentation: UiPresentation, val category: UiCategory?) : Event

The client acknowledged the first native presentation. This does not certify a rendered frame. Delivered synchronously on Paper's primary thread or the player's Folia region. Notification only; it is not cancellable.

Link copied to clipboard
class StrataUiPresentationChangedEvent(val player: Player, val ownerPlugin: Plugin, val identity: Long, val session: UiSession, val previous: UiPresentation, val presentation: UiPresentation, val category: UiCategory?) : Event

The client acknowledged a different presentation for the same retained UI. Delivered synchronously on Paper's primary thread or the player's Folia region. Notification only; it is not cancellable.