AMPTemplates/seven-days-to-dieupdates.json
IceOfWraith 215c301d25
Update 7D2D - Default Backup Exclude (#252)
* 7d2d

* Update 7D2D - Default Backup Exclusion

This adds a default .backupExclusions file for 7d2d.
2022-12-16 23:57:37 -06:00

205 lines
8.9 KiB
JSON

[
{
"UpdateStageName": "SteamCMD Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "294420",
"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/seven-days-settings184.xml",
"UpdateSourceTarget": "./294420",
"OverwriteExistingFiles": false,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings184"
},
{
"UpdateStageName": "Settings File Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/seven-days-settings196.xml",
"UpdateSourceTarget": "./294420",
"OverwriteExistingFiles": false,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings196"
},
{
"UpdateStageName": "Settings File Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/seven-days-settings200-203.xml",
"UpdateSourceTarget": "./294420",
"OverwriteExistingFiles": false,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings200-203"
},
{
"UpdateStageName": "Settings File Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/seven-days-settings204.xml",
"UpdateSourceTarget": "./294420",
"OverwriteExistingFiles": false,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings204"
},
{
"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": "Settings File Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/seven-days-settings-undead-legacy-stable.xml",
"UpdateSourceTarget": "./294420",
"OverwriteExistingFiles": false,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-stable"
},
{
"UpdateStageName": "Settings File Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/seven-days-settings-undead-legacy-experimental.xml",
"UpdateSourceTarget": "./294420",
"OverwriteExistingFiles": false,
"UpdateSourceConditionSetting": "ConfigFile",
"UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental"
},
{
"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
}
]