Solved Three different UUID:s?

Discussion in 'Plugin Development' started by marwzoor, May 15, 2014.

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

    marwzoor

    Hey folks!

    I just wanted to ask you some questions about the UUID system.

    So, since you can update to 1.7.9 I no longer see a need for the UUIDFetcher provided in the resources section. But when I started to change the methods in my plugin to Bukkit's instead of the UUIDFetcher I started getting weird UUID:s.

    Okey, so here are my UUID:s for the different methods used:

    UUIDFetcher (Retrieves the UUID directly from Mojang's servers)
    a24c820b-ddbe-48e9-bc12-72ad8fcd50a6

    OfflinePlayer#getUniqueId()
    77c76076-79a0-3ebf-94a5-da4d547fe24f

    Player#getUniqueId()
    4ebdbde0-5aa8-3bfb-80fe-9802c67b7db0

    As you can see, there are 3 different UUID:s, for one player.

    Any answers are appreciated!

    Thanks,
    Marwzoor
     
  2. Offline

    L33m4n123

    Running in offline mode? Using bungee?
     
    marwzoor likes this.
  3. Offline

    marwzoor

    Nope, and nope.

    EDIT: This was on my testserver and I have for some reason turned off online mode. My bad. This is probably the problem.

    Yepp, turned on online mode and it worked perfectly! Thanks :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
Thread Status:
Not open for further replies.

Share This Page