Browse Source

Added installer instuctions for GSLT

pull/549/head
Daniel Gibbs 9 years ago
parent
commit
ee9885fb01
  1. 3
      functions/fn_install
  2. 24
      functions/fn_install_gslt

3
functions/fn_install

@ -2,7 +2,7 @@
# LGSM fn_install function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 190515
# Version: 091215
fn_check_root
fn_install_header
@ -33,6 +33,7 @@ fn_install_gsquery
fn_install_config
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
fn_csgofix
fn_install_gslt
elif [ "${gamename}" == "Killing Floor" ]; then
fn_install_kffix
elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then

24
functions/fn_install_gslt

@ -0,0 +1,24 @@
#!/bin/bash
# LGSM fn_install_gslt function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 091215
echo ""
echo "Game Server Login Token"
echo "============================"
sleep 1
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
echo "GSLT is required to run a public ${gamename} server"
else
echo "GSLT is an optional feature when ${gamename} server"
fi
echo "Get more infomation and a token here:"
echo "http://gameservermanagers.com/gslt"
echo ""
echo "Enter token below"
echo -n "TOKEN: "
read token
sed -i -e "s/gslt=\"\"/gslt=\"${token}\"/g" > "${selfname}"
echo ""
Loading…
Cancel
Save