register

fun register(ownerPlugin: Plugin, type: ProjectionType)(source)

Registers a plugin-owned component, modifier, Canvas renderer, or semantics role schema before player negotiation. Declaration projections supply typed encoders and handlers; clients separately install matching decoders and factories. Existing connections retain their negotiated snapshot and must reconnect to use newly registered types. Disabling the owner withdraws its types and closes screens that require them.