pub fn register_plugin_event_message(world: &mut World)Expand description
Register PluginEvent as a message, so a main-thread system can write
one through MessageWriter<PluginEvent>. Idempotent: ScriptPlugin
calls it, and so does a capability that writes events, whichever installs
first.