From c675f3145f668707c4b90473d3aac3eb70da0d7d Mon Sep 17 00:00:00 2001 From: amyavi Date: Fri, 27 Sep 2024 21:26:33 -0300 Subject: [PATCH] feat: auto-update voicechat fix: make geyser auto-update work again --- scripts/fetch_external_plugins.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/fetch_external_plugins.sh b/scripts/fetch_external_plugins.sh index 45d266a..e0891e9 100755 --- a/scripts/fetch_external_plugins.sh +++ b/scripts/fetch_external_plugins.sh @@ -7,23 +7,27 @@ mkdir -p fetched_plugins # Fetch plugins for download_url in https://ci.ender.zone/job/EssentialsX/lastSuccessfulBuild/artifact/*zip*/archive.zip \ https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/artifact/*zip*/archive.zip \ - https://nightly.link/GeyserMC/Geyser/workflows/build/master/Geyser%20Spigot.zip \ + https://nightly.link/GeyserMC/Geyser/workflows/build/master/Geyser-Spigot.zip \ https://ci.viaversion.com/job/ViaVersion/lastSuccessfulBuild/artifact/*zip*/archive.zip \ https://ci.viaversion.com/job/ViaBackwards/lastSuccessfulBuild/artifact/*zip*/archive.zip \ https://ci.viaversion.com/job/ViaRewind/lastSuccessfulBuild/artifact/*zip*/archive.zip do - curl -L $download_url > archive.zip + curl -L "$download_url" > archive.zip unzip -o archive.zip rm archive.zip done +## voicechat +curl -L https://cdn.modrinth.com/data/9eGKb6K1/versions/nS19YToN/voicechat-bukkit-2.5.20.jar -o voicechat.jar + # Move plugins mv archive/jars/EssentialsX-*.jar fetched_plugins/Essentials.jar mv archive/artifacts/FastAsyncWorldEdit-Bukkit-*.jar fetched_plugins/FastAsyncWorldEdit.jar mv Geyser-Spigot.jar fetched_plugins/Geyser.jar mv archive/build/libs/ViaVersion-*.jar fetched_plugins/ViaVersion.jar mv archive/build/libs/ViaBackwards-*.jar fetched_plugins/ViaBackwards.jar -mv archive/universal/build/libs/ViaRewind-*.jar fetched_plugins/ViaRewind.jar +mv archive/build/libs/ViaRewind-*.jar fetched_plugins/ViaRewind.jar +mv voicechat.jar fetched_plugins/voicechat.jar # Clean up rm -rf archive/