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" + } } ]