How to get player's name at the ping screen
#13
(08-23-2018, 07:40 PM)bearbin Wrote: 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.

oooh, that seems like a good idea, thank you for suggesting it!
Reply
Thanks given by:


Messages In This Thread
RE: How to get player's name at the ping screen - by MGlolenstine - 08-25-2018, 06:16 PM



Users browsing this thread: 6 Guest(s)