open

fun UiDefinition.open(ownerPlugin: Any, player: Player): CompletableFuture<UiSession>(source)

Queues an available definition through the installed Strata Velocity runtime. Create state inside VelocityUi.open or VelocityUi.execute; constructing mutable state on an event thread is unsupported.