Quellcode durchsuchen

added rust default config

lrob vor 10 Jahren
Ursprung
Commit
46260987e3
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      functions/install_config.sh

+ 6 - 1
functions/install_config.sh

@@ -2,7 +2,7 @@
 # LGSM install_config.sh function
 # LGSM install_config.sh function
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 # Website: http://gameservermanagers.com
-lgsm_version="100116"
+lgsm_version="220216"
 
 
 fn_defaultconfig(){
 fn_defaultconfig(){
 	echo "creating ${servercfg} config file."
 	echo "creating ${servercfg} config file."
@@ -297,6 +297,11 @@ elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then
 	wget -N /dev/null ${githuburl}/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq
 	wget -N /dev/null ${githuburl}/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq
 	sleep 1
 	sleep 1
 	fn_serious3config
 	fn_serious3config
+elif [ "${gamename}" == "Rust" ]; then
+	echo -e "downloading server.cfg...\c"
+	wget -N /dev/null  ${githuburl}/Rust/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
+	sleep 1
+	fn_defaultconfig
 elif [ "${gamename}" == "Sven Co-op" ]; then
 elif [ "${gamename}" == "Sven Co-op" ]; then
 	echo -e "downloading lgsm-default.cfg...\c"
 	echo -e "downloading lgsm-default.cfg...\c"
 	wget -N /dev/null ${githuburl}/SvenCoop/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
 	wget -N /dev/null ${githuburl}/SvenCoop/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq