Package-level declarations

Types

Link copied to clipboard
object PaperUi

Application API supplied by the installed Strata Paper plugin. Depend on Strata and compile against this API without bundling it. Player operations require Paper's primary thread or the player's Folia region. On Folia, create state inside open and enter execute for subsequent state or session access.

Link copied to clipboard
interface PaperUiProvider

Installed runtime boundary. The provider validates native ownership before evaluating factories or operations. Player calls require Paper's primary thread or the player's Folia region; execution-owner entry belongs here.

Functions

Link copied to clipboard
fun UiDefinition.open(ownerPlugin: Plugin, player: Player): UiSession

Opens this definition on an authenticated client through the installed Strata Paper runtime. Call on Paper's primary thread or the player's Folia region; the enabled plugin bounds the lifetime. Captured mutable state must belong to the player's UI owner; PaperUi.open provides a factory for creating it.