Skip to content

Commit e271439

Browse files
authored
fix(config): standardise design and bug fixes various issues with _default.cfg files (#2582)
1 parent d0fe791 commit e271439

File tree

109 files changed

+1553
-1377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1553
-1377
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ jobs:
4343
script: bash tests/tests_mcserver.sh
4444
- # stage name not required
4545
script: bash tests/tests_ts3server.sh
46+
- # stage name not required
47+
script: bash tests/tests_defaultcfg/tests_defaultcfg.sh
4648
- # retired as codacy does this check.
4749
# script: bash tests/tests_shellcheck.sh

lgsm/config-default/config-lgsm/ahl2server/_default.cfg

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
##################################
22
######## Default Settings ########
33
##################################
4-
# DO NOT EDIT WILL BE OVERWRITTEN!
5-
# Copy settings from here and use them in either
6-
# common.cfg - applies settings to every instance
7-
# [instance].cfg - applies settings to a specific instance
4+
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
88

9-
#### Server Settings ####
9+
#### Game Server Settings ####
1010

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

100-
#### LinuxGSM Advanced Settings ####
101-
102-
# ANSI Colors
100+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
103101
ansi="on"
104102

105-
# Message Display Time
103+
#### Advanced Settings ####
104+
105+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
106106
sleeptime="0.5"
107107

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

121-
## SteamCMD Settings
121+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
122122
# Server appid
123123
appid="985050"
124124
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
125125
branch=""
126126
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
127127
steammaster="true"
128128

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

138-
## Server Specific Directories
138+
## Game Server Directories
139139
systemdir="${serverfiles}/ahl2"
140140
executabledir="${serverfiles}"
141141
executable="./srcds_run"

lgsm/config-default/config-lgsm/ahlserver/_default.cfg

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
##################################
22
######## Default Settings ########
33
##################################
4-
# DO NOT EDIT WILL BE OVERWRITTEN!
5-
# Copy settings from here and use them in either
6-
# common.cfg - applies settings to every instance
7-
# [instance].cfg - applies settings to a specific instance
4+
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
88

9-
#### Server Settings ####
9+
#### Game Server Settings ####
1010

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

95-
#### LinuxGSM Advanced Settings ####
96-
97-
# ANSI Colors
95+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
9896
ansi="on"
9997

100-
# Message Display Time
98+
#### Advanced Settings ####
99+
100+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
101101
sleeptime="0.5"
102102

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

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

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

134-
## Server Specific Directories
134+
## Game Server Directories
135135
systemdir="${serverfiles}/action"
136136
executabledir="${serverfiles}"
137137
executable="./hlds_run"

lgsm/config-default/config-lgsm/arkserver/_default.cfg

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
##################################
22
######## Default Settings ########
33
##################################
4-
# DO NOT EDIT WILL BE OVERWRITTEN!
5-
# Copy settings from here and use them in either
6-
# common.cfg - applies settings to every instance
7-
# [instance].cfg - applies settings to a specific instance
4+
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
88

9-
#### Server Settings ####
9+
#### Game Server Settings ####
1010

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

97-
#### LinuxGSM Advanced Settings ####
98-
99-
# ANSI Colors
97+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
10098
ansi="on"
10199

102-
# Message Display Time
100+
#### Advanced Settings ####
101+
102+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
103103
sleeptime="0.5"
104104

105-
## SteamCMD Settings
105+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
106106
# Server appid
107107
appid="376030"
108108
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
109109
branch=""
110110
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
111111
steammaster="true"
112112

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

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

135-
## Server Specific Directories
135+
## Game Server Directories
136136
systemdir="${serverfiles}/ShooterGame"
137137
executabledir="${systemdir}/Binaries/Linux"
138138
executable="./ShooterGameServer"
139-
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
140139
servercfg="GameUserSettings.ini"
141140
servercfgdefault="GameUserSettings.ini"
141+
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
142142
servercfgfullpath="${servercfgdir}/${servercfg}"
143143

144144
## Backup Directory

lgsm/config-default/config-lgsm/arma3server/_default.cfg

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
##################################
22
######## Default Settings ########
33
##################################
4-
# DO NOT EDIT WILL BE OVERWRITTEN!
5-
# Copy settings from here and use them in either
6-
# common.cfg - applies settings to every instance
7-
# [instance].cfg - applies settings to a specific instance
4+
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
88

9-
#### Server Settings ####
9+
#### Game Server Settings ####
1010

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

111-
#### LinuxGSM Advanced Settings ####
112-
113-
# ANSI Colors
111+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
114112
ansi="on"
115113

116-
# Message Display Time
114+
#### Advanced Settings ####
115+
116+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
117117
sleeptime="0.5"
118118

119-
## SteamCMD Settings
119+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
120120
# Server appid
121121
appid="233780"
122122
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
123123
branch=""
124124
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
125125
steammaster="false"
126126

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

140-
## LinuxGSM Server Details
140+
## Game Server Details
141141
# Do not edit
142142
gamename="ARMA 3"
143143
engine="realvirtuality"
@@ -146,7 +146,7 @@ glibc="2.13"
146146
#### Directories ####
147147
# Edit with care
148148

149-
## Server Specific Directories
149+
## Game Server Directories
150150
systemdir="${serverfiles}"
151151
executabledir="${serverfiles}"
152152
executable="./arma3server"

lgsm/config-default/config-lgsm/bb2server/_default.cfg

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
##################################
22
######## Default Settings ########
33
##################################
4-
# DO NOT EDIT WILL BE OVERWRITTEN!
5-
# Copy settings from here and use them in either
6-
# common.cfg - applies settings to every instance
7-
# [instance].cfg - applies settings to a specific instance
4+
# DO NOT EDIT ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
88

9-
#### Server Settings ####
9+
#### Game Server Settings ####
1010

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

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

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

101-
#### LinuxGSM Advanced Settings ####
102-
103-
# ANSI Colors
101+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
104102
ansi="on"
105103

106-
# Message Display Time
104+
#### Advanced Settings ####
105+
106+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
107107
sleeptime="0.5"
108108

109-
## SteamCMD Settings
109+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
110110
# Server appid
111111
appid="475370"
112112
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
113113
branch=""
114114
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
115115
steammaster="true"
116116

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

130-
## LinuxGSM Server Details
130+
## Game Server Details
131131
# Do not edit
132132
gamename="BrainBread 2"
133133
engine="source"
@@ -136,7 +136,7 @@ glibc="2.17"
136136
#### Directories ####
137137
# Edit with care
138138

139-
## Server Specific Directories
139+
## Game Server Directories
140140
systemdir="${serverfiles}/brainbread2"
141141
executabledir="${serverfiles}"
142142
executable="./srcds_run"

0 commit comments

Comments
 (0)