Browse Source

Merge pull request #509 from dgibbs64/servercfg-default

Servercfg default
pull/512/head
Daniel Gibbs 10 years ago
parent
commit
5eecc24a20
  1. 3
      ARKSurvivalEvolved/arkserver
  2. 4
      BlackMesa/bmdmserver
  3. 4
      BlackMesa/cfg/lgsm-default.cfg
  4. 4
      BladeSymphony/bsserver
  5. 4
      BladeSymphony/cfg/lgsm-default.cfg
  6. 4
      ChivalryMedievalWarfare/cmwserver
  7. 4
      CounterStrike/cfg/lgsm-default.cfg
  8. 4
      CounterStrike/csserver
  9. 4
      CounterStrikeConditionZero/cfg/lgsm-default.cfg
  10. 4
      CounterStrikeConditionZero/csczserver
  11. 4
      CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg
  12. 4
      CounterStrikeGlobalOffensive/csgoserver
  13. 4
      CounterStrikeSource/cfg/lgsm-default.cfg
  14. 4
      CounterStrikeSource/cssserver
  15. 4
      DayOfDefeat/cfg/lgsm-default.cfg
  16. 4
      DayOfDefeat/dodserver
  17. 4
      DayOfDefeatSource/cfg/lgsm-default.cfg
  18. 4
      DayOfDefeatSource/dodsserver
  19. 4
      DeathmatchClassic/cfg/lgsm-default.cfg
  20. 4
      DeathmatchClassic/dmcserver
  21. 4
      DoubleActionBoogaloo/cfg/lgsm-default.cfg
  22. 4
      DoubleActionBoogaloo/dabserver
  23. 4
      FistfulOfFrags/cfg/lgsm-default.cfg
  24. 4
      FistfulOfFrags/fofserver
  25. 4
      GarrysMod/cfg/lgsm-default.cfg
  26. 4
      GarrysMod/gmodserver
  27. 4
      HalfLife2Deathmatch/cfg/lgsm-default.cfg
  28. 4
      HalfLife2Deathmatch/hl2dmserver
  29. 4
      HalfLifeDeathmatch/cfg/lgsm-default.cfg
  30. 4
      HalfLifeDeathmatch/hldmserver
  31. 4
      HalfLifeDeathmatchSource/cfg/lgsm-default.cfg
  32. 4
      HalfLifeDeathmatchSource/hldmsserver
  33. 4
      Insurgency/cfg/lgsm-default.cfg
  34. 4
      Insurgency/insserver
  35. 4
      Left4Dead/cfg/lgsm-default.cfg
  36. 4
      Left4Dead/l4dserver
  37. 4
      Left4Dead2/cfg/lgsm-default.cfg
  38. 4
      Left4Dead2/l4d2server
  39. 231
      NoMoreRoomInHell/cfg/lgsm-default.cfg
  40. 4
      NoMoreRoomInHell/nmrihserver
  41. 4
      OpposingForce/cfg/lgsm-default.cfg
  42. 4
      Ricochet/cfg/lgsm-default.cfg
  43. 4
      Ricochet/ricochetserver
  44. 4
      TeamFortress2/cfg/lgsm-default.cfg
  45. 4
      TeamFortress2/tf2server
  46. 4
      TeamFortressClassic/cfg/lgsm-default.cfg
  47. 4
      TeamFortressClassic/tfcserver
  48. 150
      functions/fn_install_config

3
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

4
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

4
BlackMesa/cfg/lgsm-default.cfg

@ -1,9 +1,9 @@
// Black Mesa server.cfg file
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
BladeSymphony/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
CounterStrike/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
CounterStrikeConditionZero/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
CounterStrikeSource/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
DayOfDefeat/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
DayOfDefeatSource/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
DeathmatchClassic/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
DoubleActionBoogaloo/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
FistfulOfFrags/cfg/lgsm-default.cfg

@ -8,10 +8,10 @@
// ............................. Basic Settings ............................. //
// Hostname for server.
hostname "hostname"
hostname "<hostname>"
// RCON - remote console password.
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server password - for private servers.
sv_password ""

4
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

4
GarrysMod/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
HalfLife2Deathmatch/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
HalfLifeDeathmatch/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
HalfLifeDeathmatchSource/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
Insurgency/cfg/lgsm-default.cfg

@ -8,10 +8,10 @@
// ............................. Basic Settings ............................. //
// Hostname for server.
hostname "hostname"
hostname "<hostname>"
// RCON - remote console password.
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server password - for private servers.
sv_password ""

4
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

4
Left4Dead/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
Left4Dead2/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

231
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 protected]"
// 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 "<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 "<rconpassword>"
// ............................ 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 protected]"
// 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-----
// Log server information to only one file.
// Default: sv_log_onefile 0
sv_log_onefile 0

4
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

4
OpposingForce/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
Ricochet/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
TeamFortress2/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

4
TeamFortressClassic/cfg/lgsm-default.cfg

@ -1,8 +1,8 @@
// Server Name
hostname "hostname"
hostname "<hostname>"
// RCON Password
rcon_password "rconpassword"
rcon_password "<rconpassword>"
// Server Password
sv_password ""

4
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

150
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/\"<hostname>\"/\"${servername}\"/g" "${servercfgfullpath}"
sed -i "s/\"<rconpassword>\"/\"${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/\"<hostname>\"/\"${servername}\"/g" "${servercfgfullpath}"
sed -i "s/\"<rconpassword>\"/\"${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

Loading…
Cancel
Save