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.
Functions
Returns the current successful client negotiation, or null before readiness or after disconnection.
Installs one runtime; closing the registration releases only that installation.
Creates state and a fresh definition inside the player's execution owner, synchronously on the calling region. Mutable state must be created inside this factory and outside the definition's reevaluated content.
Registers a plugin-owned extension for future client negotiations.