server/scripts/downloads.json
amy c4ca438600
Rewrite server update script (#148)
* refactor!: rewrite update script

* refactor: split common URL logic into download_with_args

* feat: add skip_404 arg to url/zip download type
2024-12-21 05:24:52 +02:00

73 lines
No EOL
3.2 KiB
JSON

{
"server.jar": {
"type": "zip",
"url": "https://ci.plex.us.org/job/Scissors/job/1.20.4/lastSuccessfulBuild/artifact/*zip*/archive.zip",
"extract": "archive/build/libs/scissors-*.jar"
},
"plugins": {
"external": {
"plugins/Essentials.jar": {
"type": "zip",
"url": "https://ci.ender.zone/job/EssentialsX/lastSuccessfulBuild/artifact/*zip*/archive.zip",
"extract": "archive/jars/EssentialsX-*.jar"
},
"plugins/FastAsyncWorldEdit.jar": {
"type": "zip",
"url": "https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/artifact/*zip*/archive.zip",
"extract": "archive/artifacts/FastAsyncWorldEdit-Bukkit-*.jar"
},
"plugins/Geyser.jar": {
"type": "zip",
"url": "https://nightly.link/GeyserMC/Geyser/workflows/build/master/Geyser-Spigot.zip",
"extract": "Geyser-Spigot.jar"
},
"plugins/ViaVersion.jar": {
"type": "zip",
"url": "https://ci.viaversion.com/job/ViaVersion/lastSuccessfulBuild/artifact/*zip*/archive.zip",
"extract": "archive/build/libs/ViaVersion-*.jar"
},
"plugins/ViaBackwards.jar": {
"type": "zip",
"url": "https://ci.viaversion.com/job/ViaBackwards/lastSuccessfulBuild/artifact/*zip*/archive.zip",
"extract": "archive/build/libs/ViaBackwards-*.jar"
},
"plugins/ViaRewind.jar": {
"type": "zip",
"url": "https://ci.viaversion.com/job/ViaRewind/lastSuccessfulBuild/artifact/*zip*/archive.zip",
"extract": "archive/build/libs/ViaRewind-*.jar"
}
},
"internal": {
"plugins/CommandSpy.jar": {
"type": "zip",
"skip_404": true,
"url": "https://nightly.link/kaboomserver/commandspy/workflows/main/master/CommandSpy.zip",
"extract": "CommandSpy.jar"
},
"plugins/Extras.jar": {
"type": "zip",
"skip_404": true,
"url": "https://nightly.link/kaboomserver/extras/workflows/main/master/Extras.zip",
"extract": "Extras.jar"
},
"plugins/iControlU.jar": {
"type": "zip",
"skip_404": true,
"url": "https://nightly.link/kaboomserver/icontrolu/workflows/main/master/iControlU.zip",
"extract": "iControlU.jar"
},
"plugins/ParticleTrails.jar": {
"type": "zip",
"skip_404": true,
"url": "https://nightly.link/kaboomserver/particletrails/workflows/main/master/ParticleTrails.zip",
"extract": "ParticleTrails.jar"
},
"plugins/Weapons.jar": {
"type": "zip",
"skip_404": true,
"url": "https://nightly.link/kaboomserver/weapons/workflows/main/master/Weapons.zip",
"extract": "Weapons.jar"
}
}
}
}