Add SCP: Secret Laboratory (#428)

This commit is contained in:
Greelan 2023-09-01 15:43:17 +10:00 committed by GitHub
parent 891c5550a4
commit 1979e2e779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1432 additions and 0 deletions

101
scp-secret-laboratory.kvp Normal file
View File

@ -0,0 +1,101 @@
Meta.DisplayName=SCP: Secret Laboratory
Meta.Description=SCP: Secret Laboratory Dedicated Server
Meta.OS=Windows, Linux
Meta.AarchSupport=Unknown
Meta.Arch=x86_64
Meta.Author=Greelan
Meta.URL=https://scpslgame.com/
Meta.DisplayImageSource=steam:700330
Meta.EndpointURIFormat=
Meta.ConfigManifest=scp-secret-laboratoryconfig.json
Meta.MetaConfigManifest=scp-secret-laboratorymetaconfig.json
Meta.ConfigRoot=scp-secret-laboratory.kvp
Meta.MinAMPVersion=2.4.6.2
Meta.SpecificDockerImage=cubecoders/ampbase:mono
Meta.DockerRequired=False
Meta.DockerBaseReadOnly=False
Meta.ContainerPolicy=SupportedOnWindows, RecommendedOnLinux
Meta.ContainerPolicyReason=The server requires Mono on Linux. Installing Mono on the host may interfere with AMP's operation, which using a container avoids.
Meta.ExtraSetupStepsURI=
Meta.Prerequsites=[]
Meta.ExtraContainerPackages=[]
Meta.ConfigReleaseState=NotSpecified
Meta.NoCommercialUsage=False
Meta.ConfigVersion=0.0.0.0
Meta.ReleaseNotes=
Meta.BreakingReleaseNotes=
App.DisplayName=SCP: Secret Laboratory
App.RootDir=./scp-secret-laboratory/
App.BaseDirectory=./scp-secret-laboratory/996560/
App.SteamWorkshopDownloadLocation=
App.ExecutableWin=996560\LocalAdmin.exe
App.ExecutableLinux=996560/LocalAdmin
App.WorkingDir=996560
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs={{$PlatformArgs}} {{$GamePort}} --useDefault --skipHomeCheck {{CustomLocalAdminArgs}} -- -silent-crashes {{CustomServerArgs}} -logFile {{$FormattedArgs}}
App.UseLinuxIOREDIR=False
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"700330"}
App.CommandLineParameterFormat=-{0} {1}
App.CommandLineParameterDelimiter=
App.ExitMethod=String
App.ExitTimeout=30
App.ExitString=exit
App.ExitFile=app_exit.lck
App.HasWriteableConsole=True
App.HasReadableConsole=True
App.SupportsLiveSettingsChanges=False
App.LiveSettingChangeCommandFormat=set {0} "{1}"
App.ApplicationIPBinding=0.0.0.0
App.Ports=[{"Protocol":"Both","Port":7777,"Ref":"GamePort","Name":"Game and Query Port","Description":"Port for game and query traffic"}]
App.AdminPortRef=0
App.PrimaryApplicationPortRef=GamePort
App.UniversalSleepApplicationUDPPortRef=GamePort
App.UniversalSleepSteamQueryPortRef=0
App.MaxUsers=20
App.UseRandomAdminPassword=False
App.PersistRandomPassword=True
App.RemoteAdminPassword=
App.AdminMethod=STDIO
App.AdminLoginTransform=None
App.LoginTransformPrefix=
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.RCONHeartbeatMinutes=0
App.RCONHeartbeatCommand=ping
App.TelnetLoginFormat={0}
App.UpdateSources=@IncludeJson[scp-secret-laboratoryupdates.json]
App.PreStartStages=[]
App.ForceUpdate=False
App.ForceUpdateReason=
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.MonitorChildProcess=False
App.DumpFullChildProcessTree=False
App.MonitorChildProcessWaitMs=100
App.MonitorChildProcessName=
App.SupportsUniversalSleep=False
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=\[\d+m
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=
Console.AppReadyRegex=^\[[\d-]+ [\d:.]+ \+[\d:]+\] Waiting for players\.\.\.$
Console.UserJoinRegex=^\[[\d-]+ [\d:.]+ \+[\d:]+\] Nickname of (?<userid>.+?)@steam is now (?<username>.+?)\.$
Console.UserLeaveRegex=^\[[\d-]+ [\d:.]+ \+[\d:]+\] (?<username>.+?) \((?<userid>.+?)@steam\) disconnected from IP address (?<endpoint>.+?)\. Last class: (?:.*?)\.$
Console.UserChatRegex=^$
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Console.MetricsRegex=
Console.SuppressLogAtStart=False
Console.ActivateLogRegex=
Console.UserActions={}
Limits.SleepMode=True
Limits.SleepOnStart=False
Limits.SleepDelayMinutes=5
Limits.DozeDelay=2
Limits.AutoRetryCount=5
Limits.SleepStartThresholdSeconds=25

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
[
{
"ConfigFile":"AppData/config/{{$GamePort}}/config_gameplay.txt",
"AutoMap":true,
"ConfigType":"kvp",
"ConfigFormat":"{0}: {1}",
"ConfigFormatRegex":"^(?<key>.+?): (?<value>.*?)$"
},
{
"ConfigFile":"AppData/config/{{$GamePort}}/config_remoteadmin.txt",
"AutoMap":true,
"ConfigType":"kvp",
"ConfigFormat":"{0}: {1}",
"ConfigFormatRegex":"^(?<key>.+?): (?<value>.*?)$"
}
]

View File

@ -0,0 +1,39 @@
[
{
"UpdateStageName":"SteamCMD Server Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"996560",
"UpdateSourceArgs":"700330"
},
{
"UpdateStageName":"Config Directory Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}AppData/config/{{$GamePort}}"
},
{
"UpdateStageName":"Gameplay Config Template Copy",
"UpdateSourcePlatform":"All",
"UpdateSource":"CopyFilePath",
"UpdateSourceData":"{{$FullBaseDir}}AppData/config/{{$GamePort}}/config_gameplay.txt",
"UpdateSourceArgs":"{{$FullBaseDir}}ConfigTemplates/config_gameplay.template.txt",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Remoteadmin Config Template Copy",
"UpdateSourcePlatform":"All",
"UpdateSource":"CopyFilePath",
"UpdateSourceData":"{{$FullBaseDir}}AppData/config/{{$GamePort}}/config_remoteadmin.txt",
"UpdateSourceArgs":"{{$FullBaseDir}}ConfigTemplates/config_remoteadmin.template.txt",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Hoster Policy File Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateFile",
"UpdateSourceData":"gamedir_for_configs: true",
"UpdateSourceArgs":"{{$FullBaseDir}}hoster_policy.txt",
"OverwriteExistingFiles":true
}
]