This is a XenForo add-on!
Can also be found here.
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 XenForo database. When a user changes their username on Minecraft, their old UUID will be assigned to their username. When they change their username on your XenForo site, it looks up their old username's UUID and compares it with the one their new username has. If they are the same then the change goes ahead. All UUIDs are fetched off Mojang's website with the API they provide.
To install just upload the contents of the upload folder to your site and install the addon-mcUUID.xml file. After installation, go to your ACP -> Tools -> Regenerate UUIDs and run the tool. This fetches all of the UUIDs for your users and stores them in the database.
I'm releasing this as a free add-on as it really didn't take too long to make. However, donations are extremely appreciated and probably the best way you can show support!
FAQ:
Q: Where are the UUIDs stored?
A: In a column in the xf_user table called uuid. The type is CHAR(32).
![]()
![]()

XenForo Minecraft UUID/Name Change Handler 0.1.0
Handles username changes for Minecraft-oriented websites.
Recent Updates
- Update on Spigot too Oct 12, 2014
- Changed the uuid column to not null Jul 5, 2014
- Upload to SpigotMC as well as XenForo May 5, 2014