mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
Update config of running Factorio instances
Monitor the factorio.settings config for changes and apply them to running instances via the /config set command.
This commit is contained in:
1 parent
5b043524b4
commit
931ad4816f
8 files changed
+274
-51
No files matched your search
@@ -312,6 +312,17 @@ messages.setInstanceConfigField = new Request({
|
||||
},
|
||||
});
|
||||
|
||||
messages.setInstanceConfigProp = new Request({
|
||||
type: "set_instance_config_prop",
|
||||
links: ["control-master"],
|
||||
requestProperties: {
|
||||
"instance_id": { type: "integer" },
|
||||
"field": { type: "string" },
|
||||
"prop": { type: "string" },
|
||||
"value": {},
|
||||
},
|
||||
});
|
||||
|
||||
messages.assignInstanceCommand = new Request({
|
||||
type: 'assign_instance_command',
|
||||
links: ['control-master'],
|
||||
|
||||
Reference in new issue
Block a user