Update Space Engineers

Fixed the config file getting overwritten on update
Added Sleep functionality
Fixed Steam direct connect link
Properly hid Port/IP settings
Removed unused Port 3
This commit is contained in:
James Manker 2022-02-18 22:28:30 -06:00
parent 2d406cde9c
commit 9b18fb27c3
2 changed files with 75 additions and 36 deletions

View File

@ -1,41 +1,76 @@
App.AdminMethod=STDIO
App.ApplicationReadyMode=RegexMatch
Meta.DisplayName=Space Engineers
Meta.Description=Space Engineers Dedicated Server
Meta.OS=Windows
Meta.Arch=x86_64
Meta.Author=IceOfWraith, CubeCoders(base)
Meta.URL=https://store.steampowered.com/app/244850/Space_Engineers/
Meta.DisplayImageSource=steam:244850
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2}
Meta.ConfigManifest=space-engineers-genericconfig.json
Meta.MetaConfigManifest=space-engineers-genericmetaconfig.json
Meta.ConfigRoot=space-engineers-generic.kvp
Meta.MinAMPVersion=2.3.0.9
Meta.SpecificDockerImage=
Meta.ContainerPolicy=Supported
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Space Engineers
App.RootDir=./space-engineers-generic/
App.BaseDirectory=./space-engineers-generic/298740/
App.ExecutableWin=298740\DedicatedServer64\SpaceEngineersDedicated.exe
App.ExecutableLinux=298740/
App.WorkingDir=298740
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs=-console -path "{{$FullBaseDir}}servers" {{$FormattedArgs}}
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"298740"}
App.CommandLineParameterFormat=-{0} "{1}"
App.CommandLineParameterDelimiter=
App.ExitMethod=String
App.ExitTimeout=30
App.ExitString=taskkill /IM
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.RemoteAdminPort=27016
App.ApplicationPort1=27017
App.ApplicationPort2=8777
App.ApplicationReadyMode=RegexMatch
App.BaseDirectory=./space-engineers-generic/298740/
App.CommandLineArgs=-console -path "{{$FullBaseDir}}servers" {{$FormattedArgs}}
App.CommandLineParameterDelimiter=
App.CommandLineParameterFormat=-{0} "{1}"
App.DisplayName=Space Engineers (Generic)
App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "298740"}
App.ExecutableLinux=298740/
App.ExecutableWin=298740\DedicatedServer64\SpaceEngineersDedicated.exe
App.ExitMethod=String
App.ExitString=taskkill /IM
App.HasReadableConsole=true
App.HasWritableConsole=true
App.ApplicationPort3=0
App.MaxUsers=12
App.RapidStartup=false
App.RootDir=./space-engineers-generic/
App.UpdateSource=Multi
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "298740"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"space-engineers-generic/298740/servers","OverwriteExistingFiles":false},{"UpdateStageName": "Base Config Download","UpdateSourcePlatform": "All", "UpdateSource": "FetchURL", "UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/SpaceEngineers-Dedicated.cfg","UpdateSourceTarget":"298740/servers"}]
App.WorkingDir=298740
App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO
App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "298740"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"space-engineers-generic/298740/servers","OverwriteExistingFiles":false},{"UpdateStageName": "Base Config Download","UpdateSourcePlatform": "All", "UpdateSource": "FetchURL", "UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/SpaceEngineers-Dedicated.cfg","UpdateSourceTarget":"298740/servers","OverwriteExistingFiles":false}]
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.SupportsUniversalSleep=True
App.UniversalSleepApplicationUDPPort=1
App.UniversalSleepSteamQueryPort=2
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^\d+\-\d+\-\d+ \d+\:\d+\:\d+.\d+\: Game ready.*$
Console.UserJoinRegex=^\d+\-\d+\-\d+ \d+\:\d+\:\d+.\d+\: World request received: (?<username>.+?)$
Console.UserLeaveRegex=^\d+\-\d+\-\d+ \d+\:\d+\:\d+.\d+\: User left (?<username>.+?)$
Console.UserChatRegex=
Console.UserChatRegex=^\[\d\d:\d\d:\d\d\] \[CHAT\] <(?<username>.+?)> (?<message>.+)$
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Meta.Author=IceOfWraith, CubeCoders(base)
Meta.ConfigManifest=space-engineers-genericconfig.json
Meta.MetaConfigManifest=space-engineers-genericmetaconfig.json
Meta.ConfigRoot=space-engineers-generic.kvp
Meta.Description=
Meta.DisplayImageSource=steam:244850
Meta.DisplayName=Space Engineers (Generic)
Meta.EndpointURIFormat=
Meta.OS=1
Meta.URL=https://store.steampowered.com/app/244850/Space_Engineers/
Meta.MinAMPVersion=2.3.0.9
Console.SuppressLogAtStart=False
Console.ActivateLogRegex=
Console.UserActions={}
Limits.SleepMode=False
Limits.SleepOnStart=False
Limits.SleepDelayMinutes=5
Limits.DozeDelay=2
Limits.AutoRetryCount=5

View File

@ -1907,7 +1907,8 @@
"IsFlagArgument": false,
"ParamFieldName": "/MyConfigDedicated/IP/text()",
"IncludeInCommandLine": false,
"EnumValues": {}
"EnumValues": {},
"Hidden": true
},
{
"DisplayName": "Server Port",
@ -1919,7 +1920,8 @@
"IsFlagArgument": false,
"ParamFieldName": "/MyConfigDedicated/ServerPort/text()",
"IncludeInCommandLine": false,
"EnumValues": {}
"EnumValues": {},
"Hidden": true
},
{
"DisplayName": "Remote API Port",
@ -1931,7 +1933,8 @@
"IsFlagArgument": false,
"ParamFieldName": "/MyConfigDedicated/RemoteApiPort/text()",
"IncludeInCommandLine": false,
"EnumValues": {}
"EnumValues": {},
"Hidden": true
},
{
"DisplayName": "Steam Port",
@ -1943,7 +1946,8 @@
"IsFlagArgument": false,
"ParamFieldName": "/MyConfigDedicated/SteamPort/text()",
"IncludeInCommandLine": false,
"EnumValues": {}
"EnumValues": {},
"Hidden": true
},
{
"DisplayName": "Remote API Enabled",