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 Meta.DisplayName=Space Engineers
App.ApplicationReadyMode=RegexMatch 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.RemoteAdminPort=27016
App.ApplicationPort1=27017 App.ApplicationPort1=27017
App.ApplicationPort2=8777 App.ApplicationPort2=8777
App.ApplicationReadyMode=RegexMatch App.ApplicationPort3=0
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.MaxUsers=12 App.MaxUsers=12
App.RapidStartup=false App.UseRandomAdminPassword=False
App.RootDir=./space-engineers-generic/ App.RemoteAdminPassword=Password123
App.UpdateSource=Multi App.AdminMethod=STDIO
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.AdminLoginTransform=None
App.WorkingDir=298740 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.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^\d+\-\d+\-\d+ \d+\:\d+\:\d+.\d+\: Game ready.*$ 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.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.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\.]+.$ Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Meta.Author=IceOfWraith, CubeCoders(base) Console.SuppressLogAtStart=False
Meta.ConfigManifest=space-engineers-genericconfig.json Console.ActivateLogRegex=
Meta.MetaConfigManifest=space-engineers-genericmetaconfig.json Console.UserActions={}
Meta.ConfigRoot=space-engineers-generic.kvp Limits.SleepMode=False
Meta.Description= Limits.SleepOnStart=False
Meta.DisplayImageSource=steam:244850 Limits.SleepDelayMinutes=5
Meta.DisplayName=Space Engineers (Generic) Limits.DozeDelay=2
Meta.EndpointURIFormat= Limits.AutoRetryCount=5
Meta.OS=1
Meta.URL=https://store.steampowered.com/app/244850/Space_Engineers/
Meta.MinAMPVersion=2.3.0.9

View File

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