From 65e4acfe472405b83354764cebe7b533f1503f54 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Wed, 22 Mar 2023 00:05:41 +1100 Subject: [PATCH] Arma 3: add server branch option (#308) * Add Arma 3 * Fix autoInit flag * Add parameter file ability * Update regex * Remote netlog flag * Add headless client settings * Update mod settings * Final changes * Update arma3config.json * Mod handling and other tweaks * Remove unnecessary stages * IP Binding setting changes * Update arma3.kvp * Update arma3.kvp * Update arma3.kvp * Final changes * Arma: add branch option --- arma3config.json | 16 ++++++++++++++++ arma3updates.json | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/arma3config.json b/arma3config.json index 08709b4..e27d2f7 100644 --- a/arma3config.json +++ b/arma3config.json @@ -1140,5 +1140,21 @@ "Placeholder":"30", "Suffix":"seconds", "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,depot", + "FieldName":"ServerBranch", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"ServerBranch", + "IncludeInCommandLine":false, + "DefaultValue":"public", + "EnumValues":{ + "public":"Public (default)", + "creatordlc":"Creator DLC Build" + } } ] \ No newline at end of file diff --git a/arma3updates.json b/arma3updates.json index e483148..84e35e8 100644 --- a/arma3updates.json +++ b/arma3updates.json @@ -4,7 +4,8 @@ "UpdateSourcePlatform":"All", "UpdateSource":"SteamCMD", "UpdateSourceData":"233780", - "UpdateSourceArgs":"107410" + "UpdateSourceArgs":"107410", + "UpdateSourceVersion":"{{ServerBranch}}" }, { "UpdateStageName":"Server Config Template Download",