Skip to content

Commit 6521320

Browse files
authored
feat(info): refactor info modules (#3428)
* add new details to queryraw * fix httpport ac server * correct info bug for bt1944server * added bt1944 to info_parms update info messages bt1944ports * steamport * raw port raw * message display * check_root bug * add more ports merge words * arma 3 improvements * master port * add arma3 ports * portnames * strip ./ from executable * exec * integrate ss * replace netstat with ss * port header headerr * remove inbound outbound * ark * shorten executable * change to port display * add info_distro * response * acserver improvements acserver ac * add assettocorsa query * ss * rawport * update av server exec merge av changes * av ports * av ss bug * av * avserver * remove port * port changes * listen * col * bt1944 * cmw cmw * cmw * changes * etl * add servers * hw * inss ins * add rcon to insserver * rcon * jc * jc3 minecraft * mcb * onset * Memories of mars * mumble * changes * steamport * tcp query * udp * fix * steamport * info_distro now required before parms * srcdslinuxopid * srcds_linux * hlds_linux * ins * date * ns2 * rising world rising world query port rising world javaram rising world a * rising world ports * portipv6 * add ports to query raw * add Rising World Query * fix rising world game mode * update 7 Days to Die * port3 * increased sdtd glibc to 2.27 * corrected starbound ports location * starbound * added new SteamCMD error code * Master server check if query raw * Stationeers * stationeers * webadmin * added extra query ports for ts3 a * add teamspeak3 query * add ts3 query details * ts3 version * queryport reverts back once gamedig finished * added telnetport to ts3 * fix TS3 bug causing shutdown when starting debug the fix was running and killing a running server * show start parameters for ts3 * tower unite * terraria * terraria * ss command in dev-query-raw info_messages.sh * ut4 and others * more updates * soldat * col vint * pvr query port tab * pvr query type tcp * pvr gameport+400 * changed to shortname * unreal99 * ut99 beacon * httpport * ut2k4 * kf * kf * bug * httpport * httpport * more kf ports * lan port * steammasterport * kf * ports * ports * ut2k4 * ut2k4 * lanport * lanport * ro * ro * kf2 * httpport * update naming * ut3 * ut3 * ut3 * mom * mom * reshuffle * sort list * function re-shuffle * merge info_parms and info_config into info_game.sh a * updated source filters * added ac to edit ports array * Revert "updated source filters" This reverts commit e8621ea. * spaces * fix typo * tidy * re ordered ports edit array * added java * add bf1942 * Added Last Oasis * corrected pc function name * re ordered in alpha * space * remove space
1 parent 0f289c0 commit 6521320

33 files changed

+2190
-1869
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ stopmode="2"
139139
# 4: gsquery
140140
# 5: tcp
141141
querymode="5"
142-
querytype=""
142+
querytype="assettocorsa"
143143

144144
## Console type
145145
consoleverbose="yes"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#### Game Server Settings ####
1010

1111
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
12-
port="27000"
12+
1313
# https://steamidfinder.com
1414
adminsteamid=""
1515
if [ -n "${adminsteamid}" ]; then
@@ -160,8 +160,8 @@ glibc="2.15"
160160
avdatapath="${serverfiles}/galaxy"
161161
avgalaxypath="${avdatapath}/${selfname}"
162162
systemdir="${serverfiles}"
163-
executabledir="${systemdir}"
164-
executable="./server.sh"
163+
executabledir="${systemdir}/bin"
164+
executable="./bin/AvorionServer"
165165
servercfgdir="${avgalaxypath}"
166166
servercfg="server.ini"
167167
servercfgdefault="server.ini"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ip="0.0.0.0"
2626
port="27015"
2727
clientport="27005"
2828
sourcetvport="27020"
29+
steamport="26901"
2930
defaultmap="de_mirage"
3031
maxplayers="16"
3132
tickrate="64"

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@
1212
ip="0.0.0.0"
1313
port="27102"
1414
queryport="27131"
15+
rconport="27015"
16+
rconpassword=""
1517
servername="LinuxGSM Server"
1618
defaultmap="Canyon"
1719
defaultscenario="Scenario_Crossing_Push_Security"
1820
maxplayers="28"
1921

2022
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
2123
## Parameter Docs | https://sandstorm-support.newworldinteractive.com/hc/en-us/articles/360049211072-Server-Admin-Guide
22-
startparameters="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers} -Port=${port} -QueryPort=${queryport} -hostname='${servername}' -log"
24+
startparameters="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers} -Port=${port} -QueryPort=${queryport} -hostname='${servername}' -Rcon -RconPassword=${rconpassword} -RconListenPort=${rconport} -log"
2325

2426
#### LinuxGSM Settings ####
2527

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ stopmode="2"
139139
# 3: gamedig
140140
# 4: gsquery
141141
# 5: tcp
142-
querymode="1"
142+
querymode="5"
143143
querytype=""
144144

145145
## Console type

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ stopmode="3"
135135
# 3: gamedig
136136
# 4: gsquery
137137
# 5: tcp
138-
querymode="1"
139-
querytype=""
138+
querymode="2"
139+
querytype="protocol-valve"
140140

141141
## Console type
142142
consoleverbose="yes"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ consoleinteract="no"
146146
# Do not edit
147147
gamename="7 Days To Die"
148148
engine="unity3d"
149-
glibc="2.15"
149+
glibc="2.27"
150150

151151
#### Directories ####
152152
# Edit with care

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ stopmode="2"
123123
# 4: gsquery
124124
# 5: tcp
125125
querymode="5"
126-
querytype=""
126+
querytype="teamspeak3"
127127

128128
## Console type
129129
consoleverbose="yes"

lgsm/data/serverlist.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ ut2k4,ut2k4server,Unreal Tournament 2004
108108
ut3,ut3server,Unreal Tournament 3
109109
ut99,ut99server,Unreal Tournament 99
110110
vh,vhserver,Valheim
111-
vs,vsserver,Vampire Slayer
112111
vints,vintsserver,Vintage Story
112+
vs,vsserver,Vampire Slayer
113113
wet,wetserver,Wolfenstein: Enemy Territory
114114
wf,wfserver,Warfork
115115
wmc,wmcserver,WaterfallMC

lgsm/functions/alert.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
1111
# Used with email alerts.
1212
fn_alert_log(){
1313
info_distro.sh
14-
info_config.sh
14+
info_game.sh
1515
info_messages.sh
1616
if [ -f "${alertlog}" ]; then
1717
rm -f "${alertlog:?}"

0 commit comments

Comments
 (0)