AMPTemplates/valheimupdates.json
Geramie Kuba 34b47c875a
Merged Valheim and Valheim Plus templates. (#241)
* Merged Valheim and Valheim Plus templates.

* Updated Config.

* Changed the saves dir to Saves from Data.

* Updated Authors

* fixed a typo

* Added move Data to Saves command on update

* Copy Pasta problems

* Updated user Join and Leave regex.

* Added BepInEx download option.

* Added Valheim Plus config options. First pass.

* Clarified BepInEx Description

* fixed typo

* added Valheim Meta config

* Fixed typo

* Fixes

* Fixed category formatting

* Resolved issues

* Added Min/Max value

* Fixed more capitalizations.

* More fixes

* more fixes
2022-12-22 17:21:46 -06:00

78 lines
2.7 KiB
JSON

[
{
"UpdateStageName": "SteamCMD Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "896660",
"UpdateSourceVersion": "{{Stream}}"
},
{
"UpdateStageName": "Update Saves Directory - Windows",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "Executable",
"UpdateSourceData": "cmd.exe",
"UpdateSourceArgs": "/C move {{$FullBaseDir}}\\Data {{$FullBaseDir}}\\Saves"
},
{
"UpdateStageName": "Update Saves Directory - Linux",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"mv {{$FullBaseDir}}/Data/ {{$FullBaseDir}}/Saves/\""
},
{
"UpdateStageName": "Fetch BepInEx from Github - Windows",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "GithubRelease",
"UpdateSourceArgs": "BepInEx/BepInEx",
"UpdateSourceData": "BepInEx_x64_5.4.21.0.zip",
"UpdateSourceConditionSetting": "bepinex_install",
"UpdateSourceConditionValue": "true",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true
},
{
"UpdateStageName": "Fetch BepInEx from Github - Linux",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "GithubRelease",
"UpdateSourceArgs": "BepInEx/BepInEx",
"UpdateSourceData": "BepInEx_unix_5.4.21.0.zip",
"UpdateSourceConditionSetting": "bepinex_install",
"UpdateSourceConditionValue": "true",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true
},
{
"UpdateStageName": "Fetch ValheimPlus from Github - Windows",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "GithubRelease",
"UpdateSourceArgs": "valheimPlus/ValheimPlus",
"UpdateSourceData": "WindowsServer.zip",
"UpdateSourceConditionSetting": "valheim_plus_install",
"UpdateSourceConditionValue": "true",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true
},
{
"UpdateStageName": "Fetch ValheimPlus from Github - Linux",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "GithubRelease",
"UpdateSourceArgs": "valheimPlus/ValheimPlus",
"UpdateSourceData": "UnixServer.zip",
"UpdateSourceConditionSetting": "valheim_plus_install",
"UpdateSourceConditionValue": "true",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true
},
{
"UpdateStageName": "Settings File Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://raw.githubusercontent.com/valheimPlus/ValheimPlus/development/valheim_plus.cfg",
"UpdateSourceTarget": "{{$FullBaseDir}}/BepInEx/config",
"OverwriteExistingFiles": false,
"UpdateSourceConditionSetting": "valheim_plus_install",
"UpdateSourceConditionValue": "true"
}
]