-
-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Player#sendPluginMessage doesn't sending data. #1068
Comments
what do you mean, "via specified player", cos sending a plugin message to the player will send the message to the player and not to the server |
Is this related to #591? Cuz that is build 264 |
In older builds it was possible to send a PluginMessage directly like this. |
Player#sendPluginMessage has always sent the plugin message to the client, nothing has changed on that front, unless you mean you're calling that inside of bukkit and the proxy isn't sending data back when you do that; In which case, all I can guess is going to boil down to making sure that you properly registered your channels and are using the latest build, otherwise, we'd need more repo info |
If it never worked from Proxy -> Bukkit side, then it's my fault. |
After build 264 (tested also with build 265) sending PluginMessage via specified player isn't no longer working.
I have to use directly ServerConnection to send Plugin message.
Code:
ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeUTF("info-test"); source.sendPluginMessage(MinecraftChannelIdentifier.from("gk:test"), out.toByteArray());
Bukkit (paper) side: git-Paper-159 (MC: 1.20.1)
The text was updated successfully, but these errors were encountered: