gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
#!/bin/bash
|
|
# LGSM install_gslt.sh function
|
|
# Author: Daniel Gibbs
|
|
# Website: http://gameservermanagers.com
|
|
lgsm_version="091215"
|
|
|
|
# Description: Configures GSLT.
|
|
|
|
if [ -z "${autoinstall}" ]; then
|
|
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 for ${gamename} server"
|
|
fi
|
|
|
|
echo "Get more info and a token here:"
|
|
echo "http://gameservermanagers.com/gslt"
|
|
echo ""
|
|
echo "Enter token below (Can be blank)."
|
|
echo -n "GSLT TOKEN: "
|
|
read token
|
|
sed -i -e "s/gslt=\"\"/gslt=\"${token}\"/g" "${rootdir}/${selfname}"
|
|
sleep 1
|
|
echo "The GSLT can be changed by editing ${selfname}."
|
|
echo ""
|
|
else
|
|
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
|
|
fn_printinfomationnl "GSLT is required to run a public ${gamename} server"
|
|
else
|
|
fn_printinfomationnl "GSLT is an optional feature for ${gamename} server"
|
|
fi
|
|
echo "Get more info and a token here:"
|
|
echo "http://gameservermanagers.com/gslt"
|
|
echo ""
|
|
sleep 1
|
|
echo "The GSLT can be changed by editing ${selfname}."
|
|
sleep 1
|
|
fi
|