mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
Better mod loading, service auth
This commit is contained in:
1 parent
91438c32d9
commit
22a1372e32
3 files changed
+6
-3
No files matched your search
@@ -30,3 +30,4 @@ Factorio*
|
||||
/factorio
|
||||
/instances
|
||||
/sharedMods
|
||||
/database
|
||||
@@ -190,7 +190,7 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
|
||||
//TODO: catch '2.033 Info RemoteCommandProcessor.cpp:97: Starting RCON interface at port 35002' from stdout maybe?
|
||||
setTimeout(() => {
|
||||
client.connect();
|
||||
}, 5000);
|
||||
}, 15000);
|
||||
|
||||
client.on('authenticated', function () {
|
||||
console.log('Authenticated!');
|
||||
|
||||
+4
-2
@@ -11,10 +11,12 @@
|
||||
|
||||
"__comment": "credentials for factorio MP services, also username will be admin",
|
||||
"username": "",
|
||||
"usertoken": "",
|
||||
"password": "",
|
||||
"__comment": "Token can be used instead of password, but for the most part just ignore",
|
||||
"token": "",
|
||||
|
||||
"__comment": "General user settings",
|
||||
"verify_user_identity": true,
|
||||
"verify_user_identity": false,
|
||||
"auto_pause": false,
|
||||
"allow_commands": "admins-only",
|
||||
"game_password": "",
|
||||
|
||||
Reference in new issue
Block a user