• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Minecraft UUID/Name Change Handler 0.1.0

No permission to download
Handles username changes for Minecraft-oriented websites.
#1
KoolKrafter submitted a new resource:

Minecraft UUID/Name Change Handler - Handles username changes for Minecraft-oriented websites.

As Mojang are planning to introduce a new feature into Minecraft that allows you to change your username, I thought I'd make this addon. It enables users to change their username on your XenForo website after they have changed their Minecraft username.

Before the release of the Minecraft username changing feature Mojang have released a UUID system. Each user has a unique ID and this persists across username changes.

My add-on simply fetches the UUIDs for all users and stores them in the...
Read more about this resource...
 
#5
I believe I recall @GunfighterJ saying that the issue with this was something about the way this add-on queries Mojang's API?
Looks like I was querying it an old way. Since there is next to no documentation for UUIDs, I didn't find an alternative. I'll just make that change.

EDIT: Yep just tested the new API and it works.
 
Last edited:

jflory7

Active member
#6
Looks like I was querying it an old way. Since there is next to no documentation for UUIDs, I didn't find an alternative. I'll just make that change.

EDIT: Yep just tested the new API and it works.
Could you release a patch for this, please? :) Love to start using it on my site ASAP!
 

jflory7

Active member
#9
I didn't seem to have any issues when generating UUIDs for the first time. I'm unsure of how to test for the new feature you added, unless it was something that would've bugged out while creating the UUIDs.

I wasn't able to check if my server could use the UUID information provided by the site yet. I'm still waiting on CommunityBridge to support UUID lookup.
 
#10
I didn't seem to have any issues when generating UUIDs for the first time. I'm unsure of how to test for the new feature you added, unless it was something that would've bugged out while creating the UUIDs.

I wasn't able to check if my server could use the UUID information provided by the site yet. I'm still waiting on CommunityBridge to support UUID lookup.
Okay. If it works, great! I didn't add a new feature, just fixed the existing regenerate UUIDs. If you have db access run 'SELECT username, uuid FROM xf_user' and you should be able to see the generated uuids. :)
 

jflory7

Active member
#11
Okay. If it works, great! I didn't add a new feature, just fixed the existing regenerate UUIDs. If you have db access run 'SELECT username, uuid FROM xf_user' and you should be able to see the generated uuids. :)
I just tested it, and it seems like it's only at 50% functionality… only some of my users have UUIDs generated. A large majority of others don't.

Now, I have compensated for the fact that not everyone has registered with their Minecraft usernames, but I couldn't help but notice many of the users on my website who have paid accounts didn't have UUIDs. Also, it seemed to be a repeating pattern that anyone in any secondary groups didn't have their UUID (e.g. donors).

For example, take these users…
https://minecraft.net/haspaid.jsp?user=Slewfoot747
https://minecraft.net/haspaid.jsp?user=twootton
https://minecraft.net/haspaid.jsp?user=jflory7

All of them don't seem to have any UUID information in my database, even after regenerating a couple of times.
 
#12
I just tested it, and it seems like it's only at 50% functionality… only some of my users have UUIDs generated. A large majority of others don't.

Now, I have compensated for the fact that not everyone has registered with their Minecraft usernames, but I couldn't help but notice many of the users on my website who have paid accounts didn't have UUIDs. Also, it seemed to be a repeating pattern that anyone in any secondary groups didn't have their UUID (e.g. donors).

For example, take these users…
https://minecraft.net/haspaid.jsp?user=Slewfoot747
https://minecraft.net/haspaid.jsp?user=twootton
https://minecraft.net/haspaid.jsp?user=jflory7

All of them don't seem to have any UUID information in my database, even after regenerating a couple of times.
Okay. I added a pagination feature, it obviously didn't work ;) I'll just fix it now.
 
#14
I just tested it, and it seems like it's only at 50% functionality… only some of my users have UUIDs generated. A large majority of others don't.

Now, I have compensated for the fact that not everyone has registered with their Minecraft usernames, but I couldn't help but notice many of the users on my website who have paid accounts didn't have UUIDs. Also, it seemed to be a repeating pattern that anyone in any secondary groups didn't have their UUID (e.g. donors).

For example, take these users…
https://minecraft.net/haspaid.jsp?user=Slewfoot747
https://minecraft.net/haspaid.jsp?user=twootton
https://minecraft.net/haspaid.jsp?user=jflory7

All of them don't seem to have any UUID information in my database, even after regenerating a couple of times.
Just updated it. Please test :)
 

jflory7

Active member
#18
Confirmed and working. :) Thank you!

EDIT: A couple of things I noticed or was wondering.

Is there a specific reason why this add-on hasn't been marked to officially support XF 1.3 yet?

Also, a small little bug, I don't think the name for this field was finished (see mcUUID_username). Might be best to change it to something like "Current Minecraft Username" or something similar.
 
Last edited:
#19
Confirmed and working. :) Thank you!

EDIT: A couple of things I noticed or was wondering.

Is there a specific reason why this add-on hasn't been marked to officially support XF 1.3 yet?

Also, a small little bug, I don't think the name for this field was finished (see mcUUID_username). Might be best to change it to something like "Current Minecraft Username" or something similar.
Yeah woops, missing phrase. Will fix :p
I will mark it 1.3 next release.