Skip to content
Permalink
Browse files

fix(config): standardise design and bug fixes various issues with _de…

…fault.cfg files (#2582)
  • Loading branch information
dgibbs64 committed Nov 10, 2019
1 parent d0fe791 commit e27143946faeb4eef57baeda92a17a1d87b62457
Showing with 1,553 additions and 1,377 deletions.
  1. +2 −0 .travis.yml
  2. +13 −13 lgsm/config-default/config-lgsm/ahl2server/_default.cfg
  3. +13 −13 lgsm/config-default/config-lgsm/ahlserver/_default.cfg
  4. +14 −14 lgsm/config-default/config-lgsm/arkserver/_default.cfg
  5. +13 −13 lgsm/config-default/config-lgsm/arma3server/_default.cfg
  6. +15 −15 lgsm/config-default/config-lgsm/bb2server/_default.cfg
  7. +13 −13 lgsm/config-default/config-lgsm/bbserver/_default.cfg
  8. +13 −13 lgsm/config-default/config-lgsm/bdserver/_default.cfg
  9. +12 −12 lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  10. +15 −15 lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  11. +15 −15 lgsm/config-default/config-lgsm/boserver/_default.cfg
  12. +15 −15 lgsm/config-default/config-lgsm/bsserver/_default.cfg
  13. +14 −14 lgsm/config-default/config-lgsm/bt1944server/_default.cfg
  14. +13 −13 lgsm/config-default/config-lgsm/btserver/_default.cfg
  15. +13 −13 lgsm/config-default/config-lgsm/ccserver/_default.cfg
  16. +12 −12 lgsm/config-default/config-lgsm/cod2server/_default.cfg
  17. +12 −12 lgsm/config-default/config-lgsm/cod4server/_default.cfg
  18. +12 −12 lgsm/config-default/config-lgsm/codserver/_default.cfg
  19. +12 −12 lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  20. +12 −12 lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  21. +13 −13 lgsm/config-default/config-lgsm/csczserver/_default.cfg
  22. +16 −16 lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  23. +13 −13 lgsm/config-default/config-lgsm/csserver/_default.cfg
  24. +15 −15 lgsm/config-default/config-lgsm/cssserver/_default.cfg
  25. +13 −13 lgsm/config-default/config-lgsm/dabserver/_default.cfg
  26. +13 −13 lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  27. +13 −13 lgsm/config-default/config-lgsm/dodserver/_default.cfg
  28. +13 −13 lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  29. +14 −13 lgsm/config-default/config-lgsm/doiserver/_default.cfg
  30. +17 −17 lgsm/config-default/config-lgsm/dstserver/_default.cfg
  31. +15 −15 lgsm/config-default/config-lgsm/dysserver/_default.cfg
  32. +17 −13 lgsm/config-default/config-lgsm/ecoserver/_default.cfg
  33. +15 −15 lgsm/config-default/config-lgsm/emserver/_default.cfg
  34. +12 −12 lgsm/config-default/config-lgsm/etlserver/_default.cfg
  35. +13 −12 lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  36. +13 −13 lgsm/config-default/config-lgsm/fofserver/_default.cfg
  37. +13 −13 lgsm/config-default/config-lgsm/gesserver/_default.cfg
  38. +15 −15 lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  39. +13 −13 lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg
  40. +13 −13 lgsm/config-default/config-lgsm/hldmserver/_default.cfg
  41. +13 −13 lgsm/config-default/config-lgsm/hldmsserver/_default.cfg
  42. +13 −13 lgsm/config-default/config-lgsm/hwserver/_default.cfg
  43. +15 −15 lgsm/config-default/config-lgsm/insserver/_default.cfg
  44. +13 −14 lgsm/config-default/config-lgsm/inssserver/_default.cfg
  45. +2 −2 lgsm/config-default/config-lgsm/instance-template.cfg
  46. +13 −13 lgsm/config-default/config-lgsm/iosserver/_default.cfg
  47. +13 −13 lgsm/config-default/config-lgsm/jc2server/_default.cfg
  48. +13 −13 lgsm/config-default/config-lgsm/jc3server/_default.cfg
  49. +13 −13 lgsm/config-default/config-lgsm/kf2server/_default.cfg
  50. +13 −13 lgsm/config-default/config-lgsm/kfserver/_default.cfg
  51. +13 −13 lgsm/config-default/config-lgsm/l4d2server/_default.cfg
  52. +13 −13 lgsm/config-default/config-lgsm/l4dserver/_default.cfg
  53. +12 −12 lgsm/config-default/config-lgsm/mcserver/_default.cfg
  54. +21 −18 lgsm/config-default/config-lgsm/mhserver/_default.cfg
  55. +12 −12 lgsm/config-default/config-lgsm/mohaaserver/_default.cfg
  56. +12 −12 lgsm/config-default/config-lgsm/mtaserver/_default.cfg
  57. +12 −12 lgsm/config-default/config-lgsm/mumbleserver/_default.cfg
  58. +13 −13 lgsm/config-default/config-lgsm/ndserver/_default.cfg
  59. +15 −15 lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
  60. +13 −13 lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  61. +13 −13 lgsm/config-default/config-lgsm/ns2server/_default.cfg
  62. +13 −13 lgsm/config-default/config-lgsm/nsserver/_default.cfg
  63. +14 −14 lgsm/config-default/config-lgsm/opforserver/_default.cfg
  64. +13 −13 lgsm/config-default/config-lgsm/pcserver/_default.cfg
  65. +14 −16 lgsm/config-default/config-lgsm/pstbsserver/_default.cfg
  66. +13 −13 lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg
  67. +13 −13 lgsm/config-default/config-lgsm/pzserver/_default.cfg
  68. +12 −12 lgsm/config-default/config-lgsm/q2server/_default.cfg
  69. +12 −12 lgsm/config-default/config-lgsm/q3server/_default.cfg
  70. +13 −13 lgsm/config-default/config-lgsm/qlserver/_default.cfg
  71. +12 −12 lgsm/config-default/config-lgsm/qwserver/_default.cfg
  72. +14 −14 lgsm/config-default/config-lgsm/ricochetserver/_default.cfg
  73. +13 −13 lgsm/config-default/config-lgsm/roserver/_default.cfg
  74. +12 −12 lgsm/config-default/config-lgsm/rtcwserver/_default.cfg
  75. +13 −13 lgsm/config-default/config-lgsm/rustserver/_default.cfg
  76. +13 −13 lgsm/config-default/config-lgsm/rwserver/_default.cfg
  77. +12 −12 lgsm/config-default/config-lgsm/sampserver/_default.cfg
  78. +13 −13 lgsm/config-default/config-lgsm/sbotsserver/_default.cfg
  79. +13 −13 lgsm/config-default/config-lgsm/sbserver/_default.cfg
  80. +15 −17 lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
  81. +13 −13 lgsm/config-default/config-lgsm/sfcserver/_default.cfg
  82. +12 −12 lgsm/config-default/config-lgsm/sof2server/_default.cfg
  83. +15 −13 lgsm/config-default/config-lgsm/solserver/_default.cfg
  84. +13 −13 lgsm/config-default/config-lgsm/squadserver/_default.cfg
  85. +14 −14 lgsm/config-default/config-lgsm/ss3server/_default.cfg
  86. +14 −14 lgsm/config-default/config-lgsm/stserver/_default.cfg
  87. +13 −13 lgsm/config-default/config-lgsm/svenserver/_default.cfg
  88. +13 −13 lgsm/config-default/config-lgsm/terrariaserver/_default.cfg
  89. +15 −15 lgsm/config-default/config-lgsm/tf2server/_default.cfg
  90. +13 −13 lgsm/config-default/config-lgsm/tfcserver/_default.cfg
  91. +11 −11 lgsm/config-default/config-lgsm/ts3server/_default.cfg
  92. +13 −13 lgsm/config-default/config-lgsm/tsserver/_default.cfg
  93. +17 −17 lgsm/config-default/config-lgsm/tuserver/_default.cfg
  94. +13 −13 lgsm/config-default/config-lgsm/twserver/_default.cfg
  95. +21 −17 lgsm/config-default/config-lgsm/untserver/_default.cfg
  96. +12 −12 lgsm/config-default/config-lgsm/ut2k4server/_default.cfg
  97. +13 −13 lgsm/config-default/config-lgsm/ut3server/_default.cfg
  98. +12 −12 lgsm/config-default/config-lgsm/ut99server/_default.cfg
  99. +12 −12 lgsm/config-default/config-lgsm/utserver/_default.cfg
  100. +13 −13 lgsm/config-default/config-lgsm/vsserver/_default.cfg
  101. +12 −12 lgsm/config-default/config-lgsm/wetserver/_default.cfg
  102. +13 −13 lgsm/config-default/config-lgsm/wfserver/_default.cfg
  103. +13 −13 lgsm/config-default/config-lgsm/wurmserver/_default.cfg
  104. +13 −13 lgsm/config-default/config-lgsm/zmrserver/_default.cfg
  105. +15 −15 lgsm/config-default/config-lgsm/zpsserver/_default.cfg
  106. +2 −2 lgsm/functions/install_gslt.sh
  107. +53 −0 tests/tests_defaultcfg/defaultcfg_0.txt
  108. +51 −0 tests/tests_defaultcfg/defaultcfg_1.txt
  109. +60 −0 tests/tests_defaultcfg/tests_defaultcfg.sh
@@ -43,5 +43,7 @@ jobs:
script: bash tests/tests_mcserver.sh
- # stage name not required
script: bash tests/tests_ts3server.sh
- # stage name not required
script: bash tests/tests_defaultcfg/tests_defaultcfg.sh
- # retired as codacy does this check.
# script: bash tests/tests_shellcheck.sh
@@ -1,12 +1,12 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT WILL BE OVERWRITTEN!
# Copy settings from here and use them in either
# common.cfg - applies settings to every instance
# [instance].cfg - applies settings to a specific instance
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Server Settings ####
#### Game Server Settings ####

## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login
steamuser="username"
@@ -97,15 +97,15 @@ logdays="7"
# Query delay time
querydelay="1"

#### LinuxGSM Advanced Settings ####

# ANSI Colors
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"

# Message Display Time
#### Advanced Settings ####

## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"

# Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
@@ -118,15 +118,15 @@ sleeptime="0.5"
# 10: Teamspeak 3
stopmode="3"

## SteamCMD Settings
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="985050"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="true"

## LinuxGSM Server Details
## Game Server Details
# Do not edit
gamename="Action: Source"
engine="source"
@@ -135,7 +135,7 @@ glibc="2.15"
#### Directories ####
# Edit with care

## Server Specific Directories
## Game Server Directories
systemdir="${serverfiles}/ahl2"
executabledir="${serverfiles}"
executable="./srcds_run"
@@ -1,12 +1,12 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT WILL BE OVERWRITTEN!
# Copy settings from here and use them in either
# common.cfg - applies settings to every instance
# [instance].cfg - applies settings to a specific instance
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Server Settings ####
#### Game Server Settings ####

## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
@@ -92,15 +92,15 @@ logdays="7"
# Query delay time
querydelay="1"

#### LinuxGSM Advanced Settings ####

# ANSI Colors
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"

# Message Display Time
#### Advanced Settings ####

## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"

## SteamCMD Settings
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="90"
appidmod="cstrike"
@@ -109,7 +109,7 @@ branch=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="true"

# Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
@@ -122,7 +122,7 @@ steammaster="true"
# 10: Teamspeak 3
stopmode="9"

## LinuxGSM Server Details
## Game Server Details
# Do not edit
gamename="Action half-life"
engine="goldsource"
@@ -131,7 +131,7 @@ glibc="2.3.4"
#### Directories ####
# Edit with care

## Server Specific Directories
## Game Server Directories
systemdir="${serverfiles}/action"
executabledir="${serverfiles}"
executable="./hlds_run"
@@ -1,12 +1,12 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT WILL BE OVERWRITTEN!
# Copy settings from here and use them in either
# common.cfg - applies settings to every instance
# [instance].cfg - applies settings to a specific instance
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Server Settings ####
#### Game Server Settings ####

## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
@@ -94,23 +94,23 @@ logdays="7"
# Query delay time
querydelay="5"

#### LinuxGSM Advanced Settings ####

# ANSI Colors
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"

# Message Display Time
#### Advanced Settings ####

## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"

## SteamCMD Settings
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="376030"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="true"

# Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
@@ -123,7 +123,7 @@ steammaster="true"
# 10: Teamspeak 3
stopmode="2"

## LinuxGSM Server Details
## Game Server Details
# Do not edit
gamename="ARK: Survival Evolved"
engine="unreal4"
@@ -132,13 +132,13 @@ glibc="2.15"
#### Directories ####
# Edit with care

## Server Specific Directories
## Game Server Directories
systemdir="${serverfiles}/ShooterGame"
executabledir="${systemdir}/Binaries/Linux"
executable="./ShooterGameServer"
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
servercfg="GameUserSettings.ini"
servercfgdefault="GameUserSettings.ini"
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
servercfgfullpath="${servercfgdir}/${servercfg}"

## Backup Directory
@@ -1,12 +1,12 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT WILL BE OVERWRITTEN!
# Copy settings from here and use them in either
# common.cfg - applies settings to every instance
# [instance].cfg - applies settings to a specific instance
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Server Settings ####
#### Game Server Settings ####

## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login
steamuser="username"
@@ -108,23 +108,23 @@ logdays="7"
# Query delay time
querydelay="5"

#### LinuxGSM Advanced Settings ####

# ANSI Colors
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"

# Message Display Time
#### Advanced Settings ####

## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"

## SteamCMD Settings
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="233780"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false"

# Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
@@ -137,7 +137,7 @@ steammaster="false"
# 10: Teamspeak 3
stopmode="2"

## LinuxGSM Server Details
## Game Server Details
# Do not edit
gamename="ARMA 3"
engine="realvirtuality"
@@ -146,7 +146,7 @@ glibc="2.13"
#### Directories ####
# Edit with care

## Server Specific Directories
## Game Server Directories
systemdir="${serverfiles}"
executabledir="${serverfiles}"
executable="./arma3server"
@@ -1,12 +1,12 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT WILL BE OVERWRITTEN!
# Copy settings from here and use them in either
# common.cfg - applies settings to every instance
# [instance].cfg - applies settings to a specific instance
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Server Settings ####
#### Game Server Settings ####

## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
@@ -16,9 +16,9 @@ sourcetvport="27020"
defaultmap="bba_barracks"
maxplayers="20"

## Optional: Game Server Login Token
## Game Server Login Token (GSLT): Optional
# GSLT can be used for running a public server.
# More info: https://linuxgsm.com/gslt
# More info: https://docs.linuxgsm.com/steamcmd/gslt
gslt=""

## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
@@ -98,23 +98,23 @@ logdays="7"
# Query delay time
querydelay="1"

#### LinuxGSM Advanced Settings ####

# ANSI Colors
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"

# Message Display Time
#### Advanced Settings ####

## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"

## SteamCMD Settings
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="475370"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="true"

# Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
@@ -127,7 +127,7 @@ steammaster="true"
# 10: Teamspeak 3
stopmode="3"

## LinuxGSM Server Details
## Game Server Details
# Do not edit
gamename="BrainBread 2"
engine="source"
@@ -136,7 +136,7 @@ glibc="2.17"
#### Directories ####
# Edit with care

## Server Specific Directories
## Game Server Directories
systemdir="${serverfiles}/brainbread2"
executabledir="${serverfiles}"
executable="./srcds_run"

0 comments on commit e271439

Please sign in to comment.
You can’t perform that action at this time.