From 1f2f8d396c7233501d15588ca06931f1c0f3c032 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Sat, 14 Oct 2023 07:41:04 +1100 Subject: [PATCH] Avorion: add beta branch selector (#483) --- avorion.kvp | 2 +- avorionconfig.json | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/avorion.kvp b/avorion.kvp index 52429f6..3012a3b 100644 --- a/avorion.kvp +++ b/avorion.kvp @@ -54,7 +54,7 @@ App.RCONConnectRetrySeconds=5 App.RCONHeartbeatMinutes=0 App.RCONHeartbeatCommand= App.TelnetLoginFormat={0} -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource": "SteamCMD","UpdateSourceData":"565060","UpdateSourceArgs":"445220"}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource": "SteamCMD","UpdateSourceData":"565060","UpdateSourceArgs":"445220","UpdateSourceVersion":"{{ServerBranch}}"}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False diff --git a/avorionconfig.json b/avorionconfig.json index 3482878..102ce80 100644 --- a/avorionconfig.json +++ b/avorionconfig.json @@ -211,5 +211,21 @@ "DefaultValue":"1", "Placeholder":"0 - 1", "EnumValues":{} + }, + { + "DisplayName":"Server Branch", + "Category":"SteamCMD and Updates", + "Description":"Sets the server branch to install. NOTE: Update the server after switching branches!", + "Keywords":"server,branch", + "FieldName":"ServerBranch", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"ServerBranch", + "IncludeInCommandLine":false, + "DefaultValue":"public", + "EnumValues":{ + "public":"Public (default)", + "beta":"Beta" + } } ]