Resource icon

Minecraft UUID/Name Change Handler 0.1.0

No permission to download

KoolKrafter

Member
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...
 
Hey @KoolKrafter,

I'm having issues using this add-on. I keep getting a 400 (Bad Request) error while regenerating UUIDs. Any idea what could be causing it? I have a paste of my error here.
 
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:
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!
 
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.
 
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. :)
 
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.
 
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.
 
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 :)
 
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.
0dba685469f6926d184b3ad926e4c4f6.png
 
Last edited:
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.
0dba685469f6926d184b3ad926e4c4f6.png
Yeah woops, missing phrase. Will fix :P
I will mark it 1.3 next release.
 
Top Bottom