diff --git a/project-zomboid.kvp b/project-zomboid.kvp index 8e59564..ae2a7da 100644 --- a/project-zomboid.kvp +++ b/project-zomboid.kvp @@ -41,7 +41,7 @@ App.MaxUsers=16 App.UseRandomAdminPassword=False App.RemoteAdminPassword=Password123 App.AdminMethod=STDIO -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870"},{"UpdateStageName":"Mods Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./project-zomboid/380870/Zomboid/mods","OverwriteExistingFiles":false}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"public","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"false"},{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"{{BetaBranch}}","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"true"},{"UpdateStageName":"Mods Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./project-zomboid/380870/Zomboid/mods","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False diff --git a/project-zomboidconfig.json b/project-zomboidconfig.json index ce04902..c0a6ad4 100755 --- a/project-zomboidconfig.json +++ b/project-zomboidconfig.json @@ -807,5 +807,35 @@ "DefaultValue":"", "Placeholder":"475182341782896651", "EnumValues":{} + }, + { + "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/380870/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":{} } ]