Add support to 1.21.7 + prepare for an upcoming change in CommandAPI (disabled for now)

- Updating CommandAPI to 10.1.1.
This commit is contained in:
Athar42
2025-07-02 18:40:33 +02:00
parent 9f093e0227
commit fe7cdc0860
3 changed files with 7 additions and 4 deletions

View File

@@ -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"
}

View File

@@ -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

View File

@@ -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