Преглед изворни кода

feat: remove SCP: Secret Laboratory ServerMod (scpslsm) (#5038)

Removes SCP: Secret Laboratory ServerMod (scpslsm). Steam app 786920 has
been retired by the publisher, so SteamCMD returns "No subscription" for
every account and the server can no longer be installed. Modded SCP:SL
servers are covered by scpsl with LabAPI or EXILED.
Daniel Gibbs пре 4 дана
родитељ
комит
05e61dc365

+ 0 - 210
lgsm/config-default/config-lgsm/scpslsmserver/_default.cfg

@@ -1,210 +0,0 @@
-##################################
-######## 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
-## All server settings except the server port are done in the config file:
-## Docs: https://en.scpslgame.com/index.php?title=Docs:Server_Config
-port="7777"
-
-## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
-startparameters="${port} --acceptEULA"
-
-#### 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"
-
-# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
-ntfyalert="off"
-ntfytopic="LinuxGSM"
-ntfyserver="https://ntfy.sh"
-ntfytoken=""
-ntfyusername=""
-ntfypassword=""
-ntfypriority=""
-ntfytags=""
-
-# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
-matrixalert="off"
-matrixhomeserver="matrix.org"
-matrixtoken="accesstoken"
-matrixroom=""
-
-# 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 all".
-telegramapi="api.telegram.org"
-telegramalert="off"
-telegramtoken="accesstoken"
-telegramchatid=""
-telegramthreadid=""
-telegramsilentnotification="false"
-curlcustomstring=""
-
-## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
-stoponlyifnoplayers="off"
-stoponlyifnoplayersallcommands="on"
-
-## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
-# Minutes to warn players in-game before a stop, restart or update. 0 to disable.
-# e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
-warnplayerstimer="0"
-
-## 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="1"
-
-## 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="786920"
-steamcmdforcewindows="no"
-# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
-branch=""
-betapassword=""
-# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
-steammaster="false"
-
-## 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="7"
-
-## Query mode
-# 1: session only
-# 2: gamedig (gsquery fallback)
-# 3: gamedig
-# 4: gsquery
-# 5: tcp
-querymode="1"
-querytype=""
-
-## Console type
-consoleverbose="yes"
-consoleinteract="yes"
-
-## Game Server Details
-# Do not edit
-gamename="SCP: Secret Laboratory ServerMod"
-engine="unity3d"
-glibc="2.27"
-
-#### Directories ####
-# Edit with care
-
-## Game Server Directories
-systemdir="${serverfiles}"
-executabledir="${systemdir}"
-executable="./LocalAdmin"
-servercfg="config_gameplay.txt"
-servercfgdefault="config_gameplay.txt"
-servercfgdir="${HOME}/.config/SCP Secret Laboratory/config/${port}"
-servercfgfullpath="${servercfgdir}/${servercfg}"
-
-## Backup Directory
-backupdir="${lgsmdir}/backup"
-
-## Logging Directories
-[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
-gamelogdir="${HOME}/.config/SCP Secret Laboratory/LocalAdminLogs/${port}"
-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"

+ 0 - 1
lgsm/data/almalinux-8.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/almalinux-9.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/centos-7.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/centos-8.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/centos-9.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/debian-10.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/debian-11.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/debian-12.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/debian-13.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete,libicu76
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2
 sf
 sfc

+ 0 - 1
lgsm/data/debian-9.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

BIN
lgsm/data/gameicons/scpslsm-icon.png


+ 0 - 1
lgsm/data/rhel-7.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/rhel-8.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/rhel-9.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/rocky-8.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/rocky-9.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl
-scpslsm
 sdtd,telnet,expect,libxml2
 sf
 sfc,ncurses-libs.i686

+ 0 - 1
lgsm/data/serverlist.csv

@@ -104,7 +104,6 @@ samp,sampserver,San Andreas Multiplayer,ubuntu-26.04
 sb,sbserver,Starbound,ubuntu-26.04
 sbots,sbotsserver,StickyBots,ubuntu-26.04
 scpsl,scpslserver,SCP: Secret Laboratory,ubuntu-26.04
-scpslsm,scpslsmserver,SCP: Secret Laboratory ServerMod,ubuntu-24.04
 sdtd,sdtdserver,7 Days to Die,ubuntu-26.04
 sf,sfserver,Satisfactory,ubuntu-26.04
 sfc,sfcserver,SourceForts Classic,ubuntu-26.04

+ 0 - 1
lgsm/data/ubuntu-16.04.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/ubuntu-18.04.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/ubuntu-20.04.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/ubuntu-22.04.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/ubuntu-23.04.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/ubuntu-23.10.csv

@@ -106,7 +106,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc,libtinfo5:i386

+ 0 - 1
lgsm/data/ubuntu-24.04.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc

+ 0 - 1
lgsm/data/ubuntu-26.04.csv

@@ -105,7 +105,6 @@ samp
 sb
 sbots
 scpsl,mono-complete
-scpslsm,mono-complete
 sdtd,telnet,expect,libxml2-utils
 sf
 sfc

+ 1 - 1
lgsm/modules/command_stop.sh

@@ -71,7 +71,7 @@ fn_stop_warn_players_command() {
 		warncommand='servermsg "%s"'
 	elif [ "${shortname}" == "dst" ]; then
 		warncommand='c_announce("%s")'
-	elif [ "${shortname}" == "scpsl" ] || [ "${shortname}" == "scpslsm" ]; then
+	elif [ "${shortname}" == "scpsl" ]; then
 		warncommand="/bc 10 %s"
 	elif [ "${shortname}" == "vints" ]; then
 		warncommand="/announce %s"

+ 1 - 1
lgsm/modules/info_game.sh

@@ -2512,7 +2512,7 @@ elif [ "${shortname}" == "sb" ]; then
 	fn_info_game_sb
 elif [ "${shortname}" == "sbots" ]; then
 	fn_info_game_sbots
-elif [ "${shortname}" == "scpsl" ] || [ "${shortname}" == "scpslsm" ]; then
+elif [ "${shortname}" == "scpsl" ]; then
 	fn_info_game_scpsl
 elif [ "${shortname}" == "sdtd" ]; then
 	fn_info_game_sdtd

+ 2 - 2
lgsm/modules/info_messages.sh

@@ -730,7 +730,7 @@ fn_info_messages_ports_edit() {
 		fi
 	done
 	# engines/games that require editing the start parameters.
-	local ports_edit_array=("av" "ck" "col" "cs2" "fctr" "goldsrc" "hcu" "hw" "hyt" "iw3.0" "ioquake3" "pw" "qfusion" "rsdw" "rust" "scpsl" "scpslsm" "sf" "sol" "spark" "source" "unreal4" "arma3" "dayz" "unt" "vh")
+	local ports_edit_array=("av" "ck" "col" "cs2" "fctr" "goldsrc" "hcu" "hw" "hyt" "iw3.0" "ioquake3" "pw" "qfusion" "rsdw" "rust" "scpsl" "sf" "sol" "spark" "source" "unreal4" "arma3" "dayz" "unt" "vh")
 	for port_edit in "${ports_edit_array[@]}"; do
 		if [ "${engine}" == "${port_edit}" ] || [ "${gamename}" == "${port_edit}" ] || [ "${shortname}" == "${port_edit}" ]; then
 			startparameterslocation="${configdirserver}"
@@ -1965,7 +1965,7 @@ fn_info_messages_select_engine() {
 		fn_info_messages_sb
 	elif [ "${shortname}" == "sbots" ]; then
 		fn_info_messages_sbots
-	elif [ "${shortname}" == "scpsl" ] || [ "${shortname}" == "scpslsm" ]; then
+	elif [ "${shortname}" == "scpsl" ]; then
 		fn_info_messages_scpsl
 	elif [ "${shortname}" == "sdtd" ]; then
 		fn_info_messages_sdtd

+ 1 - 1
lgsm/modules/install_config.sh

@@ -685,7 +685,7 @@ elif [ "${shortname}" == "rust" ]; then
 	array_configs+=(server.cfg)
 	fn_default_config_remote
 	fn_list_config_locations
-elif [ "${shortname}" == "scpsl" ] || [ "${shortname}" == "scpslsm" ]; then
+elif [ "${shortname}" == "scpsl" ]; then
 	array_configs+=(config_gameplay.txt config_localadmin.txt)
 	fn_default_config_remote
 	fn_set_config_vars

+ 1 - 1
lgsm/modules/install_eula.sh

@@ -11,7 +11,7 @@ if [ "${shortname}" == "ts3" ]; then
 	eulaurl="https://www.teamspeak.com/en/privacy-and-terms"
 elif [ "${shortname}" == "mc" ] || [ "${shortname}" == "pmc" ]; then
 	eulaurl="https://account.mojang.com/documents/minecraft_eula"
-elif [ "${shortname}" == "scpsl" ] || [ "${shortname}" == "scpslsm" ]; then
+elif [ "${shortname}" == "scpsl" ]; then
 	eulaurl="https://link.scpslgame.com/eula"
 elif [ "${shortname}" == "ut" ]; then
 	eulaurl="https://www.epicgames.com/unrealtournament/unreal-tournament-pre-alpha-test-development-build-eula"

+ 1 - 1
lgsm/modules/install_server_files.sh

@@ -227,7 +227,7 @@ fn_install_server_files() {
 	fn_clear_tmp
 }
 
-if [ "${shortname}" == "mc" ] || [ "${shortname}" == "pmc" ] || [ "${shortname}" == "scpsl" ] || [ "${shortname}" == "scpslsm" ] || [ "${shortname}" == "ut" ]; then
+if [ "${shortname}" == "mc" ] || [ "${shortname}" == "pmc" ] || [ "${shortname}" == "scpsl" ] || [ "${shortname}" == "ut" ]; then
 	install_eula.sh
 fi