From 31a7027045f3d75e301fc247f9459111c2e00efa Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Thu, 12 Jan 2023 20:25:32 -0600 Subject: [PATCH] Day of Dragons - Add Release Stream (#276) * Day of Dragons - Add Release Stream The devs are creating a new public version for UE5. This allows users to use the legacy stream and continue using the current version. * Update day-of-dragons.kvp * Update day-of-dragonsconfig.json * Update day-of-dragonsconfig.json Co-authored-by: Greelan <53196309+Greelan@users.noreply.github.com> --- day-of-dragons.kvp | 2 +- day-of-dragonsconfig.json | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/day-of-dragons.kvp b/day-of-dragons.kvp index a62daab..d5da3e6 100644 --- a/day-of-dragons.kvp +++ b/day-of-dragons.kvp @@ -56,7 +56,7 @@ App.RCONConnectRetrySeconds=5 App.RCONHeartbeatMinutes=0 App.RCONHeartbeatCommand=ping App.TelnetLoginFormat={0} -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"1088320","UpdateSourceArgs":"1088090"},{"UpdateStageName":"SteamCMD Component Download","UpdateSourcePlatform":"Windows","UpdateSource":"SteamCMD","UpdateSourceData":"1007","UpdateSourceTarget":"{{$FullBaseDir}}Dragons/Binaries/Win64/"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"Windows","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Dragons/Saved/Config/WindowsServer"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Dragons/Saved/Config/LinuxServer"},{"UpdateStageName":"Game Config File Download","UpdateSourcePlatform":"Windows","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/day-of-dragonsgame.ini","UpdateSourceArgs":"Game.ini","UpdateSourceTarget":"{{$FullBaseDir}}Dragons/Saved/Config/WindowsServer/","OverwriteExistingFiles":false},{"UpdateStageName":"Game Config File Download","UpdateSourcePlatform":"Linux","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/day-of-dragonsgame.ini","UpdateSourceArgs":"Game.ini","UpdateSourceTarget":"{{$FullBaseDir}}Dragons/Saved/Config/LinuxServer/","OverwriteExistingFiles":false}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"1088320","UpdateSourceArgs":"1088090","UpdateSourceVersion":"{{Stream}}"},{"UpdateStageName":"SteamCMD Component Download","UpdateSourcePlatform":"Windows","UpdateSource":"SteamCMD","UpdateSourceData":"1007","UpdateSourceTarget":"{{$FullBaseDir}}Dragons/Binaries/Win64/"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"Windows","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Dragons/Saved/Config/WindowsServer"},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Dragons/Saved/Config/LinuxServer"},{"UpdateStageName":"Game Config File Download","UpdateSourcePlatform":"Windows","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/day-of-dragonsgame.ini","UpdateSourceArgs":"Game.ini","UpdateSourceTarget":"{{$FullBaseDir}}Dragons/Saved/Config/WindowsServer/","OverwriteExistingFiles":false},{"UpdateStageName":"Game Config File Download","UpdateSourcePlatform":"Linux","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/day-of-dragonsgame.ini","UpdateSourceArgs":"Game.ini","UpdateSourceTarget":"{{$FullBaseDir}}Dragons/Saved/Config/LinuxServer/","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False diff --git a/day-of-dragonsconfig.json b/day-of-dragonsconfig.json index c472cf1..0f36a15 100644 --- a/day-of-dragonsconfig.json +++ b/day-of-dragonsconfig.json @@ -323,5 +323,21 @@ "DefaultValue":"", "Placeholder":"https://discord.gg/mW2p4kr", "EnumValues":{} - } + }, + { + "DisplayName":"Release Stream", + "Category":"SteamCMD and Updates", + "Description":"Sets the server release stream to install. NOTE: Update the server after changing this setting!", + "Keywords":"release,stream,legacy", + "FieldName":"Stream", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"Stream", + "IncludeInCommandLine":false, + "DefaultValue":"public", + "EnumValues":{ + "public":"Public (Default/UE5)", + "legacy":"Legacy (UE4)" + } + } ]