AMPTemplates/seven-days-to-dieupdates.json
IceOfWraith 4de523de0e
7D2D a21 Update (#385)
* 7D2D a21 Update

Tentative changes for the upcoming a21 release.

* Final updates pre-review

* Review fixes

* Update seven-days-to-dieconfig.json
2023-06-12 16:58:24 -05:00

155 lines
6.7 KiB
JSON

[
{
"UpdateStageName": "SteamCMD Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "294420",
"UpdateSourceArgs":"251570",
"UpdateSourceVersion": "{{Stream}}"
},
{
"UpdateStageName":"Create Mod Directory",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}Mods"
},
{
"UpdateStageName": "Settings File Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/{{ConfigFile}}.xml",
"UpdateSourceTarget": "./294420",
"OverwriteExistingFiles": false,
},
{
"UpdateStageName": "UMOD Windows",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "FetchURLFromJQ",
"UpdateSourceData": "https://api.github.com/repos/OxideMod/Oxide.SevenDaysToDie/releases/latest",
"UpdateSourceArgs": "$.assets[1].browser_download_url",
"UpdateSourceTarget": "{{$FullBaseDir}}",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true,
"UpdateSourceConditionSetting": "UMOD",
"UpdateSourceConditionValue": "true",
"DeleteAfterExtract": true
},
{
"UpdateStageName": "UMOD Linux",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "FetchURLFromJQ",
"UpdateSourceData": "https://api.github.com/repos/OxideMod/Oxide.SevenDaysToDie/releases/latest",
"UpdateSourceArgs": "$.assets[0].browser_download_url",
"UpdateSourceTarget": "{{$FullBaseDir}}",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true,
"UpdateSourceConditionSetting": "UMOD",
"UpdateSourceConditionValue": "true",
"DeleteAfterExtract": true
},
{
"UpdateStageName": "Download Undead Legacy Stable",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://ul.subquake.com/dl?v=stable",
"UpdateSourceArgs":"UndeadLegacyStable.zip",
"UpdateSourceTarget": "{{$FullBaseDir}}",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable",
"DeleteAfterExtract": true
},
{
"UpdateStageName": "Download Undead Legacy Experimental",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://ul.subquake.com/dl?v=exp",
"UpdateSourceArgs":"UndeadLegacyExperimental.zip",
"UpdateSourceTarget": "{{$FullBaseDir}}",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental",
"DeleteAfterExtract": true
},
{
"UpdateStageName": "Undead Legacy Stable Copy",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "Executable",
"UpdateSourceData": "cmd.exe",
"UpdateSourceArgs": "/C move seven-days-to-die\\294420\\UndeadLegacyStable* seven-days-to-die\\294420\\UndeadLegacyStable && xcopy /E /Y /I seven-days-to-die\\294420\\UndeadLegacyStable\\* seven-days-to-die\\294420\\ && rmdir /Q /S seven-days-to-die\\294420\\UndeadLegacyStable",
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable"
},
{
"UpdateStageName": "Undead Legacy Stable Copy",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/UndeadLegacyStable*/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/UndeadLegacyStable*/\"",
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable"
},
{
"UpdateStageName": "Undead Legacy Experimental Copy",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "Executable",
"UpdateSourceData": "cmd.exe",
"UpdateSourceArgs": "/C move seven-days-to-die\\294420\\UndeadLegacyExperimental* seven-days-to-die\\294420\\UndeadLegacyExperimental && xcopy /E /Y /I seven-days-to-die\\294420\\UndeadLegacyExperimental\\* seven-days-to-die\\294420\\ && rmdir /Q /S seven-days-to-die\\294420\\UndeadLegacyExperimental",
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental"
},
{
"UpdateStageName": "Undead Legacy Experimental Copy",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/UndeadLegacyExperimental*/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/UndeadLegacyExperimental*/\"",
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental"
},
{
"UpdateStageName":"Download Darkness Falls",
"UpdateSourcePlatform":"All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://gitlab.com/KhaineGB/darkness-falls-a20/-/archive/main/darkness-falls-a20-main.zip",
"UpdateSourceArgs":"darkness-falls-a20-main.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true,
"UpdateSourceConditionSetting": "DarknessFalls",
"UpdateSourceConditionValue": "true",
"DeleteAfterExtract": true
},
{
"UpdateStageName": "Darkness Falls Copy",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "Executable",
"UpdateSourceData": "cmd.exe",
"UpdateSourceArgs": "/C xcopy /E /Y /I seven-days-to-die\\294420\\darkness-falls-a20-main\\* seven-days-to-die\\294420\\ && rmdir /Q /S seven-days-to-die\\294420\\darkness-falls-a20-main",
"UpdateSourceConditionSetting": "DarknessFalls",
"UpdateSourceConditionValue": "true"
},
{
"UpdateStageName": "Darkness Falls Copy",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/darkness-falls-a20-main/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/darkness-falls-a20-main*/\"",
"UpdateSourceConditionSetting": "DarknessFalls",
"UpdateSourceConditionValue": "true"
},
{
"UpdateStageName":"Backup Exclusions Download 1",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/exclusions/.backupExclusions7d2d1",
"UpdateSourceArgs":".backupExclude",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UpdateSourceConditionSetting": "backupExclude",
"UpdateSourceConditionValue": "true",
"OverwriteExistingFiles":false
}
]