From 04ff75556c496a3b4be7b051786ae55b0ead382b Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 20:49:54 +0100 Subject: [PATCH 01/18] add the front --- lgsm/data/almalinux-8.csv | 1 + lgsm/data/almalinux-9.csv | 1 + lgsm/data/centos-7.csv | 1 + lgsm/data/centos-8.csv | 1 + lgsm/data/centos-9.csv | 1 + lgsm/data/debian-10.csv | 1 + lgsm/data/debian-11.csv | 1 + lgsm/data/debian-12.csv | 1 + lgsm/data/debian-9.csv | 1 + lgsm/data/rhel-7.csv | 1 + lgsm/data/rhel-8.csv | 1 + lgsm/data/rhel-9.csv | 1 + lgsm/data/rocky-9.csv | 1 + lgsm/data/serverlist.csv | 1 + lgsm/data/ubuntu-16.04.csv | 1 + lgsm/data/ubuntu-18.04.csv | 1 + lgsm/data/ubuntu-20.04.csv | 1 + lgsm/data/ubuntu-22.04.csv | 1 + lgsm/data/ubuntu-23.04.csv | 1 + lgsm/data/ubuntu-23.10.csv | 1 + 20 files changed, 20 insertions(+) diff --git a/lgsm/data/almalinux-8.csv b/lgsm/data/almalinux-8.csv index 4142c3c82f..561b3c134c 100644 --- a/lgsm/data/almalinux-8.csv +++ b/lgsm/data/almalinux-8.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/almalinux-9.csv b/lgsm/data/almalinux-9.csv index 0e9ff15e2f..64a9e06456 100644 --- a/lgsm/data/almalinux-9.csv +++ b/lgsm/data/almalinux-9.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/centos-7.csv b/lgsm/data/centos-7.csv index 111bd9afa8..a1b10095e9 100644 --- a/lgsm/data/centos-7.csv +++ b/lgsm/data/centos-7.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/centos-8.csv b/lgsm/data/centos-8.csv index 4142c3c82f..561b3c134c 100644 --- a/lgsm/data/centos-8.csv +++ b/lgsm/data/centos-8.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/centos-9.csv b/lgsm/data/centos-9.csv index 0e9ff15e2f..64a9e06456 100644 --- a/lgsm/data/centos-9.csv +++ b/lgsm/data/centos-9.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/debian-10.csv b/lgsm/data/debian-10.csv index 0e9d67d030..c890739c51 100644 --- a/lgsm/data/debian-10.csv +++ b/lgsm/data/debian-10.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/debian-11.csv b/lgsm/data/debian-11.csv index 9a458349e9..c265a1f4b1 100644 --- a/lgsm/data/debian-11.csv +++ b/lgsm/data/debian-11.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/debian-12.csv b/lgsm/data/debian-12.csv index d0e56cf466..00351bde8d 100644 --- a/lgsm/data/debian-12.csv +++ b/lgsm/data/debian-12.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl3:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/debian-9.csv b/lgsm/data/debian-9.csv index c8aceef1b2..6fd3c21eec 100644 --- a/lgsm/data/debian-9.csv +++ b/lgsm/data/debian-9.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/rhel-7.csv b/lgsm/data/rhel-7.csv index 9125bd0936..8a748cda70 100644 --- a/lgsm/data/rhel-7.csv +++ b/lgsm/data/rhel-7.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/rhel-8.csv b/lgsm/data/rhel-8.csv index 4142c3c82f..561b3c134c 100644 --- a/lgsm/data/rhel-8.csv +++ b/lgsm/data/rhel-8.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/rhel-9.csv b/lgsm/data/rhel-9.csv index 0e9ff15e2f..64a9e06456 100644 --- a/lgsm/data/rhel-9.csv +++ b/lgsm/data/rhel-9.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/rocky-9.csv b/lgsm/data/rocky-9.csv index 0e9ff15e2f..64a9e06456 100644 --- a/lgsm/data/rocky-9.csv +++ b/lgsm/data/rocky-9.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti diff --git a/lgsm/data/serverlist.csv b/lgsm/data/serverlist.csv index 094731373a..1dd6dda2cd 100644 --- a/lgsm/data/serverlist.csv +++ b/lgsm/data/serverlist.csv @@ -110,6 +110,7 @@ st,stserver,Stationeers,ubuntu-22.04 stn,stnserver,Survive the Nights,ubuntu-22.04 sven,svenserver,Sven Co-op,ubuntu-20.04 terraria,terrariaserver,Terraria,ubuntu-22.04 +tf,tfserver,The Front,ubuntu-22.04 tf2,tf2server,Team Fortress 2,ubuntu-22.04 tfc,tfcserver,Team Fortress Classic,ubuntu-22.04 ti,tiserver,The Isle,ubuntu-22.04 diff --git a/lgsm/data/ubuntu-16.04.csv b/lgsm/data/ubuntu-16.04.csv index 37fc3114b1..e91bec26d2 100644 --- a/lgsm/data/ubuntu-16.04.csv +++ b/lgsm/data/ubuntu-16.04.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/ubuntu-18.04.csv b/lgsm/data/ubuntu-18.04.csv index 0e9d67d030..c890739c51 100644 --- a/lgsm/data/ubuntu-18.04.csv +++ b/lgsm/data/ubuntu-18.04.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/ubuntu-20.04.csv b/lgsm/data/ubuntu-20.04.csv index 35d2847862..e66eb7dc62 100644 --- a/lgsm/data/ubuntu-20.04.csv +++ b/lgsm/data/ubuntu-20.04.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/ubuntu-22.04.csv b/lgsm/data/ubuntu-22.04.csv index 1f57e9613a..ffc637ab73 100644 --- a/lgsm/data/ubuntu-22.04.csv +++ b/lgsm/data/ubuntu-22.04.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/ubuntu-23.04.csv b/lgsm/data/ubuntu-23.04.csv index dbfe82f9e2..65e17bf1be 100644 --- a/lgsm/data/ubuntu-23.04.csv +++ b/lgsm/data/ubuntu-23.04.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti diff --git a/lgsm/data/ubuntu-23.10.csv b/lgsm/data/ubuntu-23.10.csv index dbfe82f9e2..65e17bf1be 100644 --- a/lgsm/data/ubuntu-23.10.csv +++ b/lgsm/data/ubuntu-23.10.csv @@ -111,6 +111,7 @@ st,libxml2-utils stn sven,libssl1.1:i386,zlib1g:i386 terraria +tf tf2,libcurl4-gnutls-dev:i386 tfc ti From aa7bfdd0ec38c38a1b0ce2f62f38547a34bee062 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 20:53:09 +0100 Subject: [PATCH 02/18] config --- .../config-lgsm/tfserver/_default.cfg | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 lgsm/config-default/config-lgsm/tfserver/_default.cfg diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg new file mode 100644 index 0000000000..ce7fe67e53 --- /dev/null +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -0,0 +1,188 @@ +################################## +######## Default Settings ######## +################################## +# 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. + +#### Game Server Settings #### + +## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters +ip="0.0.0.0" +port="7777" +queryport="27015" +rconport="27020" +# Default Map: TheIsland, Ragnarok, CrystalIsles, Aberration_P, ScorchedEarth_P, TheCenter, Extinction, Valguero_P, Genesis, Gen2 +defaultmap="TheIsland" +altsavedirectoryname="${defaultmap}" +maxplayers="70" + +## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters +startparameters="ProjectWar ProjectWar_Start ?Listen?MaxPlayers=8 -server -game -QueueThreshold=8 -ServerName=\"YOUR SERVER NAME\" -ServerAdminAccounts=STEAM64ID;STEAM64ID;STEAM64ID -log log=log.log -locallogtimes -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -OutIPAddress=YOUR_PUBLIC_IP -ServerID=ANY_IDEA -port=PORT-BeaconPort=PORT+1 -QueryPort=PORT+2 -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -ShutDownServicePort=PORT+3" + +#### LinuxGSM Settings #### + +## LinuxGSM Stats +# Send useful stats to LinuxGSM developers. +# https://docs.linuxgsm.com/configuration/linuxgsm-stats +# (on|off) +stats="off" + +## Notification Alerts +# (on|off) + +# Display IP | https://docs.linuxgsm.com/alerts#display-ip +displayip="" + +# More info | https://docs.linuxgsm.com/alerts#more-info +postalert="off" + +# Alert on Start/Stop/Restart +statusalert="off" + +# Discord Alerts | https://docs.linuxgsm.com/alerts/discord +discordalert="off" +discordwebhook="webhook" + +# Email Alerts | https://docs.linuxgsm.com/alerts/email +emailalert="off" +email="email@example.com" +emailfrom="" + +# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify +gotifyalert="off" +gotifytoken="token" +gotifywebhook="webhook" + +# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt +iftttalert="off" +ifttttoken="accesstoken" +iftttevent="linuxgsm_alert" + +# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet +pushbulletalert="off" +pushbullettoken="accesstoken" +channeltag="" + +# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover +pushoveralert="off" +pushovertoken="accesstoken" +pushoveruserkey="userkey" + +# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat +rocketchatalert="off" +rocketchatwebhook="webhook" + +# Slack Alerts | https://docs.linuxgsm.com/alerts/slack +slackalert="off" +slackwebhook="webhook" + +# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram +# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". +# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". +telegramapi="api.telegram.org" +telegramalert="off" +telegramtoken="accesstoken" +telegramchatid="" +curlcustomstring="" + +## Updating | https://docs.linuxgsm.com/commands/update +updateonstart="off" + +## Backup | https://docs.linuxgsm.com/commands/backup +maxbackups="4" +maxbackupdays="30" +stoponbackup="on" + +## Logging | https://docs.linuxgsm.com/features/logging +consolelogging="on" +logdays="7" + +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="5" + +## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors +ansi="on" + +#### Advanced Settings #### + +## Message Display Time | https://docs.linuxgsm.com/features/message-display-time +sleeptime="0.5" + +## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd +# Server appid +appid="376030" +steamcmdforcewindows="no" +# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch +branch="" +betapassword="" +# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server +steammaster="true" + +## Stop Mode | https://docs.linuxgsm.com/features/stop-mode +# 1: tmux kill +# 2: CTRL+c +# 3: quit +# 4: quit 120s +# 5: stop +# 6: q +# 7: exit +# 8: 7 Days to Die +# 9: GoldSrc +# 10: Avorion +# 11: end +stopmode="2" + +## Query mode +# 1: session only +# 2: gamedig (gsquery fallback) +# 3: gamedig +# 4: gsquery +# 5: tcp +querymode="2" +querytype="protocol-valve" + +## Console type +consoleverbose="no" +consoleinteract="no" + +## Game Server Details +# Do not edit +gamename="The Front" +engine="unreal4" +glibc="2.17" + +#### Directories #### +# Edit with care + +## Game Server Directories +systemdir="${serverfiles}/ProjectWar" +executabledir="${systemdir}/Binaries/Linux" +executable="./TheFrontServer" +servercfgdir="${systemdir}/Saved/Config/LinuxServer" +servercfg="GameUserSettings.ini" +servercfgdefault="GameUserSettings.ini" +servercfgfullpath="${servercfgdir}/${servercfg}" + +## Backup Directory +backupdir="${lgsmdir}/backup" + +## Logging Directories +[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log" +gamelogdir="${systemdir}/Saved/Logs" +lgsmlogdir="${logdir}/script" +consolelogdir="${logdir}/console" +lgsmlog="${lgsmlogdir}/${selfname}-script.log" +consolelog="${consolelogdir}/${selfname}-console.log" +alertlog="${lgsmlogdir}/${selfname}-alert.log" +postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" + +## Logs Naming +lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" +consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" + +## Log Parameters +logtimestamp="off" +logtimestampformat="%Y-%m-%d %H:%M:%S" From 0e55c5f2ad4b84876651f4b77ab031104fd358b7 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 20:57:35 +0100 Subject: [PATCH 03/18] appid --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index ce7fe67e53..778ef598c5 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -113,7 +113,7 @@ sleeptime="0.5" ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd # Server appid -appid="376030" +appid="2334200" steamcmdforcewindows="no" # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch branch="" From afca84d6bdb31cdce1f6e5d8a14de8456dc31891 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 21:36:52 +0100 Subject: [PATCH 04/18] config --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index 778ef598c5..438ea23d34 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -11,15 +11,16 @@ ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ip="0.0.0.0" port="7777" -queryport="27015" +queryport="7779" # port +2? rconport="27020" # Default Map: TheIsland, Ragnarok, CrystalIsles, Aberration_P, ScorchedEarth_P, TheCenter, Extinction, Valguero_P, Genesis, Gen2 defaultmap="TheIsland" altsavedirectoryname="${defaultmap}" -maxplayers="70" +maxplayers="8" +servername="LinuxGSM" ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters="ProjectWar ProjectWar_Start ?Listen?MaxPlayers=8 -server -game -QueueThreshold=8 -ServerName=\"YOUR SERVER NAME\" -ServerAdminAccounts=STEAM64ID;STEAM64ID;STEAM64ID -log log=log.log -locallogtimes -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -OutIPAddress=YOUR_PUBLIC_IP -ServerID=ANY_IDEA -port=PORT-BeaconPort=PORT+1 -QueryPort=PORT+2 -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -ShutDownServicePort=PORT+3" +startparameters="ProjectWar ProjectWar_Start ?Listen?MaxPlayers=${maxplayers} -server -game -QueueThreshold=${maxplayers} -ConfigServerName=\"${servername}\" -ServerName=\"${servername}\" -log log=log.log -locallogtimes -ServerAdminAccounts=STEAM64ID;STEAM64ID;STEAM64ID -OutIPAddress=${publicip} -ServerID=ANY_IDEA -Port=${port} -BeaconPort=${beaconport} -QueryPort=${queryport} -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -ShutDownServicePort=PORT+3 -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene" #### LinuxGSM Settings #### From c0cd52647a60e05af8a6f41f9ec371b617e63a0c Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 21:59:04 +0100 Subject: [PATCH 05/18] parameters --- .../config-lgsm/tfserver/_default.cfg | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index 438ea23d34..1862868348 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -11,16 +11,26 @@ ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ip="0.0.0.0" port="7777" -queryport="7779" # port +2? -rconport="27020" -# Default Map: TheIsland, Ragnarok, CrystalIsles, Aberration_P, ScorchedEarth_P, TheCenter, Extinction, Valguero_P, Genesis, Gen2 -defaultmap="TheIsland" +queryport="7779" # port +2 +shutdownport="7780" # port +3 +adminlabel="true" # Enable admin icon. +allowsensitivewords="true" altsavedirectoryname="${defaultmap}" +anticheat="true" +damageself="true" +defaultmap="TheIsland" +gamemode="0" # 0 = PvP; 1 = PvE +greenhand="true" maxplayers="8" +saveinterval="300" +serveradmins="" # Use 17-digit Steam IDs separated by commas to grant admin privileges to players. servername="LinuxGSM" +serverpassword="" +servertags="LinuxGSM" +steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters="ProjectWar ProjectWar_Start ?Listen?MaxPlayers=${maxplayers} -server -game -QueueThreshold=${maxplayers} -ConfigServerName=\"${servername}\" -ServerName=\"${servername}\" -log log=log.log -locallogtimes -ServerAdminAccounts=STEAM64ID;STEAM64ID;STEAM64ID -OutIPAddress=${publicip} -ServerID=ANY_IDEA -Port=${port} -BeaconPort=${beaconport} -QueryPort=${queryport} -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -ShutDownServicePort=PORT+3 -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene" +startparameters=ProjectWar_Start?DedicatedServer -server -game -log -ServerTags=\"${servertags}\" -UseSteamSocket=${steamsocket} -Port=\"${port}\" -BeaconPort=\"${beaconport}\" -ShutDownServicePort=\"${shutdownport}\" -QueryPort=\"${queryport}\" -ConfigServerName=\"{{CFG_NAME}}\" -OutIPAddress=${ip} -UserDir=\"\/home\/container\/TheFrontManager\/{{CFG_NAME}}\/\" -ServerName=\"${servername}\" -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=50 -QueueValidTime=120 -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts=${serveradmins} -IsShowGmTitle=${adminlabel} -ServerPassword=${serverpassword}" #### LinuxGSM Settings #### From 78ff7d889f57b61d8619aa66db69c68678a097f1 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 22:02:39 +0100 Subject: [PATCH 06/18] params --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index 1862868348..f66bb24e4b 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -30,7 +30,7 @@ servertags="LinuxGSM" steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters=ProjectWar_Start?DedicatedServer -server -game -log -ServerTags=\"${servertags}\" -UseSteamSocket=${steamsocket} -Port=\"${port}\" -BeaconPort=\"${beaconport}\" -ShutDownServicePort=\"${shutdownport}\" -QueryPort=\"${queryport}\" -ConfigServerName=\"{{CFG_NAME}}\" -OutIPAddress=${ip} -UserDir=\"\/home\/container\/TheFrontManager\/{{CFG_NAME}}\/\" -ServerName=\"${servername}\" -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=50 -QueueValidTime=120 -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts=${serveradmins} -IsShowGmTitle=${adminlabel} -ServerPassword=${serverpassword}" +startparameters=ProjectWar_Start?DedicatedServer -server -game -log -ServerTags=\"${servertags}\" -UseSteamSocket=${steamsocket} -Port=\"${port}\" -BeaconPort=\"${beaconport}\" -ShutDownServicePort=\"${shutdownport}\" -QueryPort=\"${queryport}\" -ConfigServerName=\"new\" -OutIPAddress=${ip} -UserDir=\"${serverfiles}/new\" -ServerName=\"${servername}\" -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=50 -QueueValidTime=120 -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts=${serveradmins} -IsShowGmTitle=${adminlabel} -ServerPassword=${serverpassword}" #### LinuxGSM Settings #### From 4bfaa64b428681dc1d9cae4dc09876def9336323 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 22:03:35 +0100 Subject: [PATCH 07/18] params --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index f66bb24e4b..eb164af739 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -30,7 +30,7 @@ servertags="LinuxGSM" steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters=ProjectWar_Start?DedicatedServer -server -game -log -ServerTags=\"${servertags}\" -UseSteamSocket=${steamsocket} -Port=\"${port}\" -BeaconPort=\"${beaconport}\" -ShutDownServicePort=\"${shutdownport}\" -QueryPort=\"${queryport}\" -ConfigServerName=\"new\" -OutIPAddress=${ip} -UserDir=\"${serverfiles}/new\" -ServerName=\"${servername}\" -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=50 -QueueValidTime=120 -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts=${serveradmins} -IsShowGmTitle=${adminlabel} -ServerPassword=${serverpassword}" +startparameters="ProjectWar_Start?DedicatedServer -server -game -log -ServerTags=\"${servertags}\" -UseSteamSocket=${steamsocket} -Port=\"${port}\" -BeaconPort=\"${beaconport}\" -ShutDownServicePort=\"${shutdownport}\" -QueryPort=\"${queryport}\" -ConfigServerName=\"new\" -OutIPAddress=${ip} -UserDir=\"${serverfiles}/new\" -ServerName=\"${servername}\" -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=50 -QueueValidTime=120 -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts=${serveradmins} -IsShowGmTitle=${adminlabel} -ServerPassword=${serverpassword}" #### LinuxGSM Settings #### From 3573914ef5911d6b5c0dae397a8289794e240478 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 28 Oct 2023 22:22:19 +0100 Subject: [PATCH 08/18] ports --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index eb164af739..00e3ec982c 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -10,9 +10,10 @@ ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ip="0.0.0.0" -port="7777" -queryport="7779" # port +2 -shutdownport="7780" # port +3 +port="27015" +beaconport="27016" # port +1 +queryport="27017" # port +2 +shutdownport="27018" # port +3 adminlabel="true" # Enable admin icon. allowsensitivewords="true" altsavedirectoryname="${defaultmap}" From 2e34eb059fa6fcaebd5922690b3cfc2b3ef8b9ac Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 18:02:53 +0000 Subject: [PATCH 09/18] update parameters --- .../config-lgsm/tfserver/_default.cfg | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index 00e3ec982c..f1a2698c4c 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -10,28 +10,29 @@ ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ip="0.0.0.0" -port="27015" -beaconport="27016" # port +1 -queryport="27017" # port +2 -shutdownport="27018" # port +3 +port="5001" +beaconport="5002" +shutdownport="5003" +queryport="27015" adminlabel="true" # Enable admin icon. allowsensitivewords="true" altsavedirectoryname="${defaultmap}" anticheat="true" damageself="true" -defaultmap="TheIsland" gamemode="0" # 0 = PvP; 1 = PvE greenhand="true" -maxplayers="8" +maxplayers="40" +maxqueuesize="50" +queuevalidtime="120" saveinterval="300" serveradmins="" # Use 17-digit Steam IDs separated by commas to grant admin privileges to players. servername="LinuxGSM" serverpassword="" servertags="LinuxGSM" -steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. +steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Use Steam Servers for network penetration. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters="ProjectWar_Start?DedicatedServer -server -game -log -ServerTags=\"${servertags}\" -UseSteamSocket=${steamsocket} -Port=\"${port}\" -BeaconPort=\"${beaconport}\" -ShutDownServicePort=\"${shutdownport}\" -QueryPort=\"${queryport}\" -ConfigServerName=\"new\" -OutIPAddress=${ip} -UserDir=\"${serverfiles}/new\" -ServerName=\"${servername}\" -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=50 -QueueValidTime=120 -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts=${serveradmins} -IsShowGmTitle=${adminlabel} -ServerPassword=${serverpassword}" +startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log-Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${ip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'" #### LinuxGSM Settings #### From 52e4c280c065117e6a36346a8fd9cccd3a0aaebb Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 18:10:06 +0000 Subject: [PATCH 10/18] verbose --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index f1a2698c4c..7bda52db6f 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -158,7 +158,7 @@ querymode="2" querytype="protocol-valve" ## Console type -consoleverbose="no" +consoleverbose="yes" consoleinteract="no" ## Game Server Details From f2060c849b567cba752aa5d91b5e6da402381953 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 18:17:17 +0000 Subject: [PATCH 11/18] variable --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index 7bda52db6f..714622821f 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -19,6 +19,7 @@ allowsensitivewords="true" altsavedirectoryname="${defaultmap}" anticheat="true" damageself="true" +damangeallies="true" gamemode="0" # 0 = PvP; 1 = PvE greenhand="true" maxplayers="40" From cf88de832556d75f6fa2bc37b1bb2838dc1da201 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 19:59:30 +0000 Subject: [PATCH 12/18] fix --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index 714622821f..baf077aa16 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -33,7 +33,7 @@ servertags="LinuxGSM" steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Use Steam Servers for network penetration. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log-Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${ip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'" +startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log -Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${ip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'" #### LinuxGSM Settings #### From 68c1fca9da1c955235264f2d28a6cf2268698b77 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 20:01:21 +0000 Subject: [PATCH 13/18] multihome --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index baf077aa16..0c86f5357d 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -33,7 +33,7 @@ servertags="LinuxGSM" steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Use Steam Servers for network penetration. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log -Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${ip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'" +startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${ip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'" #### LinuxGSM Settings #### From b2f7e371fefd0d739b36e98d9a3313aea9934c6c Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 20:22:08 +0000 Subject: [PATCH 14/18] update ip addressing --- lgsm/config-default/config-lgsm/tfserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/tfserver/_default.cfg b/lgsm/config-default/config-lgsm/tfserver/_default.cfg index 0c86f5357d..b605365fea 100644 --- a/lgsm/config-default/config-lgsm/tfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfserver/_default.cfg @@ -33,7 +33,7 @@ servertags="LinuxGSM" steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Use Steam Servers for network penetration. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${ip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'" +startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${publicip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'" #### LinuxGSM Settings #### From 100465f3ee0b176011408d0330ddb291342ecef0 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 20:29:12 +0000 Subject: [PATCH 15/18] add ip vars --- lgsm/modules/command_dev_query_raw.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lgsm/modules/command_dev_query_raw.sh b/lgsm/modules/command_dev_query_raw.sh index 50c07fd7b6..2314d75b4a 100644 --- a/lgsm/modules/command_dev_query_raw.sh +++ b/lgsm/modules/command_dev_query_raw.sh @@ -15,6 +15,16 @@ info_game.sh info_distro.sh info_messages.sh +echo -e "" +echo -e "${lightgreen}IP Addresses Variables${default}" +fn_messages_separator +echo -e "" +echo -e "IP: ${ip}" +echo -e "HTTP IP: ${httpip}" +echo -e "Public IP: ${publicip}" +echo -e "Telnet IP: ${telnetip}" +echo -e "Display IP: ${displayip}" + echo -e "" echo -e "${lightgreen}Query IP Addresses${default}" fn_messages_separator From 1005e3871b86b7c88cd5758936fea77314949ca1 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 21:08:22 +0000 Subject: [PATCH 16/18] info --- lgsm/modules/info_game.sh | 20 ++++++++++++++++++++ lgsm/modules/info_messages.sh | 12 ++++++++++++ 2 files changed, 32 insertions(+) diff --git a/lgsm/modules/info_game.sh b/lgsm/modules/info_game.sh index fd45981669..c75f1c2390 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -681,6 +681,24 @@ fn_info_game_stn() { serverpassword="${serverpassword:-"NOT SET"}" } +# Config Type: parameters +# Parameters: true +# Comment: +# Example: -ServerName="SERVERNAME" +# Filetype: parameters +fn_info_game_tf() { + beaconport="${beaconport:-"0"}" + gamemode="${gamemode:-"NOT SET"}" + maxplayers="${maxplayers:-"0"}" + port="${port:-"0"}" + queryport="${queryport:-"0"}" + saveinterval="${saveinterval:-"0"}" + servername="${servername:-"NOT SET"}" + serverpassword="${serverpassword:-"NOT SET"}" + shutdownport="${shutdownport:-"0"}" + +} + # Config Type: ini # Parameters: true # Comment: ; or # @@ -2372,6 +2390,8 @@ elif [ "${shortname}" == "stn" ]; then fn_info_game_stn elif [ "${shortname}" == "terraria" ]; then fn_info_game_terraria +elif [ "${shortname}" == "tf" ]; then + fn_info_game_tf elif [ "${shortname}" == "ti" ]; then fn_info_game_ti elif [ "${shortname}" == "ts3" ]; then diff --git a/lgsm/modules/info_messages.sh b/lgsm/modules/info_messages.sh index 0e57690bff..0b928aa55e 100644 --- a/lgsm/modules/info_messages.sh +++ b/lgsm/modules/info_messages.sh @@ -1542,6 +1542,16 @@ fn_info_messages_tu() { } | column -s $'\t' -t } +fn_info_messages_tf() { + { + fn_port "header" + fn_port "Game" port udp + fn_port "Query" queryport tcp + fn_port "Beacon" beaconport udp + fn_port "Shutdown" shutdownport tcp + } | column -s $'\t' -t +} + fn_info_messages_ut2k4() { { fn_port "header" @@ -1813,6 +1823,8 @@ fn_info_messages_select_engine() { fn_info_messages_stn elif [ "${shortname}" == "terraria" ]; then fn_info_messages_terraria + elif [ "${shortname}" == "tf" ]; then + fn_info_messages_tf elif [ "${shortname}" == "ti" ]; then fn_info_messages_ti elif [ "${shortname}" == "ts3" ]; then From c4811b25194b58331033decf4910674b16354f89 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 29 Oct 2023 21:17:10 +0000 Subject: [PATCH 17/18] add ft-icon --- lgsm/data/gameicons/tf-icon.png | Bin 0 -> 1828 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 lgsm/data/gameicons/tf-icon.png diff --git a/lgsm/data/gameicons/tf-icon.png b/lgsm/data/gameicons/tf-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ace42ff5b9dd532e75da9d0337d550dcdf2b97d1 GIT binary patch literal 1828 zcmV+<2iy3GP)r*j zBmn>b9XQ3eW<4INB2MOhLQdPr8C2N`n{7OoB_rw<{Y z2_bzB5QI2No-t0895ta7Cn}4|IUglu1`!h$D-9AKY)4ipB{FtPT3QJXIAo&`3m!=T z0jeQCWFHzt00D*>A{PS-OEHq_3PkA2pfY ztPw0wZo-HF4RZ+uPXGX885yY+FAV_{PbD*e7a0yXXKp%6D38%SB|c~{I)*?_P|p7^ zm)Qy&I6N&rN`})9M}B-pWqKJIHn!@4DK9XD$u)MlHYi4PA~OOPIsgtS4^NAQJY6oY z=o%S2Ybz=MG+;X&O9CBEmMu|>M1lYaSyz@^U9Uh45ITOnunR3DHeO(8xgj7zjzCsp zH9rt1Nn#TWmoG*DC^dB#DUA{ocQ80duJ9>Je>Y8rH#0$EH8OP;5G+!Wn;|Y?2plCT zGA|JZr5+_ESC&6@y@(AVhY%#2C^;*g+z=r%pCLI25=}Y)0E#q0dpAUAI8t{|Z(2H0 zFPpzlGfZeTM0GDzCv~$UWSm3B{197vPQCPEF;QF8{{R34#kag@000BuNklE=bKq{-#8$`3H3p5}`tKq>Q z0C*_VmvA~C%lZU^f#(!SlIcgD7Z8Ja2mzv(Kxpu>Dkieg?RZ*c#V(!RvXI7$I!jHBnyoy_R`b}7w)ISTL` z1ps0gq=DflA53r9(be^PT0{E1;gHc<2*woPf!{R*sxiiJ=7RLh|foTCB(0E*tHYA1Lv>bx^=mw=j@4H zlWBQ?7(@{u4F`$FqSu$43jOEG)vJwv{&lG5R7s%Kf-tXhn1PBZ;FPMi_I6+Y^~Q~V zJF<=!Zx8istqO8t;4_Xy^m?XRYgatK;iq8=jgr zd&QE%wAU*nK2Q$?Ck$Cx`-2}iR#UTX-_FMBWs_#Vwj}=5`C~%lKm*WXqkZ+7ulDTf zxqSTK+_^Pb&r~lP8|5i@v20;VX#f#Gn8v$u?V1nMn)kPS_W9z)jgJ>kdvf9ndCd)- z3!fchgBUP!Urh4q%2mzZgl_+!c-*+hBF9dQ%AHsLW@SopjN7FFNXi-iM%(-4^&fk> zr@j*zIcem`D9^m?ndOP8G2?RrXas9qVynBo{Jr{j=M233+^A7ebEYpk@Y1TyuLQdj zzxMF$u{@nG5d3=Z{c@5swz$$(X+-DW!Ibmy>0nKn90L zM;Ez^B1UK59**(w+u5TdBBFEL(cu=x3F){n40O3nCKHWEEDXaCC>bTA$rKi=s10000 Date: Sun, 29 Oct 2023 21:19:50 +0000 Subject: [PATCH 18/18] add missing tf --- lgsm/data/rocky-8.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/lgsm/data/rocky-8.csv b/lgsm/data/rocky-8.csv index 4142c3c82f..561b3c134c 100644 --- a/lgsm/data/rocky-8.csv +++ b/lgsm/data/rocky-8.csv @@ -111,6 +111,7 @@ st,libxml2 stn sven terraria +tf tf2,libcurl.i686 tfc ti