Static
eventReadonly
pluginThe plugin that has been loaded.
Optional
Readonly
roomThe room that this plugin has been loaded into, if the plugin is a RoomPlugin.
The plugin that has been loaded.
Optional
room: RoomThe room that this plugin has been loaded into, if the plugin is a RoomPlugin.
Generated using TypeDoc
Emitted when a plugin is loaded into the server somewhere, either in the worker itself globally, or in a specific room. Use isRoomPlugin to find out programmatically what kind of plugin has been loaded.
If you listen for this event in your plugin, you should probably set the
order
in your PluginMetadata to"first"
.This is called before the onPluginLoad lifecycle method.