How do you get the actual name of a player? #152
Unanswered
GEOEGII555
asked this question in
Q&A
Replies: 1 comment
-
|
Hello, Botcraft only tracks the data sent by the server. So I don't know how does the server send names with prefix/suffix, but if the data don't explicitly say "this is the prefix", "this is the name" and "this is the suffix" then Botcraft can't know about them. I guess you could try to send a request to Mojang API with the player UUID to get its official username, but you'd have to implement that on your side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm on a server where players have a custom prefix/suffix, and when I use the GetPlayerName function to find out who sent a message it also includes the prefix/suffix. How do I get the actual player name? The prefix can be changed.
Beta Was this translation helpful? Give feedback.
All reactions