sendPluginMessage is unstable for NeoForge
Expected behavior
normal communication
Observed/Actual behavior
Can only communicate once
Steps/models to reproduce
- run paper server
- Player join server
- sendPluginmessage() //success
- Player quit server
- Player join server
- sendPluginmessage()//fail NeoForge is unable to receive
Plugin and Datapack List
no datapack,no other plugins
Paper version
This server is running Paper version 1.21.10-91-main@9934c17 (2025-10-27T18:27:20Z) (Implementing API version 1.21.10-R0.1-SNAPSHOT) You are running the latest version
Other
No response
No Exception,No Crash
Can you share some code to replicate? Make sure that you don't reuse the same Player instance and get the fresh Player instance after rejoin
Can you share some code to replicate? Make sure that you don't reuse the same Player instance and get the fresh Player instance after rejoin
I'm very sorry, I didn't refresh player. I will close this