mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +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
|
/factorio
|
||||||
/instances
|
/instances
|
||||||
/sharedMods
|
/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?
|
//TODO: catch '2.033 Info RemoteCommandProcessor.cpp:97: Starting RCON interface at port 35002' from stdout maybe?
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
client.connect();
|
client.connect();
|
||||||
}, 5000);
|
}, 15000);
|
||||||
|
|
||||||
client.on('authenticated', function () {
|
client.on('authenticated', function () {
|
||||||
console.log('Authenticated!');
|
console.log('Authenticated!');
|
||||||
|
|||||||
+4
-2
@@ -11,10 +11,12 @@
|
|||||||
|
|
||||||
"__comment": "credentials for factorio MP services, also username will be admin",
|
"__comment": "credentials for factorio MP services, also username will be admin",
|
||||||
"username": "",
|
"username": "",
|
||||||
"usertoken": "",
|
"password": "",
|
||||||
|
"__comment": "Token can be used instead of password, but for the most part just ignore",
|
||||||
|
"token": "",
|
||||||
|
|
||||||
"__comment": "General user settings",
|
"__comment": "General user settings",
|
||||||
"verify_user_identity": true,
|
"verify_user_identity": false,
|
||||||
"auto_pause": false,
|
"auto_pause": false,
|
||||||
"allow_commands": "admins-only",
|
"allow_commands": "admins-only",
|
||||||
"game_password": "",
|
"game_password": "",
|
||||||
|
|||||||
Reference in new issue
Block a user