I thought that the Ping and Pong packets can be used to actually measure your latency and show it with command.Does anybody knows how to do it?
Hmm but when the client sends Ping and the server responds Pong can't you calculate the ms for which the server responds with the Pong packet?
i am assuming the ping by client is a /ping the issue is, we dont know when the client sent /ping we can only know they DID send a /ping i personally think something like a packet which would make the client send a respond packet should do the trick we can get away with dividing 2 on the time it take and it should be as accurate as it can be
There is a Ping plugin on Im******M*** forums, I think it uses the method with the response packet, but it's not very accuarte
no, that IM plugin uses IMPC Ping not the kind of ping packet we wanted, we wanted the ping of the client not their router which can be configured to delay respond or even to completely drop/void the ping packet i guess for now we could just ask player to do /XYZ cmd and measure the latency