1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Is there a way to retrieve a player's name from their XUID?

Discussion in 'Development' started by Rim, Jun 7, 2020.

  1. Rim

    Rim Spider Jockey

    Messages:
    28
    GitHub:
    boomyourbang
    Like some sort of XUID-to-gamertag translator. I am aware of Player->getXuid(), but what I need is basically the opposite - getting their name from their XUID. Any help?
     
  2. mmm545

    mmm545 Baby Zombie

    Messages:
    152
    GitHub:
    mmm545
    I asked this in discord before, the answer was to make a foreach online player and then an if statement. I haven't tested it and not sure if this method would cause lag
    I'm writing this on my phone so i can't write code
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.