[
    {
        "UpdateStageName":"SteamCMD Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"SteamCMD",
        "UpdateSourceData":"233780",
        "UpdateSourceArgs":"107410",
        "UpdateSourceVersion":"public",
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"public"
    },
    {
        "UpdateStageName":"SteamCMD Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"SteamCMD",
        "UpdateSourceData":"233780",
        "UpdateSourceArgs":"107410",
        "UpdateSourceVersion":"profiling",
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"profiling"
    },
    {
        "UpdateStageName":"SteamCMD Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"SteamCMD",
        "UpdateSourceData":"233780",
        "UpdateSourceArgs":"107410",
        "UpdateSourceVersion":"creatordlc",
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"creatordlc"
    },
    {
        "UpdateStageName":"SteamCMD Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"SteamCMD",
        "UpdateSourceData":"233780",
        "UpdateSourceArgs":"107410",
        "UpdateSourceVersion":"contact",
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"contact"
    },
    {
        "UpdateStageName":"SteamCMD Creator DLC Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"SteamCMD",
        "UpdateSourceData":"233780",
        "UpdateSourceArgs":"107410",
        "UpdateSourceVersion":"creatordlc",
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"creatordlc-profiling"
    },
    {
        "UpdateStageName":"SteamCMD Performance Profiling Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"SteamCMD",
        "UpdateSourceData":"233780",
        "UpdateSourceArgs":"107410",
        "UpdateSourceTarget":".profiling",
        "UpdateSourceVersion":"profiling",
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"creatordlc-profiling"
    },
    {
        "UpdateStageName":"Performance Profiling Binary Copy",
        "UpdateSourcePlatform":"Linux",
        "UpdateSource":"CopyFilePath",
        "UpdateSourceData":"{{$FullBaseDir}}arma3server_x64",
        "UpdateSourceArgs":"{{$FullRootDir}}.profiling/arma3server_x64",
        "OverwriteExistingFiles":true,
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"creatordlc-profiling"
    },
    {
        "UpdateStageName":"Performance Profiling Binary Copy",
        "UpdateSourcePlatform":"Windows",
        "UpdateSource":"CopyFilePath",
        "UpdateSourceData":"{{$FullBaseDir}}ArmA3Server_x64.exe",
        "UpdateSourceArgs":"{{$FullRootDir}}.profiling/ArmA3Server_x64.exe",
        "OverwriteExistingFiles":true,
        "UpdateSourceConditionSetting":"ServerBranch",
        "UpdateSourceConditionValue":"creatordlc-profiling"
    },
    {
        "UpdateStageName":"Server Config Template Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"FetchURL",
        "UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/arma3server.cfg",
        "UpdateSourceArgs":"AMP_server.cfg",
        "UpdateSourceTarget":"{{$FullBaseDir}}",
        "OverwriteExistingFiles":false
    },
    {
        "UpdateStageName":"Basic Config File Download",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"FetchURL",
        "UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/arma3basic.cfg",
        "UpdateSourceArgs":"basic.cfg",
        "UpdateSourceTarget":"{{$FullBaseDir}}",
        "OverwriteExistingFiles":false
    },
    {
        "UpdateStageName":"Create Server Parameters File",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"CreateFile",
        "UpdateSourceArgs":"{{$FullBaseDir}}parameters.txt",
        "OverwriteExistingFiles":false
    },
    {
        "UpdateStageName":"Create Headless Client Parameters File",
        "UpdateSourcePlatform":"All",
        "UpdateSource":"CreateFile",
        "UpdateSourceArgs":"{{$FullBaseDir}}hc_parameters.txt",
        "OverwriteExistingFiles":false
    },
    {
        "UpdateStageName":"Modscript Download",
        "UpdateSourcePlatform":"Linux",
        "UpdateSource":"FetchURL",
        "UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/arma3convertmods.sh",
        "UpdateSourceArgs":"convertmods.sh",
        "UpdateSourceTarget":"{{$FullInstanceDir}}",
        "OverwriteExistingFiles":true
    },
    {
        "UpdateStageName":"Convert Mods",
        "UpdateSourcePlatform":"Linux",
        "UpdateSource":"Executable",
        "UpdateSourceData":"/bin/bash",
        "UpdateSourceArgs":"./convertmods.sh"
    }
]