mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Track plugins loaded by master and slaves
Send a mapping of the plugins the master server has loaded to slaves vice versa. Limit the plugins that may be loaded by instances to only those that the master server has loaded.
This commit is contained in:
1 parent
4060c75142
commit
1629eaf225
7 files changed
+53
-12
No files matched your search
@@ -114,6 +114,9 @@ Handshake messages
|
||||
Sent by the master server when the WebSocket connection has been opened.
|
||||
|
||||
- version - string - The version of the master, e.g. "2.0.0".
|
||||
- plugins - Object<string, string> -
|
||||
Object mapping plugin names to plugin version for plugins that are
|
||||
loaded on the master server.
|
||||
|
||||
### `register_slave`
|
||||
|
||||
@@ -124,6 +127,9 @@ Slave handshake for establishing a new connection session.
|
||||
- version - string - The protocol version of the slave, e.g. "2.0.0".
|
||||
- name - string - Name of the slave.
|
||||
- id - integer - ID of the slave.
|
||||
- plugins - Object<string, string> -
|
||||
Object mapping plugin names to plugin version for plugins that are
|
||||
available on the slave. Currently not used by the master server.
|
||||
|
||||
### `register_control`
|
||||
|
||||
|
||||
Reference in new issue
Block a user