diff --git a/eco.kvp b/eco.kvp index 2000dca..0b36837 100644 --- a/eco.kvp +++ b/eco.kvp @@ -47,7 +47,7 @@ App.AdminMethod=SourceRCON App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 App.RCONConnectRetrySeconds=5 -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"739590","UpdateSourceVersion":"{{ServerVersion}}"},{"UpdateStageName":"Network Config Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./eco/739590/Configs/Network.eco","UpdateSourceArgs":"./eco/739590/Configs/Network.eco.template","OverwriteExistingFiles":false}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"739590","UpdateSourceVersion":"public","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"false"},{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"739590","UpdateSourceVersion":"{{BetaBranch}}","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"true"},{"UpdateStageName":"Network Config Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./eco/739590/Configs/Network.eco","UpdateSourceArgs":"./eco/739590/Configs/Network.eco.template","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False diff --git a/ecoconfig.json b/ecoconfig.json index f812269..354a192 100644 --- a/ecoconfig.json +++ b/ecoconfig.json @@ -51,20 +51,6 @@ "IncludeInCommandLine":false, "EnumValues":{} }, - { - "DisplayName":"Server Version", - "Category":"Server Settings", - "Description":"[Server version](https://steamdb.info/app/739590/depots/) to install. Default is \"public\". Set any required password under SteamCMD and Updates. NOTE: Update the server after changing this setting!", - "Keywords":"server,version,beta", - "FieldName":"ServerVersion", - "InputType":"text", - "IsFlagArgument":false, - "ParamFieldName":"", - "IncludeInCommandLine":false, - "DefaultValue":"public", - "Placeholder":"public", - "EnumValues":{} - }, { "DisplayName":"Server Name", "Category":"Server Settings", @@ -208,5 +194,35 @@ "False":"false", "True":"true" } - } + }, + { + "DisplayName":"Enable Beta Branch", + "Category":"SteamCMD and Updates", + "Description":"If enabled, allows beta branches (branches other than \"public\") to be installed. Specify the branch under \"Selected Beta Branch\". NOTE: Update the server after switching branches!", + "Keywords":"enable,beta", + "FieldName":"EnableBeta", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"", + "IncludeInCommandLine":false, + "DefaultValue":"false", + "EnumValues":{ + "False":"false", + "True":"true" + } + }, + { + "DisplayName":"Selected Beta Branch", + "Category":"SteamCMD and Updates", + "Description":"[Beta branch](https://steamdb.info/app/739590/depots/) to install. Requires \"Enable Beta Branch\" to be enabled. Set any required password under \"Beta Password\". NOTE: Update the server after switching branches!", + "Keywords":"beta,branch", + "FieldName":"BetaBranch", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"", + "IncludeInCommandLine":false, + "DefaultValue":"", + "Placeholder":"", + "EnumValues":{} + } ] \ No newline at end of file