Solved How can I get an offline player's name from their UUID?

Discussion in 'BungeeCord Plugin Development' started by Magnetite, Jun 18, 2018.

  1. Magnetite

    Magnetite Previously Matt8000

    Hi, I'm currently making a plugin, but I'm unable to complete it because I currently have access to an offline player's uuid, but I need to convert this to get their name. For example, this could be done on Spigot by doing: Bukkit.getOfflinePlayer(UuidThatIHave).getName();

    Edit: I managed to use a method from here to achieve what I wanted: https://github.com/GeorgH93/Bukkit_...ster/src/at/pcgamingfreaks/UUIDConverter.java Solved!
     
    #1 Magnetite, Jun 18, 2018
    Last edited: Jun 18, 2018
  2. Please mark the thread as solved if you solved your problem. It keeps the forums a lot cleaner
     
  3. Magnetite

    Magnetite Previously Matt8000

    I did yesterday, I just wanted to edit my post too.