The behavior of Bukkit.getOfflinePlayer(String)

Discussion in 'Plugin Development' started by Tecno_Wizard, Nov 10, 2014.

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

    Tecno_Wizard

    Evening,
    I have a question based on the behavior of offline players in Bukkit.
    If I pass in the name, per say, Tecno_Wizard, while I am offline in Bukkit.getOfflinePlayer, will the returned UUID be my UUID, or just a randomly generated one?
    Thanks in advance
     
  2. Offline

    mazentheamazin

  3. Offline

    Tecno_Wizard

    mazentheamazin, okay, so if I had ever logged into the server before, it will return the true player UUID? Just making sure I have this right, don't want broken plugins.
     
  4. Offline

    mazentheamazin

    If you logged in when the server was in online mode, it will be the true player UUID.
     
  5. Offline

    Tecno_Wizard

Thread Status:
Not open for further replies.

Share This Page