lol768 / XenForo-MCASSOC

Minecraft association addon for XenForo
Other
20 stars 9 forks source link
minecraft-association php xenforo xenforo-addons

XenForo Minecraft Association Addon

XenForo resource. Info on Minecraft username changes.

Minecraft association for XenForo. Uses the awesome MCAssoc service by lukegb.

Features

New Verification System

Now setting up the addon is easier than ever!

The shared secret is a required setting when configuring the addon and a new, completely automated system has been introduced to allow for domains to be verified and shared secret keys to be generated on-demand. This replaces the old system which required add-on users to send an email to lukegb. Many thanks to lukegb for his help getting these changes deployed.

  1. Visit https://mcassoc.lukegb.com/
  2. Enter the domain (where the forums are served from) you wish to verify in the right-hand textbox

Screenshot

  1. Click the "Sign up" button
  2. Decide how you want to verify your domain. At present, you can either create a HTML file or add a TXT record to your domain.
  3. Follow the instructions and click the appropriate button to receive your shared secret.
  4. Paste the shared secret into the Minecraft association options in XenForo's admin control panel.
  5. Set the site ID to exactly what you typed into the textbox on the verification site.
  6. Set the instance secret to a secret hexadecimal password (generate one here)

Note: If you're using CloudFlare or enforcing SSL it is suggested you try the TXT record verification system first.

If you get stuck at any point and wish to have your domain manually verified, email mcassoc [at] lukegb [dot] com.

Screenshots

See this page for screenshots.

Installing

You'll need PHP 5.4 or later.

The install procedure should be the same as most other XenForo addons. Here's how it works:

Now the install is done and you should see the addon in your addons list. It's time to configure it:

Now the addon's link will be available in the profile dropdown. You can use this link to ensure everything is working. Try associating your account. You should then be able to see the avatar in all your posts and on your profile page.

Updating Usernames

Navigate into the library/Association folder and execute command php -f updateNames.php. For large installations, this may take a long time and it's recommended to run it within a separate window.