Uploaded image for project: 'Mojang Web Services'
  1. Mojang Web Services
  2. WEB-8

Some users have multiple UUID records for agent:minecraft

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • None

      Several users have multiple UUIDs, documented here is one user "jumbokiller2001".

      {"name":"jumbokiller2001","agent":"minecraft"}
      
      {"id":"e01c28e44f2443389440e07974a47393","name":"JUMBOKILLER2001"}
      {"id":"6d0409ceb40c4580b2075e19d6a12003","name":"JUMBOKILLER2001"}
      {"id":"a8e27c733217448ab7166ae32f00799c","name":"JUMBOKILLER2001"}
      {"id":"a5d19e7fb70f4a7ab9bfaf02eda2562a","name":"JUMBOKILLER2001"}
      {"id":"311a4cacf4584766aa89212a55d9ea3d","name":"JUMBOKILLER2001"}
      

      Code used:
      A very simple wrapper created from https://github.com/Mojang/AccountsClient

      String name = "jumbokiller2001";
      Profile[] profiles = profileRepository.findProfilesByCriteria(new ProfileCriteria(name, "minecraft"));
              if (profiles.length == 1) {
                  return profiles[0].getId();
              } else {
                  for(Profile profile : profiles) {
                      System.err.println(gson.toJson(profile));
                  }
                  return "Couldn't get the UUID! :(";
              }
      

            KrisJelbring [Mojang] Kristoffer Jelbring (Inactive)
            codename_B Ben Smith
            Votes:
            56 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: