From fe7cdc08602df8aa9f0a3025e2b90c9a0fe37908 Mon Sep 17 00:00:00 2001 From: Athar42 Date: Wed, 2 Jul 2025 18:40:33 +0200 Subject: [PATCH] Add support to 1.21.7 + prepare for an upcoming change in CommandAPI (disabled for now) - Updating CommandAPI to 10.1.1. --- build.gradle | 3 +++ gradle.properties | 4 ++-- readme.md | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 65ba108..da40844 100644 --- a/build.gradle +++ b/build.gradle @@ -44,6 +44,9 @@ dependencies { implementation "io.papermc.paper:paper-api:${bukkit_version}" implementation "de.maxhenkel.voicechat:voicechat-api:${voicechat_api_version}" shadow "dev.jorel:commandapi-bukkit-shade:${command_api_version}" + // Next two are for testing of an upcoming CommandAPI change - Not yet available. + //shadow "dev.jorel:commandapi-paper-shade:${command_api_version}" + //shadow "dev.jorel:commandapi-paper-shade-mojang-mapped:${command_api_version}" compileOnly group: "com.comphenix.protocol", name: "ProtocolLib", version: "5.3.0" } diff --git a/gradle.properties b/gradle.properties index 5603c53..12d6712 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,12 +5,12 @@ java_version=21 mp3spi_version=1.9.5.4 bukkit_api_version=1.21 -bukkit_version=1.21.6-R0.1-SNAPSHOT +bukkit_version=1.21.7-R0.1-SNAPSHOT mod_id=customdiscsplugin # Target an older API to make it compatible with older versions of Simple Voice Chat voicechat_api_version=2.3.3 -command_api_version=10.1.0 +command_api_version=10.1.1 plugin_version=4.5 maven_group=me.Navoei.customdiscsplugin diff --git a/readme.md b/readme.md index 107a6b2..25dca8f 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# Custom Discs v4.5 for Paper 1.21.6 +# Custom Discs v4.5 for Paper 1.21.7 A Paper fork of henkelmax's Audio Player. Special thanks to Athar42 for maintaining this plugin. - Play custom music discs using the Simple Voice Chat API. (The voice chat mod is required on the client and server.) @@ -21,7 +21,7 @@ Permission Nodes (Required to run the commands. Playing discs does not require a - ```customdiscs.range``` to set the range of the disc Dependencies: -- This plugin depends on the latest version of ProtocolLib for 1.21.6 and SimpleVoiceChatBukkit version 2.5.31. +- This plugin depends on the latest version of ProtocolLib for 1.21.7 and SimpleVoiceChatBukkit version 2.5.32. https://user-images.githubusercontent.com/64107368/178426026-c454ac66-5133-4f3a-9af9-7f674e022423.mp4