StrataUiClosedEvent
class StrataUiClosedEvent(val player: Player, val ownerPlugin: Plugin, val identity: Long, val session: UiSession, val presentation: UiPresentation?, val category: UiCategory?, val reason: UiCloseReason) : Event(source)
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.
Constructors
Link copied to clipboard
constructor(player: Player, ownerPlugin: Plugin, identity: Long, session: UiSession, presentation: UiPresentation?, category: UiCategory?, reason: UiCloseReason)