From 1a3557fadddcb7630ee9b4acdb8ea8346a8eb3fc Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 5 Nov 2015 19:11:44 +0000 Subject: [PATCH] added pvkiiserver --- functions/fn_install_config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/functions/fn_install_config b/functions/fn_install_config index 1dfa75168..3cc70d389 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -2,7 +2,7 @@ # LGSM fn_install_config function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 291015 +# Version: 051115 fn_defaultconfig(){ echo "creating ${servercfg} config file." @@ -281,6 +281,11 @@ elif [ "${gamename}" == "Natural Selection 2" ]; then echo -e "no configs required." sleep 1 echo "" +elif [ "${gamename}" == "Pirates, Vikings, and Knights II" ]; then + echo -e "downloading lgsm-default.cfg...\c" + wget -N /dev/null ${githuburl}/PiratesVikingandKnightsII/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + sleep 1 + fn_sourceconfig elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then fn_unreal2config elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then