Better mod loading, service auth

This commit is contained in:
Danielv123 committed 2017-01-16 21:21:13 +01:00
1 parent 91438c32d9
commit 22a1372e32
3 files changed
+6 -3

No files matched your search

+1
View File
@@ -30,3 +30,4 @@ Factorio*
/factorio
/instances
/sharedMods
/database
+1 -1
View File
@@ -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
View File
@@ -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": "",