From d8f3e29f74a7f840e58a082a2a606e1498fb2d72 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Fri, 28 Jul 2023 11:19:34 +1000 Subject: [PATCH] Stationeers: remove legacy server option, add previous branch to main template (#433) --- stationeers-legacy.kvp | 76 ------------ stationeers-legacyconfig.json | 185 ------------------------------ stationeers-legacymetaconfig.json | 7 -- stationeersconfig.json | 5 +- 4 files changed, 3 insertions(+), 270 deletions(-) delete mode 100644 stationeers-legacy.kvp delete mode 100644 stationeers-legacyconfig.json delete mode 100644 stationeers-legacymetaconfig.json diff --git a/stationeers-legacy.kvp b/stationeers-legacy.kvp deleted file mode 100644 index bdd1802..0000000 --- a/stationeers-legacy.kvp +++ /dev/null @@ -1,76 +0,0 @@ -Meta.DisplayName=Stationeers (Legacy) -Meta.Description=Stationeers Dedicated Server (Legacy) -Meta.OS=Windows, Linux -Meta.Arch=x86_64 -Meta.Author=IceOfWraith, CubeCoders -Meta.URL=https://store.steampowered.com/app/544550/Stationeers/ -Meta.DisplayImageSource=steam:544550 -Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} -Meta.ConfigManifest=stationeers-legacyconfig.json -Meta.MetaConfigManifest=stationeers-legacymetaconfig.json -Meta.ConfigRoot=stationeers-legacy.kvp -Meta.MinAMPVersion= -Meta.SpecificDockerImage= -Meta.ContainerPolicy=Supported -Meta.Prerequsites=[] -Meta.ConfigReleaseState=NotSpecified -App.DisplayName=Stationeers (Legacy) -App.RootDir=./stationeers/ -App.BaseDirectory=./stationeers/600760/ -App.ExecutableWin=600760\rocketstation_DedicatedServer.exe -App.ExecutableLinux=600760/rocketstation_DedicatedServer.x86_64 -App.WorkingDir=600760 -App.LinuxCommandLineArgs= -App.WindowsCommandLineArgs= -App.CommandLineArgs=-batchmode -nographics -autostart -bindip={{$ApplicationIPBinding}} -basedirectory="{{$FullBaseDir}}" -loadworld="{{worldname}}" -modpath="{{$FullBaseDir}}{{modpath}}/" {{$FormattedArgs}} -App.AppSettings={} -App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"544550"} -App.CommandLineParameterFormat=-{0}="{1}" -App.CommandLineParameterDelimiter= -App.ExitMethod=OS_CLOSE -App.ExitTimeout=30 -App.ExitString=shutdown -App.ExitFile=app_exit.lck -App.HasWriteableConsole=False -App.HasReadableConsole=True -App.SupportsLiveSettingsChanges=False -App.LiveSettingChangeCommandFormat=set {0} "{1}" -App.ApplicationIPBinding=0.0.0.0 -App.ApplicationPort1=28015 -App.ApplicationPort2=27028 -App.ApplicationPort3=0 -App.RemoteAdminPort=0 -App.MaxUsers=20 -App.UseRandomAdminPassword=True -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":"600760","UpdateSourceArgs":"544550","UpdateSourceVersion":"previous"},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}] -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=^> Ready$ -Console.UserJoinRegex=^$ -Console.UserLeaveRegex=^$ -Console.UserChatRegex=^$ -Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ -Console.SuppressLogAtStart=False -Console.ActivateLogRegex= -Console.UserActions={} -Limits.SleepMode=False -Limits.SleepOnStart=False -Limits.SleepDelayMinutes=5 -Limits.DozeDelay=2 -Limits.AutoRetryCount=5 diff --git a/stationeers-legacyconfig.json b/stationeers-legacyconfig.json deleted file mode 100644 index bcef3fb..0000000 --- a/stationeers-legacyconfig.json +++ /dev/null @@ -1,185 +0,0 @@ -[ - { - "DisplayName": "Server Name", - "Category": "Server Settings", - "Description": "Display name of the server.", - "Keywords": "server,name", - "FieldName": "SERVERNAME", - "InputType": "text", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.SERVERNAME", - "IncludeInCommandLine": false, - "DefaultValue": "AMP Powered Stationeers Server", - "EnumValues": {} - }, - { - "DisplayName": "Server Password", - "Category": "Server Settings", - "Description": "Password that clients must supply to join.", - "Keywords": "password", - "FieldName": "PASSWORD", - "InputType": "password", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.PASSWORD", - "IncludeInCommandLine": false, - "DefaultValue": "", - "EnumValues": {} - }, - { - "DisplayName": "RCON Password", - "Category": "Server Settings", - "Description": "Password to access RCON using http://YOURIP:GAMEPORT. You should change after install.", - "Keywords": "RCON,password", - "FieldName": "RCONPASSWORD", - "InputType": "RandomPassword", - "IsFlagArgument": false, - "ParamFieldName": "RCON.RCONPASSWORD", - "IncludeInCommandLine": false, - "DefaultValue": "", - "EnumValues": {} - }, - { - "DisplayName": "Admin Password", - "Category": "Server Settings", - "Description": "Password to become the in-game admin. You should change after install.", - "Keywords": "admin,password", - "FieldName": "ADMINPASSWORD", - "InputType": "RandomPassword", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.ADMINPASSWORD", - "IncludeInCommandLine": false, - "DefaultValue": "Password123", - "EnumValues": {} - }, - { - "DisplayName": "Max Players", - "Category": "Server Settings", - "Description": "The maximum number of players allowed on the server.", - "Keywords": "max,players", - "FieldName": "$MaxUsers", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.MAXPLAYER", - "IncludeInCommandLine": false, - "DefaultValue": "20", - "EnumValues": {}, - "MinValue":"1" - }, - { - "DisplayName": "Creator", - "Category": "Server Settings", - "Description": "Set creator's [Steam64 ID](https://steamidfinder.com/) as gamedata and key-value. This is for future integration of server instancing.", - "Keywords": "creator", - "FieldName": "creator", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "creator", - "IncludeInCommandLine": true, - "DefaultValue": "", - "SkipIfEmpty": true, - "EnumValues": {} - }, - { - "DisplayName": "World Name", - "Category": "Server Settings", - "Description": "Name of the world directory to load.", - "Keywords": "world,name", - "FieldName": "worldname", - "InputType": "text", - "IsFlagArgument": false, - "ParamFieldName": "worldname", - "IncludeInCommandLine": true, - "DefaultValue": "world", - "EnumValues": {} - }, - { - "DisplayName": "Map", - "Category": "Server Settings", - "Description": "Default Moon. Will create a world of this type or display this world type in the server browser if loading a save.", - "Keywords": "world,type", - "FieldName": "worldtype", - "InputType": "enum", - "IsFlagArgument": false, - "ParamFieldName": "worldtype", - "IncludeInCommandLine": true, - "DefaultValue": "", - "SkipIfEmpty": true, - "EnumValues": { - "": "Default", - "Europa2": "Europa2", - "Loulan": "Loulan", - "Mars": "Mars", - "Mimas": "Mimas", - "Moon": "Moon", - "Space": "Space", - "Vulcan2": "Vulcan2" - } - }, - { - "DisplayName": "Auto Save Interval", - "Category": "Server Settings", - "Description": "How frequently the server will save the world.", - "Keywords": "", - "FieldName": "autosaveinterval", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "autosaveinterval", - "IncludeInCommandLine": true, - "DefaultValue": "60", - "EnumValues": {}, - "Suffix": "sec" - }, - { - "DisplayName": "Clear All Interval", - "Category": "Server Settings", - "Description": "The interval to run \"clearall\" command. Minimum is 60 seconds. clearall will delete all disconnected characters. Set to a very high number. 0 to disable. ", - "Keywords": "clear,all,interval", - "FieldName": "clearallinterval", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "clearallinterval", - "IncludeInCommandLine": true, - "DefaultValue": "60", - "EnumValues": {}, - "Suffix": "sec" - }, - { - "DisplayName": "Mod Path", - "Category": "Server Settings", - "Description": "Where mods are located inside the datastore.", - "Keywords": "mod,path", - "FieldName": "modpath", - "InputType": "text", - "IsFlagArgument": false, - "ParamFieldName": "modpath", - "IncludeInCommandLine": false, - "DefaultValue": "Mods", - "EnumValues": {} - }, - { - "DisplayName": "GAMEPORT", - "Category": "Server Settings", - "Description": "", - "Keywords": "", - "FieldName": "$ApplicationPort1", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.GAMEPORT", - "IncludeInCommandLine": false, - "DefaultValue": "27500", - "Hidden": true - }, - { - "DisplayName": "UPDATERPORT", - "Category": "Server Settings", - "Description": "", - "Keywords": "", - "FieldName": "$ApplicationPort2", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.UPDATERPORT", - "IncludeInCommandLine": false, - "DefaultValue": "27015", - "Hidden": true - } -] \ No newline at end of file diff --git a/stationeers-legacymetaconfig.json b/stationeers-legacymetaconfig.json deleted file mode 100644 index c4d5b62..0000000 --- a/stationeers-legacymetaconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "ConfigFile": "./default.ini", - "AutoMap": true, - "ConfigType": "ini" - } -] diff --git a/stationeersconfig.json b/stationeersconfig.json index 9d55243..4591243 100644 --- a/stationeersconfig.json +++ b/stationeersconfig.json @@ -268,7 +268,8 @@ "DefaultValue":"public", "EnumValues":{ "public":"Public (default)", - "beta":"Beta" + "beta":"Beta", + "previous":"Previous" } } -] \ No newline at end of file +]