AMPTemplates/seven-days-to-dieupdates.json
Geramie Kuba fc2d3c930d
Added Seven Days to Die Undead Legacy Template (#224)
* Added Seven Days to Die Undead Legacy Template

* Updated default Seven Days to Die templates

* Removed Undead Legacy config references

* Added name to authors

* Removed Undead Legacy specific files

* Made requested changes.

* Added an Info box to the Undead Legacy category

* Fixed missing {{$FullBaseDir}}

* Fixed UpdateSourceCondition for copy commands.

* Fixed typo in Windows Undead Legacy Stable copy.

* Made requested changes for merge.
2022-11-09 15:15:05 -06:00

157 lines
6.9 KiB
JSON

[
{
"UpdateStageName": "SteamCMD Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "294420",
"UpdateSourceVersion": "{{Stream}}"
},
{
"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"
}
]