diff --git a/README.md b/README.md index 2601d6a2..a074831e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/config.json.dist b/config.json.dist index 5a180bde..9707d73d 100644 --- a/config.json.dist +++ b/config.json.dist @@ -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", diff --git a/lib/manager/pluginManager.js b/lib/manager/pluginManager.js index eaff30c0..0477b0c3 100644 --- a/lib/manager/pluginManager.js +++ b/lib/manager/pluginManager.js @@ -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; diff --git a/sharedPlugins/remoteMap/DISABLED b/sharedPlugins/remoteMap/DISABLED new file mode 100644 index 00000000..e69de29b