AMPTemplates/arma3updates.json
Greelan 65e4acfe47
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
2023-03-21 08:05:41 -05:00

58 lines
2.1 KiB
JSON

[
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"233780",
"UpdateSourceArgs":"107410",
"UpdateSourceVersion":"{{ServerBranch}}"
},
{
"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 Parameters File",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateFile",
"UpdateSourceArgs":"{{$FullBaseDir}}parameters.txt",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Modscript Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/arma3modscript.sh",
"UpdateSourceArgs":"modscript.sh",
"UpdateSourceTarget":"{{$FullInstanceDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Convert and Symlink Mods",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"./modscript.sh"
},
{
"UpdateStageName":"Link Mods",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C cd .\\arma3\\233780 && for /D %G in (.\\steamapps\\workshop\\content\\107410\\*) do mklink /J %~nxG %G"
}
]