How to get a Bukkit Player UUID from a Bungeecord ProxiedPlayer?

Discussion in 'Plugin Development' started by BubLblckZ, Jul 8, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    BubLblckZ

    I'm working on a plugin for a Bungeecord network and I've come across a problem when trying to get a player's UUID. I'm working on one plugin for Bungeecord and one for Spigot. When I use getUniqueId() on an org.bukkit.entity.Player (Bukkit) I get a different UUID than when I use getUniqueId() on the same player but a net.md_5.bungee.api.connection.ProxiedPlayer (Bungeecord).

    When I check the player's UUID on mcuuid.net it shows the UUID I got from ProxiedPlayer (Bungeecord), but I can't figure out a way to get the Bukkit UUID from a ProxiedPlayer (Bungeecord), can anyone help me?
     
  2. Offline

    timtower Moderator Moderator

    Locked
    Bungeecord requires offline mode.
    Offline mode is not supported by Bukkit.
     
Thread Status:
Not open for further replies.

Share This Page