PluginConnectionService¶
This service is used by plugins to communicate with other instances of themselves running in other data models.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
This service is used by plugins to communicate with other instances of themselves running in other data models (e.g. a plugin in the Studio edit data model can communicate with the instance of that same plugin in the Studio playtest Server data model). Plugins can retrieve PluginConnection objects from this service, which provide an API for sending messages across the data model boundary. All access to this class is restricted to Plugin security. The command bar is not currently supported.
Inheritance¶
Object โ Instance โ PluginConnectionService
Methods¶
| Member | Signature | Summary |
|---|---|---|
CanHaveConnectionType |
PluginConnectionService:CanHaveConnectionType(type: PluginConnectionTargetType): bool |
Checks if the current data model context can ever have connections of a given type. |
GetPluginConnectionsOfType |
PluginConnectionService:GetPluginConnectionsOfType(type: PluginConnectionTargetType): Array |
Returns a list of currently connected PluginConnection objects with the given connection type. |
Events¶
| Member | Signature | Summary |
|---|---|---|
Connected |
Connected(conn: PluginConnection) |
Fires just after a new PluginConnection successfully connects. |
Roblox reference: PluginConnectionService
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.