mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 16:23:12 +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,
|
"description": config.description,
|
||||||
"tags": ["clusterio"],
|
"tags": ["clusterio"],
|
||||||
"max_players": "20",
|
"max_players": "20",
|
||||||
"visibility": "lan",
|
"visibility": config.visibility,
|
||||||
"username": config.username,
|
"username": config.username,
|
||||||
"token": config.usertoken,
|
"token": config.usertoken,
|
||||||
"game_password": config.game_password,
|
"game_password": config.game_password,
|
||||||
@@ -91,7 +91,8 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
|
|||||||
"autosave_interval": 10,
|
"autosave_interval": 10,
|
||||||
"autosave_slots": 5,
|
"autosave_slots": 5,
|
||||||
"afk_autokick_interval": 0,
|
"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));
|
fs.writeFileSync(instancedirectory + "/server-settings.json", JSON.stringify(serversettings, null, 4));
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -6,7 +6,7 @@
|
|||||||
"masterIP": "localhost",
|
"masterIP": "localhost",
|
||||||
"masterPort": 8080,
|
"masterPort": 8080,
|
||||||
|
|
||||||
"__comment": "credentials for factorio MP services",
|
"__comment": "credentials for factorio MP services, also username will be admin",
|
||||||
"username": "",
|
"username": "",
|
||||||
"usertoken": "",
|
"usertoken": "",
|
||||||
|
|
||||||
@@ -16,4 +16,8 @@
|
|||||||
"allow_commands": "admins-only",
|
"allow_commands": "admins-only",
|
||||||
"game_password": "",
|
"game_password": "",
|
||||||
"description": "This server runs Clusterio"
|
"description": "This server runs Clusterio"
|
||||||
|
"visibility": {
|
||||||
|
"public": true,
|
||||||
|
"lan": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user