Browse Source

adding Quake2 default config

pull/1044/head
Alexander Hurd 9 years ago
parent
commit
a97f7e96ed
  1. 15
      Quake2/cfg/lgsm-default.cfg
  2. 1
      Quake2/q2server
  3. 6
      lgsm/functions/install_config.sh

15
Quake2/cfg/lgsm-default.cfg

@ -0,0 +1,15 @@
set hostname "<hostname>"
set rcon_password "<rconpassword>"
set location "The Internet"
set website "https://gameservermanagers.com/"
set deathmatch 1
set maxclients 8
set timelimit 30
set fraglimit 30
map q2dm1
// to advertise your server to a public "master server" add something
// like this:
//set public 1
//setmaster master.q2servers.com

1
Quake2/q2server

@ -62,6 +62,7 @@ executable="./quake2"
servercfg="${servicename}.cfg"
servercfgdir="${systemdir}"
servercfgfullpath="${servercfgdir}/${servercfg}"
servercfgdefault="${servercfgdir}/lgsm-default.cfg"
backupdir="${rootdir}/backups"
# Logging

6
lgsm/functions/install_config.sh

@ -383,6 +383,12 @@ elif [ "${gamename}" == "Project Zomboid" ]; then
wget -N /dev/null ${githuburl}/ProjectZomboid/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq
sleep 1
fn_defaultconfig
elif [ "${gamename}" == "Quake 2" ]; then
echo -e "downloading lgsm-default.cfg...\c"
wget -N /dev/null ${githuburl}/Quake2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
sleep 1
fn_defaultconfig
fn_userinputconfig
elif [ "${gamename}" == "Quake Live" ]; then
echo -e "downloading lgsm-default.cfg...\c"
wget -N /dev/null ${githuburl}/QuakeLive/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq

Loading…
Cancel
Save