Player Ping Command

Share scripts you wrote for Denizen-Bukkit here!
Post Reply
User avatar
Mwthorn
User
User
Posts: 46
Joined: August 6th, 2016, 8:35 am
Location: Roskilde, Sjælland, Denmark
Contact:

Player Ping Command

Post by Mwthorn » November 3rd, 2019, 3:49 pm

Displays a player's current ping. This is mainly just an example on how to make a command with Denizen.
It has the following commands included:
/ping - Check your own ping
/ping (player) - Checks another player's ping

Instructions:

User avatar
mcmonkey
Site Admin
Site Admin
Posts: 236
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Player Ping Command

Post by mcmonkey » November 4th, 2019, 5:10 am

" - if <def[ping]> == null:
# Very rare case, but can happen.
"
When would this ever happen? It shouldn't.
In fact I do believe it is impossible.
Denizen lead developer.
http://mcmonkey.org

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest