From 78780ab3b995735dc83f47f4446f16d754b3643f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 29 Oct 2015 23:03:01 +0000 Subject: [PATCH 1/3] Updated servercfgdefault servercfgdefault has been changed to the filename of the lgsm-default.cfg name --- ARKSurvivalEvolved/arkserver | 3 ++- BlackMesa/bmdmserver | 4 ++-- BladeSymphony/bsserver | 4 ++-- ChivalryMedievalWarfare/cmwserver | 4 ++-- CounterStrike/csserver | 4 ++-- CounterStrikeConditionZero/csczserver | 4 ++-- CounterStrikeGlobalOffensive/csgoserver | 4 ++-- CounterStrikeSource/cssserver | 4 ++-- DayOfDefeat/dodserver | 4 ++-- DayOfDefeatSource/dodsserver | 4 ++-- DeathmatchClassic/dmcserver | 4 ++-- DoubleActionBoogaloo/dabserver | 4 ++-- FistfulOfFrags/fofserver | 4 ++-- GarrysMod/gmodserver | 4 ++-- HalfLife2Deathmatch/hl2dmserver | 4 ++-- HalfLifeDeathmatch/hldmserver | 4 ++-- HalfLifeDeathmatchSource/hldmsserver | 4 ++-- Insurgency/insserver | 4 ++-- Left4Dead/l4dserver | 4 ++-- Left4Dead2/l4d2server | 4 ++-- NoMoreRoomInHell/nmrihserver | 4 ++-- Ricochet/ricochetserver | 4 ++-- TeamFortress2/tf2server | 4 ++-- TeamFortressClassic/tfcserver | 4 ++-- 24 files changed, 48 insertions(+), 47 deletions(-) diff --git a/ARKSurvivalEvolved/arkserver b/ARKSurvivalEvolved/arkserver index 5922b52f2..66df45d46 100644 --- a/ARKSurvivalEvolved/arkserver +++ b/ARKSurvivalEvolved/arkserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="090815" +version="291015" #### Variables #### @@ -45,6 +45,7 @@ executable="./ShooterGameServer" servercfgdir="${systemdir}/Saved/Config/LinuxServer" servercfg="GameUserSettings.ini" servercfgfullpath="${servercfgdir}/${servercfg}" +servercfgdefault="${servercfgdir}/lgsm-default.ini" backupdir="${rootdir}/backups" # Logging diff --git a/BlackMesa/bmdmserver b/BlackMesa/bmdmserver index 02273c823..1db27c323 100644 --- a/BlackMesa/bmdmserver +++ b/BlackMesa/bmdmserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/BladeSymphony/bsserver b/BladeSymphony/bsserver index addcdecf2..4f3157a9a 100644 --- a/BladeSymphony/bsserver +++ b/BladeSymphony/bsserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run.sh" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/ChivalryMedievalWarfare/cmwserver b/ChivalryMedievalWarfare/cmwserver index 3a78897a0..6837ca07b 100644 --- a/ChivalryMedievalWarfare/cmwserver +++ b/ChivalryMedievalWarfare/cmwserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./UDKGameServer-Linux" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/CounterStrike/csserver b/CounterStrike/csserver index cc568135b..367aec289 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./hlds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index 124534b6c..b27ea812f 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/CounterStrikeConditionZero/csczserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./hlds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index 980acfa58..4239ce98a 100755 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -68,7 +68,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index 78f723f59..3356db60d 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index d926575fc..b9d731913 100644 --- a/DayOfDefeat/dodserver +++ b/DayOfDefeat/dodserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./hlds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 82c346db4..50812a917 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/DeathmatchClassic/dmcserver b/DeathmatchClassic/dmcserver index 9312e26b9..d567e7d4a 100644 --- a/DeathmatchClassic/dmcserver +++ b/DeathmatchClassic/dmcserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./hlds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/DoubleActionBoogaloo/dabserver b/DoubleActionBoogaloo/dabserver index d03ced45c..f5643b06b 100644 --- a/DoubleActionBoogaloo/dabserver +++ b/DoubleActionBoogaloo/dabserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./dabds.sh" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index 325bc3bf7..aa7c075f6 100644 --- a/FistfulOfFrags/fofserver +++ b/FistfulOfFrags/fofserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 321b9e2d7..344793856 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -57,7 +57,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index 7a965ac44..e8dc94ef5 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/HalfLifeDeathmatch/hldmserver b/HalfLifeDeathmatch/hldmserver index 8a93d30fe..bda65eba8 100644 --- a/HalfLifeDeathmatch/hldmserver +++ b/HalfLifeDeathmatch/hldmserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -50,7 +50,7 @@ executable="./hlds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/HalfLifeDeathmatchSource/hldmsserver b/HalfLifeDeathmatchSource/hldmsserver index a4295ecc5..8688f3755 100644 --- a/HalfLifeDeathmatchSource/hldmsserver +++ b/HalfLifeDeathmatchSource/hldmsserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/Insurgency/insserver b/Insurgency/insserver index 58c4f7b60..f5a69ebbb 100644 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_linux" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/Left4Dead/l4dserver b/Left4Dead/l4dserver index 45d5737a8..d75d0f868 100644 --- a/Left4Dead/l4dserver +++ b/Left4Dead/l4dserver @@ -4,7 +4,7 @@ # Author: Daniel Gibbs # Contributor: Summit Singh Thakur # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index 0c939dcc4..0a5043ef7 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -50,7 +50,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index 00ea58483..0dc838c16 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/Ricochet/ricochetserver b/Ricochet/ricochetserver index f3d2b8cc3..03357b365 100644 --- a/Ricochet/ricochetserver +++ b/Ricochet/ricochetserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./hlds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index 9cb270df6..b40840dd1 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index 1e7c13f5c..c8655191b 100644 --- a/TeamFortressClassic/tfcserver +++ b/TeamFortressClassic/tfcserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="040715" +version="291015" #### Variables #### @@ -51,7 +51,7 @@ executable="./hlds_run" servercfg="${servicename}.cfg" servercfgdir="${systemdir}" servercfgfullpath="${servercfgdir}/${servercfg}" -servercfgdefault="${servercfgdir}/server.cfg" +servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging From 83a0894d871b8e6cd5a1b1490027a8c4d24aaa2e Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 29 Oct 2015 23:04:57 +0000 Subject: [PATCH 2/3] Updated configs to match gameserver-configs project updated hostname and rconpassword --- BlackMesa/cfg/lgsm-default.cfg | 4 +- BladeSymphony/cfg/lgsm-default.cfg | 4 +- CounterStrike/cfg/lgsm-default.cfg | 4 +- .../cfg/lgsm-default.cfg | 4 +- .../cfg/lgsm-default.cfg | 4 +- CounterStrikeSource/cfg/lgsm-default.cfg | 4 +- DayOfDefeat/cfg/lgsm-default.cfg | 4 +- DayOfDefeatSource/cfg/lgsm-default.cfg | 4 +- DeathmatchClassic/cfg/lgsm-default.cfg | 4 +- DoubleActionBoogaloo/cfg/lgsm-default.cfg | 4 +- FistfulOfFrags/cfg/lgsm-default.cfg | 4 +- GarrysMod/cfg/lgsm-default.cfg | 4 +- HalfLife2Deathmatch/cfg/lgsm-default.cfg | 4 +- HalfLifeDeathmatch/cfg/lgsm-default.cfg | 4 +- HalfLifeDeathmatchSource/cfg/lgsm-default.cfg | 4 +- Insurgency/cfg/lgsm-default.cfg | 4 +- Left4Dead/cfg/lgsm-default.cfg | 4 +- Left4Dead2/cfg/lgsm-default.cfg | 4 +- NoMoreRoomInHell/cfg/lgsm-default.cfg | 231 +++++++----------- OpposingForce/cfg/lgsm-default.cfg | 4 +- Ricochet/cfg/lgsm-default.cfg | 4 +- TeamFortress2/cfg/lgsm-default.cfg | 4 +- TeamFortressClassic/cfg/lgsm-default.cfg | 4 +- 23 files changed, 132 insertions(+), 187 deletions(-) diff --git a/BlackMesa/cfg/lgsm-default.cfg b/BlackMesa/cfg/lgsm-default.cfg index 6b6a8c1c3..9a047db15 100644 --- a/BlackMesa/cfg/lgsm-default.cfg +++ b/BlackMesa/cfg/lgsm-default.cfg @@ -1,9 +1,9 @@ // Black Mesa server.cfg file // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/BladeSymphony/cfg/lgsm-default.cfg b/BladeSymphony/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/BladeSymphony/cfg/lgsm-default.cfg +++ b/BladeSymphony/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/CounterStrike/cfg/lgsm-default.cfg b/CounterStrike/cfg/lgsm-default.cfg index 9924db865..ceb8f9374 100644 --- a/CounterStrike/cfg/lgsm-default.cfg +++ b/CounterStrike/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/CounterStrikeConditionZero/cfg/lgsm-default.cfg b/CounterStrikeConditionZero/cfg/lgsm-default.cfg index 9924db865..ceb8f9374 100644 --- a/CounterStrikeConditionZero/cfg/lgsm-default.cfg +++ b/CounterStrikeConditionZero/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg b/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg index a71191851..15906f925 100644 --- a/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg +++ b/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/CounterStrikeSource/cfg/lgsm-default.cfg b/CounterStrikeSource/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/CounterStrikeSource/cfg/lgsm-default.cfg +++ b/CounterStrikeSource/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/DayOfDefeat/cfg/lgsm-default.cfg b/DayOfDefeat/cfg/lgsm-default.cfg index 9924db865..ceb8f9374 100644 --- a/DayOfDefeat/cfg/lgsm-default.cfg +++ b/DayOfDefeat/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/DayOfDefeatSource/cfg/lgsm-default.cfg b/DayOfDefeatSource/cfg/lgsm-default.cfg index 9924db865..ceb8f9374 100644 --- a/DayOfDefeatSource/cfg/lgsm-default.cfg +++ b/DayOfDefeatSource/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/DeathmatchClassic/cfg/lgsm-default.cfg b/DeathmatchClassic/cfg/lgsm-default.cfg index c7f032be0..585afb9e2 100644 --- a/DeathmatchClassic/cfg/lgsm-default.cfg +++ b/DeathmatchClassic/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/DoubleActionBoogaloo/cfg/lgsm-default.cfg b/DoubleActionBoogaloo/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/DoubleActionBoogaloo/cfg/lgsm-default.cfg +++ b/DoubleActionBoogaloo/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/FistfulOfFrags/cfg/lgsm-default.cfg b/FistfulOfFrags/cfg/lgsm-default.cfg index 076b961b0..d7e1d9aa9 100644 --- a/FistfulOfFrags/cfg/lgsm-default.cfg +++ b/FistfulOfFrags/cfg/lgsm-default.cfg @@ -8,10 +8,10 @@ // ............................. Basic Settings ............................. // // Hostname for server. -hostname "hostname" +hostname "" // RCON - remote console password. -rcon_password "rconpassword" +rcon_password "" // Server password - for private servers. sv_password "" diff --git a/GarrysMod/cfg/lgsm-default.cfg b/GarrysMod/cfg/lgsm-default.cfg index 5785b0206..2e61eb6a2 100644 --- a/GarrysMod/cfg/lgsm-default.cfg +++ b/GarrysMod/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/HalfLife2Deathmatch/cfg/lgsm-default.cfg b/HalfLife2Deathmatch/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/HalfLife2Deathmatch/cfg/lgsm-default.cfg +++ b/HalfLife2Deathmatch/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/HalfLifeDeathmatch/cfg/lgsm-default.cfg b/HalfLifeDeathmatch/cfg/lgsm-default.cfg index c7f032be0..585afb9e2 100644 --- a/HalfLifeDeathmatch/cfg/lgsm-default.cfg +++ b/HalfLifeDeathmatch/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/HalfLifeDeathmatchSource/cfg/lgsm-default.cfg b/HalfLifeDeathmatchSource/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/HalfLifeDeathmatchSource/cfg/lgsm-default.cfg +++ b/HalfLifeDeathmatchSource/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/Insurgency/cfg/lgsm-default.cfg b/Insurgency/cfg/lgsm-default.cfg index e7b60348c..dde80d728 100644 --- a/Insurgency/cfg/lgsm-default.cfg +++ b/Insurgency/cfg/lgsm-default.cfg @@ -8,10 +8,10 @@ // ............................. Basic Settings ............................. // // Hostname for server. -hostname "hostname" +hostname "" // RCON - remote console password. -rcon_password "rconpassword" +rcon_password "" // Server password - for private servers. sv_password "" diff --git a/Left4Dead/cfg/lgsm-default.cfg b/Left4Dead/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/Left4Dead/cfg/lgsm-default.cfg +++ b/Left4Dead/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/Left4Dead2/cfg/lgsm-default.cfg b/Left4Dead2/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/Left4Dead2/cfg/lgsm-default.cfg +++ b/Left4Dead2/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/NoMoreRoomInHell/cfg/lgsm-default.cfg b/NoMoreRoomInHell/cfg/lgsm-default.cfg index 11269d8fd..83645c78c 100644 --- a/NoMoreRoomInHell/cfg/lgsm-default.cfg +++ b/NoMoreRoomInHell/cfg/lgsm-default.cfg @@ -1,176 +1,121 @@ -//********************************************************************************* -// * -// No More Room in Hell - Community Developed Server.cfg * -// Version 1.3 - March 7, 2015 * -// Version 1.0: http://avidblur.com/nmrih/server.cfg * -// Version 1.2: http://fastdl.zombiegaming.net/nmrih/cfg/server.cfg * -// Version 1.3: http://gameservermanagers.com/nmrih/server.cfg * -// * -// ******************************************************************************** - -// ............................ Basic Server Settings ............................. // - -// The name of your server as you want it to show up on NMRiH's Server Browser -hostname "hostname" - -// The contact email for your main server admin -sv_contact "email@example.com" - -// Password for rcon (remote connection), can be left blank for no RCon, it's recommended that you make a secure password. -// Need a secure password? Check out https://www.grc.com/passwords.htm for automatically generated ones -rcon_password "rconpassword" - -// Makes your server private so only people with the password can play on it -sv_password "" - -// The region of the world this server will report as being located in -// -1 = World -// 0 = US East Coast -// 1 = US West Coast -// 2 = South America -// 3 = Europe -// 4 = Asia -// 5 = Australia -// 6 = Middle East -// 7 = Africa -sv_region -1 - -// Is this server running on LAN or is it accessable to the world wide web? -// 0 = Internet -// 1 = Local Area Network -sv_lan 0 - -// Enable communication over voice via microphone -sv_voiceenable 1 - -// Players can hear all other players, no team restrictions 0=off 1=on -sv_alltalk 1 - -//Gameplay can be chosen between classic/normal, sv_difficulty casual is casual, sv_difficulty normal is normal -sv_difficulty casual - -// Time spend on a single map (in minutes) before switching to a new one automatically -mp_timelimit 45 +// **************************************************************************** +// * +// No More Room in Hell - server.cfg * +// Version 150815 * +// * +// **************************************************************************** -// Maximum number of rounds to spend on a map before moving to the next one -//mp_maxrounds 0 +// ............................. Basic Settings ............................. // -// Name of the .txt file containing a list of maps the server should cycle through -// mapcycle.txt - All maps -// mapcycle_objective.txt - Objective maps only -// mapcycle_survival.txt - Survival maps only -mapcyclefile "mapcycle.txt" +// Hostname for server. +hostname "" -// A comma seperated list of tags that will show up in the server browser & make it easier for users to find the server they're looking for -// "Official" tags: -// custom - If your server is running custom gameplay settings/configs -// objective - If your server only cycles through objective maps -// survival - If your server only cycles through survival maps -// IE: sv_tags "example1, example2, example3" -sv_tags "objective, survival, vanilla" +// RCON - remote console password. +rcon_password "" -// ............................ Download Settings .................................. // +// Server password - for private servers. +sv_password "" -// Allow clients to upload sprays etc (NMRiH has sprays disabled by default, so 0 might be the best option) -sv_allowupload 0 +// Contact email for server sysop. +sv_contact "email@example.com" -// Allow clients to download files -sv_allowdownload 1 +// LAN Mode - If set the server will not show on the internet. +// Default: sv_lan 0 +sv_lan 0 -// Maximum file size allowed for downloading individual maps/textures etc (Calculated in MB) -net_maxfilesize 64 +// ............................... Map Cycles ............................... // +// info: There are several predefined mapcycles available that are listed below. +// You can also create your own custom mapcycle. -// Allow downloading of maps/textures/etc from a website for faster download speeds! -// NOTE: If left blank (sv_downloadurl "") connecting clients will download custom maps etc directly from your Gameserver. +// "mapcycle.txt" - all maps +// "mapcycle_objective.txt" - objective maps only +// "mapcycle_survival.txt" - survival maps only // -// Example: 1 - Game server has a map called "nmo_example.bsp" located in the map folder -// 2 - Web server has the exact same "nmo_example.bsp" file located at "http://www.yourwebsite.com/nmrih/maps/nmo_example.bsp" -// 3 - Therefore, sv_downloadurl should be set to "http://www.yourwebsite.com/nmrih/" -// -sv_downloadurl "" - - -// ............................ Performance Settings .............................. // +mapcyclefile "mapcycle.txt" -// Sets a limit to the frame rate that the server runs at (Set a framerate your server can consistently manage) -fps_max 66 +// ....................... Time Limits/Round Settings ....................... // -// Min bandwidth rate allowed on server, 0 = Unlimited -sv_minrate 0 +// Time spend on a single map (in minutes) before switching to a new one automatically. +// Default: mp_timelimit 1 +mp_timelimit 45 -// Max bandwidth rate allowed on server, 0 = Unlimited -sv_maxrate 60000 +// Maximum number of rounds to spend on a map before moving to the next one. +// Default: mp_maxrounds 2 +mp_maxrounds 2 -// -net_splitpacket_maxrate 60000 +// ........................ Server Specific Commands ........................ // +// info: any commands that only apply to this game. -sv_parallel_packentities 1 +// Difficulty +// info: http://git.io/v35eI +// "casual" - casual difficulty. +// "classic" - classic difficulty. +sv_difficulty "classic" -sv_parallel_sendsnapshot 1 +// Server tags - Tags show up on the in-game server browser. This helps +// users filter servers. +// vanilla - he server runs the default settings. +// custom - the server runs custom gameplay settings or mods. +// example: sv_tags "custom, fastdl" +sv_tags "" -// Use a high priority thread to send queued packets out instead of sending them each frame. -net_queued_packet_thread 1 +// Friendly fire - Allows team members to injure other members of their team. +// Default: mp_friendlyfire 0 +mp_friendlyfire 0 -// Max # of seconds we can wait for next packets to be sent based on rate setting (0 == no limit). -net_maxcleartime 0.01 +// ............................. Communication ............................. // -// Minimum updates per second that the server will allow -sv_minupdaterate 66 +// Enable communication over voice via microphone. +// Default: sv_voiceenable 1 +sv_voiceenable 1 -// Maximum updates per second that the server will allow -sv_maxupdaterate 66 +// Players can hear all other players, no team restrictions. +// Default: sv_alltalk 0 +sv_alltalk 1 -// Minimum commands per second that the server will allow -sv_mincmdrate 66 +// ............................. Fast Download .............................. // +// info: Allows custom maps to be downloaded to the client. -// Maximum commands per second that the server will allow -sv_maxcmdrate 66 +// Allows clients to download custom maps and textures etc. from the server at 20 kbps. +// Default: sv_allowdownload 1 +sv_allowdownload 1 -sv_client_min_interp_ratio 0 +// Allows clients to download custom maps, textures etc. from a web server with no transfer limit. +// Example: +// server location: maps/custommap.bsp +// web server location: http://example.com/custom/maps/custommap.bsp +// sv_downloadurl "http://example.com/custom" +// Default: sv_downloadurl "" +sv_downloadurl "" -sv_client_max_interp_ratio 4 +// ................................ Ban List ............................... // -sv_client_cmdrate_difference 0 +// personal banlist based on user IDs. +exec banned_user.cfg -// This can be used to force the value of cl_predict for connected clients (only while they are connected). -// -1 = let clients set cl_predict to anything -// 0 = force cl_predict to 0 -// 1 = force cl_predict to 1 -sv_client_predict 1 +// personal banlist based on user IPs. +exec banned_ip.cfg -// .............................. Additional Settings .............................. // +writeid +writeip -// Allow the use of the "wait" command by clients? (Best left disabled to prevent the abuse of scripts - 0) -sv_allow_wait_command 0 +// ............................. Server Logging ............................. // -// Enable logging? (off/on) +//Enables logging to file, console, and udp < on | off >. log on -sv_logbans 1 -sv_logecho 1 -sv_logfile 1 -sv_log_onefile 0 - -// ............................... Sourcemod Settings .............................. // - -// ******************************************************************************** -// * -// Advanced Server Settings (Best left untouched!) * -// * -// ******************************************************************************** - -exec banned_user.cfg -exec banned_ip.cfg +// Log server bans in the server logs. +// Default: sv_logbans 1 +sv_logbans 1 -//These commands will run on map change, sometimes a crash may wipe a recent ban from your banlist, this minimises that issue -writeid -writeip +// Echo log information to the console. +// Default: sv_logecho 1 +sv_logecho 1 -//********************************************************************************************************** -// Master Server Settings -//********************************************************************************************************** -sv_master_legacy_mode 0 // Disable legacy mode, since steam master servers won't support it anymore -heartbeat // Send heartbeat that this server is ready. Should be the last line of the config -//********************************************************************************************************** +// Log server information in the log file. +// Default: sv_logfile 1 +sv_logfile 1 -//-----End of Server.cfg----- \ No newline at end of file +// Log server information to only one file. +// Default: sv_log_onefile 0 +sv_log_onefile 0 diff --git a/OpposingForce/cfg/lgsm-default.cfg b/OpposingForce/cfg/lgsm-default.cfg index c7f032be0..585afb9e2 100644 --- a/OpposingForce/cfg/lgsm-default.cfg +++ b/OpposingForce/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/Ricochet/cfg/lgsm-default.cfg b/Ricochet/cfg/lgsm-default.cfg index c7f032be0..585afb9e2 100644 --- a/Ricochet/cfg/lgsm-default.cfg +++ b/Ricochet/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/TeamFortress2/cfg/lgsm-default.cfg b/TeamFortress2/cfg/lgsm-default.cfg index 957530abd..c2b66dcbc 100644 --- a/TeamFortress2/cfg/lgsm-default.cfg +++ b/TeamFortress2/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" diff --git a/TeamFortressClassic/cfg/lgsm-default.cfg b/TeamFortressClassic/cfg/lgsm-default.cfg index 9924db865..ceb8f9374 100644 --- a/TeamFortressClassic/cfg/lgsm-default.cfg +++ b/TeamFortressClassic/cfg/lgsm-default.cfg @@ -1,8 +1,8 @@ // Server Name -hostname "hostname" +hostname "" // RCON Password -rcon_password "rconpassword" +rcon_password "" // Server Password sv_password "" From 7f879c3147252af5b76fbef1e666d6f4d59ca567 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 29 Oct 2015 23:07:45 +0000 Subject: [PATCH 3/3] fn_defaultconfig added fn_defaultconfig added to remove duplicate code. Fixed gold source and source engines not working correctly --- functions/fn_install_config | 150 ++++++++++++++---------------------- 1 file changed, 56 insertions(+), 94 deletions(-) diff --git a/functions/fn_install_config b/functions/fn_install_config index 3eaa408fd..29cbbf91b 100644 --- a/functions/fn_install_config +++ b/functions/fn_install_config @@ -2,50 +2,38 @@ # LGSM fn_install_config function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 281015 +# Version: 291015 -fn_arkconfig(){ +fn_defaultconfig(){ echo "creating ${servercfg} config file." -cp -v "lgsm-default.ini" "${servercfgfullpath}" +cp -v "${servercfgdefault}" "${servercfgfullpath}" sleep 1 -echo "" } fn_arma3config(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" -sleep 1 +fn_defaultconfig echo "creating ${networkcfg} config file." cp -v "${networkcfgdefault}" "${networkcfgfullpath}" sleep 1 echo "" } -fn_dstconfig(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" -sleep 1 -echo "" -} - fn_goldsourceconfig(){ -echo "creating ${servercfg} config file." -cp -v "lgsm-default.cfg" "${servercfgfullpath}" -sleep 1 +fn_defaultconfig # server.cfg redirects to ${servercfg} for added security echo "creating server.cfg." -touch "${defaultcfg}" +touch "server.cfg" sleep 1 echo "creating redirect." echo "server.cfg > ${servercfg}." -echo "exec ${servercfg}" > "${defaultcfg}" +echo "exec ${servercfg}" > "server.cfg" sleep 1 # creating other files required echo "creating listip.cfg." -sleep 1 touch "${systemdir}/listip.cfg" +sleep 1 echo "creating banned.cfg." touch "${systemdir}/banned.cfg" sleep 1 @@ -62,22 +50,13 @@ else servername="${servicename}" rconpass="rconpassword" fi -sed -i "s/\"hostname\"/\"${servername}\"/g" "${servercfgfullpath}" -sed -i "s/\"rconpassword\"/\"${rconpass}\"/g" "${servercfgfullpath}" -echo "" -} - -fn_jc2config(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" -sleep 1 +sed -i "s/\"\"/\"${servername}\"/g" "${servercfgfullpath}" +sed -i "s/\"\"/\"${rconpass}\"/g" "${servercfgfullpath}" echo "" } fn_serious3config(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" -sleep 1 +fn_defaultconfig echo "" echo "To edit ${gamename} server config use SS3 Server GUI 3 tool" echo "http://mrag.nl/sgui3/" @@ -86,17 +65,15 @@ echo "" } fn_sourceconfig(){ -echo "creating ${servercfg} config file." -cp -v "lgsm-default.cfg" "${servercfgfullpath}" -sleep 1 +fn_defaultconfig # server.cfg redirects to ${servercfg} for added security echo "creating server.cfg." -touch "${servercfgdefault}" +touch "server.cfg" sleep 1 echo "creating redirect." echo "server.cfg > ${servercfg}." -echo "exec ${servercfg}" > "${servercfgdefault}" +echo "exec ${servercfg}" > "server.cfg" sleep 1 # allow user to input server name and password @@ -111,26 +88,19 @@ else servername="${servicename}" rconpass="rconpassword" fi -sed -i "s/\"hostname\"/\"${servername}\"/g" "${servercfgfullpath}" -sed -i "s/\"rconpassword\"/\"${rconpass}\"/g" "${servercfgfullpath}" +sed -i "s/\"\"/\"${servername}\"/g" "${servercfgfullpath}" +sed -i "s/\"\"/\"${rconpass}\"/g" "${servercfgfullpath}" echo "" } fn_teeworldsconfig(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" +fn_defaultconfig +echo "adding logfile location to config." sed -i "s/\"logfile\"/\"logfile ${gamelog}\"/g" "${servercfgfullpath}" sleep 1 echo "" } -fn_terrariaconfig(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" -sleep 1 -echo "" -} - fn_ts3config(){ echo "creating blank ${servercfg} config file." sleep 1 @@ -158,17 +128,8 @@ sleep 1 echo "" } -fn_unity3dconfig(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" -sleep 1 -echo "" -} - fn_unreal2config(){ -echo "creating ${servercfg} config file." -cp -v "${servercfgdefault}" "${servercfgfullpath}" -sleep 1 +fn_defaultconfig echo "" echo "Configuring ${gamename} Server" echo "=================================" @@ -204,114 +165,115 @@ fi cd "${servercfgdir}" -# statements +githuburl="https://raw.githubusercontent.com/dgibbs64/linuxgsm/master" + if [ "${gamename}" == "7 Days To Die" ]; then - fn_unity3dconfig + fn_defaultconfig elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/ARKSurvivalEvolved/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/ARKSurvivalEvolved/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 echo -e "downloading lgsm-default.ini...\c" - fn_arkconfig + fn_defaultconfig elif [ "${gamename}" == "ARMA 3" ]; then echo -e "downloading lgsm-default.server.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 echo -e "downloading lgsm-default.network.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_arma3config elif [ "${gamename}" == "Black Mesa: Deathmatch" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/BlackMesa/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/BlackMesa/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Blade Symphony" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/BladeSymphony/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/BladeSymphony/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Counter Strike 1.6" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrike/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/CounterStrike/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Counter Strike: Condition Zero" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeConditionZero/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/CounterStrikeConditionZero/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Counter Strike: Global Offensive" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Counter Strike: Source" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/CounterStrikeSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Day of Defeat" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeat/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/DayOfDefeat/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Day of Defeat: Source" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeatSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/DayOfDefeatSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Dont Starve Together" ]; then echo -e "downloading lgsm-default.ini...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DontStarveTogether/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/DontStarveTogether/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 - fn_dstconfig + fn_defaultconfig elif [ "${gamename}" == "Double Action: Boogaloo" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DoubleActionBoogaloo/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/DoubleActionBoogaloo/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Fistful of Frags" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Garry's Mod" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/GarrysMod/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/GarrysMod/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Half Life 2: Deathmatch" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLife2Deathmatch/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/HalfLife2Deathmatch/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Half Life: Deathmatch Classic" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLifeDeathmatchClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/HalfLifeDeathmatchClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Insurgency" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Insurgency/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Insurgency/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Just Cause 2" ]; then - fn_jc2config + fn_defaultconfig elif [ "${gamename}" == "Killing Floor" ]; then fn_unreal2config elif [ "${gamename}" == "Left 4 Dead" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Left4Dead/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Left 4 Dead 2" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "No More Room in Hell" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Natural Selection 2" ]; then @@ -322,39 +284,39 @@ elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then fn_unreal2config elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then echo -e "downloading lgsm-default.ini...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_serious3config elif [ "${gamename}" == "Teamspeak 3" ]; then fn_ts3config elif [ "${gamename}" == "Team Fortress 2" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortress2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/TeamFortress2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_sourceconfig elif [ "${gamename}" == "Team Fortress Classic" ]; then echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortressClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/TeamFortressClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_goldsourceconfig elif [ "${gamename}" == "Teeworlds" ]; then echo -e "downloading ctf.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Teeworlds/cfg/ctf.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Teeworlds/cfg/ctf.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq echo -e "downloading dm.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Teeworlds/cfg/dm.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Teeworlds/cfg/dm.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq echo -e "downloading duel.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Teeworlds/cfg/duel.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Teeworlds/cfg/duel.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq echo -e "downloading tdm.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Teeworlds/cfg/tdm.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Teeworlds/cfg/tdm.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq echo -e "downloading lgsm-default.cfg...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Teeworlds/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Teeworlds/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 fn_teeworldsconfig elif [ "${gamename}" == "Terraria" ]; then echo -e "downloading lgsm-default.txt...\c" - wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Terraria/cfg/lgsm-default.txt 2>&1 | grep -F HTTP | cut -c45- | uniq + wget -N /dev/null ${githuburl}/Terraria/cfg/lgsm-default.txt 2>&1 | grep -F HTTP | cut -c45- | uniq sleep 1 - fn_terrariaconfig + fn_defaultconfig elif [ "${gamename}" == "Unreal Tournament 2004" ]; then fn_unreal2config elif [ "${gamename}" == "Unreal Tournament 99" ]; then