pub fn register_script_commands(world: &mut World)Expand description
Make sure the ScriptCommandEvent stream exists in world.
A script host registers it when it is installed, and an app without one still runs the appliers: the C ABI, the SDKs and the browser runtime write to the same stream, and a reader whose message type was never registered fails parameter validation, which ends the tick. Registering the same message twice would age its buffer twice a tick and drop a message a tick early, so every registration goes through here.