How to get player's ping in spigot 1.16.4

后端 未结 1 1518
天涯浪人
天涯浪人 2021-01-27 20:30

I tried to use java reflection in many ways to get the ping of a player. But at 100%, it returns 0ms.

I\'ve searched for a long time, so... can someone help me?

相关标签:
1条回答
  • 2021-01-27 21:04

    Finally, it works.

    The problem is my FAI : A few days ago, I opened 25565 ports for UDP/TCP and I also change other parameters.

    Since I turn off all these options, my ping was magically back to 8-12 ms.

    Thanks kahveci for your edit suggestion and sorry for the inconvenience.

    0 讨论(0)
提交回复
热议问题