Kristian Polso 9 anni fa
parent
commit
253f5db2cc

+ 0 - 23
Factorio/cfg/lgsm-default.cfg

@@ -1,23 +0,0 @@
-
-  "name": "<hostname>",
-  "description": "Description of the game that will appear in the listing",
-  "tags": ["game", "tags"],
-  "max_players": "0",
-
-  "_comment_visibility": ["public: Game will be published on the official Factorio matching server",
-                          "lan: Game will be broadcast on LAN",
-                          "hidden: Game will not be published anywhere"],
-  "visibility": "public",
-
-  "_comment_credentials": "Your factorio.com login credentials. Required for games with visibility public",
-  "username": "",
-  "password": "",
-
-  "_comment_token": "Authentication token. May be used instead of 'password' above.",
-  "token": "",
-
-  "game_password": "<rconpassword>",
-
-  "_comment_verify_user_identity": "When set to true, the server will only allow clients that have a valid Factorio.com account",
-  "verify_user_identity": true
-}

+ 1 - 5
lgsm/functions/install_config.sh

@@ -170,11 +170,7 @@ elif [ "${gamename}" == "Double Action: Boogaloo" ]; then
 	fn_default_config_remote
 	fn_set_config_vars
 elif [ "${gamename}" == "Factorio" ]; then
-	gamedirname="Factorio"
-	array_configs+=( server-settings.json )
-	fn_fetch_default_config
-	fn_default_config_remote
-	fn_set_config_vars
+	:
 elif [ "${gamename}" == "Fistful of Frags" ]; then
 	gamedirname="FistfulofFrags"
 	array_configs+=( server.cfg )

+ 1 - 0
lgsm/functions/install_factorio_save.sh

@@ -12,3 +12,4 @@ echo "Creating initial Factorio savefile"
 echo "================================="
 sleep 1
 ${filesdir}/bin/x64/factorio --create ${filesdir}/save1
+cp ${filesdir}/data/server-settings.example.json ${filesdir}/data/server-settings.json