AMPTemplates/dayz-experimentalupdates.json
Maximilian Grüttemeier fbd4da2aba
Add DayZ (#27)
2023-03-05 16:22:19 +11:00

42 lines
1.5 KiB
JSON

[
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"1042420",
"UpdateSourceArgs":"221100",
"UpdateSourceTarget":"{{$FullBaseDir}}"
},
{
"UpdateStageName":"Config Template Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"OverwriteExistingFiles":false,
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/dayz-experimentalserver.cfg",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UpdateSourceArgs":"AMP_serverDZ.cfg"
},
{
"UpdateStageName":"Modscript Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/dayz-experimentalmodscript.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 .\\dayz\\1042420 && for /D %G in (.\\steamapps\\workshop\\content\\221100\\*) do mklink /J %~nxG %G"
}
]