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)

Types

Link copied to clipboard
object Companion

Bukkit listener registration for this exact event type.

Properties

Link copied to clipboard
Link copied to clipboard
@get:NotNull
open val eventName: @NotNull String
Link copied to clipboard
open override val handlers: HandlerList
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ownerPlugin: Plugin
Link copied to clipboard
val player: Player
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open override fun getHandlers(): HandlerList