|
|
@ -6,8 +6,8 @@ |
|
|
|
|
|
|
|
fn_arma3config(){ |
|
|
|
mkdir -pv "${servercfgdir}" |
|
|
|
cp -v lgsm-default.server.cfg "${servercfgfullpath}" |
|
|
|
cp -v lgsm-default.network.cfg "${networkcfgfullpath}" |
|
|
|
mv -v lgsm-default.server.cfg "${servercfgfullpath}" |
|
|
|
mv -v lgsm-default.network.cfg "${networkcfgfullpath}" |
|
|
|
sleep 1 |
|
|
|
echo "" |
|
|
|
} |
|
|
@ -133,12 +133,17 @@ echo "" |
|
|
|
echo "Creating Configs" |
|
|
|
echo "=================================" |
|
|
|
sleep 1 |
|
|
|
cd "${servercfgdir}" |
|
|
|
if [ "${gamename}" == "ARMA 3" ]; then |
|
|
|
cd "${systemdir}" |
|
|
|
elif [ |
|
|
|
cd "${servercfgdir}" ]; then |
|
|
|
#statements |
|
|
|
if [ "${gamename}" == "7 Days To Die" ]; then |
|
|
|
fn_unity3dconfig |
|
|
|
elif [ "${gamename}" == "ARMA 3" ]; then |
|
|
|
echo -e "downloading lgsm-default.cfg...\c" |
|
|
|
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq |
|
|
|
echo -e "downloading lgsm-default.server.cfg & lgsm-default.network.cfg...\c" |
|
|
|
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq |
|
|
|
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq |
|
|
|
sleep 1 |
|
|
|
fn_arma3config |
|
|
|
elif [ "${gamename}" == "Blade Symphony" ]; then |
|
|
@ -245,4 +250,4 @@ elif [ "${gamename}" == "Unreal Tournament 2004" ]; then |
|
|
|
fn_unreal2config |
|
|
|
elif [ "${gamename}" == "Unreal Tournament 99" ]; then |
|
|
|
fn_ut99config |
|
|
|
fi |
|
|
|
fi |