Improved docs, disabled remoteMap by default

This commit is contained in:
Daniel Vestøl committed 2018-09-09 19:55:09 +02:00
1 parent 07b9d0a0f5
commit 087ba8dabe
4 files changed
+18 -5

No files matched your search

+12
View File
@@ -204,6 +204,18 @@ Copy your config.json.dist to config.json and configure it.
Some systems don't let non root processes listen to ports below 1000. Either run with `sudo` or change config.json to use higher port numbers.
### InitializationError: First argument must be an abstract-leveldown compliant store
do:
npm install linvodb3@3.25.1
if that does not suffice do
npm install levelup@1.3.9
If it still doesn't work, come over to our support discord linked at the top of this readme.
### Other fixes for other potential problems:
Sometimes the install fails. Try `node ./lib/npmPostinstall.js` to complete it.
+5 -5
View File
@@ -1,8 +1,8 @@
{
"__comment": "Where factorio folder. Should be in the same folder as this config file.",
"factorioDirectory": "factorio",
"instanceDirectory": "instances",
"databaseDirectory": "database",
"factorioDirectory": "./factorio",
"instanceDirectory": "./instances",
"databaseDirectory": "./database",
"__comment1": "IP players should connect to to join your servers, should be portforwarded and stuff",
"publicIP": "localhost",
@@ -10,10 +10,10 @@
"__comment2": "IP the master web server runs at, can be ignored on the master system",
"masterIP": "localhost",
"__commentMasterPort": "HTTP port for the master to listen to, set to 0 or an empty string to not listen for HTTP requests",
"__commentMasterPort": "HTTP port for the master to listen to",
"masterPort": 8080,
"__commentsslPort": "HTTPS port for the master to listen to. Set to 0 or an empty string to not use HTTPS.",
"__commentsslPort": "HTTPS port for the master to listen to. Set to 0 or an empty string to not listen for HTTPS.",
"sslPort": 443,
"sslCert": "database/certificates/cert.crt",
"sslPrivKey": "database/certificates/cert.key",
+1
View File
@@ -28,6 +28,7 @@ module.exports = function(config){
console.log(e)
}
// check if plugin is enabled
fs.stat(path.join(pluginConfig.pluginPath, "DISABLED"), (err, stat)=>{
if(err){
pluginConfig.enabled = true;
View File
Whitespace-only changes.