Paper icon indicating copy to clipboard operation
Paper copied to clipboard

sendPluginMessage is unstable for NeoForge

Open bxx2004 opened this issue 1 year ago • 3 comments

Expected behavior

normal communication

Observed/Actual behavior

Can only communicate once

Steps/models to reproduce

  1. run paper server
  2. Player join server
  3. sendPluginmessage() //success
  4. Player quit server
  5. Player join server
  6. 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

bxx2004 avatar Nov 01 '25 08:11 bxx2004

No Exception,No Crash

bxx2004 avatar Nov 01 '25 08:11 bxx2004

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

masmc05 avatar Nov 01 '25 09:11 masmc05

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

bxx2004 avatar Nov 02 '25 02:11 bxx2004