mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 07:24:52 +09:00
Update to support 0.14.10+
This commit is contained in:
1 parent
ceff284ba5
commit
c9d5803e26
2 files changed
+8
-3
No files matched your search
@@ -81,7 +81,7 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
|
||||
"description": config.description,
|
||||
"tags": ["clusterio"],
|
||||
"max_players": "20",
|
||||
"visibility": "lan",
|
||||
"visibility": config.visibility,
|
||||
"username": config.username,
|
||||
"token": config.usertoken,
|
||||
"game_password": config.game_password,
|
||||
@@ -91,7 +91,8 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
|
||||
"autosave_interval": 10,
|
||||
"autosave_slots": 5,
|
||||
"afk_autokick_interval": 0,
|
||||
"auto_pause": config.auto_pause
|
||||
"auto_pause": config.auto_pause,
|
||||
|
||||
}
|
||||
fs.writeFileSync(instancedirectory + "/server-settings.json", JSON.stringify(serversettings, null, 4));
|
||||
|
||||
|
||||
+5
-1
@@ -6,7 +6,7 @@
|
||||
"masterIP": "localhost",
|
||||
"masterPort": 8080,
|
||||
|
||||
"__comment": "credentials for factorio MP services",
|
||||
"__comment": "credentials for factorio MP services, also username will be admin",
|
||||
"username": "",
|
||||
"usertoken": "",
|
||||
|
||||
@@ -16,4 +16,8 @@
|
||||
"allow_commands": "admins-only",
|
||||
"game_password": "",
|
||||
"description": "This server runs Clusterio"
|
||||
"visibility": {
|
||||
"public": true,
|
||||
"lan": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user