-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
4122-Spigot-b698b49-661afb4 (MC: 1.20.5) (Implementing API version 1.20.5-R0.1-SNAPSHOT)
-
Simple Voice Chat
-
Yes
Since version 1.20.5 Bukkit.getMessenger().registerIncomingPluginChannel does not seem to work anymore.
The same code has worked since Minecraft version 1.12.2.
Minimal reproducible example:
public final class TestPlugin extends JavaPlugin { public static final String PLUGIN_ID = "channeltest"; public static final Logger LOGGER = LogManager.getLogger(PLUGIN_ID); @Override public void onEnable() { Bukkit.getMessenger().registerIncomingPluginChannel(this, "voicechat:request_secret", (s, player, bytes) -> { LOGGER.info("RECEIVED PACKET"); }); } @Override public void onDisable() { } }
The same thing also happens when using CraftBukkit.
Please let me know if you need any more information.