How to get player's name at the ping screen
#12
OK, I have looked into it a little bit more. I'm pretty sure that there isn't a good way to do it, and the servers that have your name in the description just use a hack like PersonalMOTD which just correlates the IP Address of the user with their username after the first login, and then remembers the username mapping for next time.

Luckily you can do the same thing in Cuberite, as ClientHandle exposes a GetIPString method you can use to get the IP address.
Reply
Thanks given by:


Messages In This Thread
RE: How to get player's name at the ping screen - by bearbin - 08-23-2018, 07:40 PM



Users browsing this thread: 1 Guest(s)