Solved Getting players ping

Discussion in 'Spigot Plugin Development' started by ApplePie, Jun 13, 2016.

  1. Hello.
    I'm trying to check a players ping, and so far I've had this in my old plugins:

    Code (Text):
    player.getHandle().ping;
    But that did not work this time.
    What is the new way to do this?
     
  2. You need to use CraftPlayer.
     
    • Agree Agree x 1
    • Winner Winner x 1
  3. Thanks
     
    • Like Like x 1