Jump to content

Recommended Posts

Posted

Hi everyone,

I've been working on a WordPress plugin that lets players create game accounts for a MaNGOS server straight from your website — no phpMyAdmin, no hand-written PHP, no exposing your database. It's free and licensed GPL-2.0, and since this is where it grew up I wanted to share it with the community first and get your feedback.

What it does

You drop a [wow_register] shortcode on any page and visitors get a clean registration form that writes the account straight into your realmd (auth) database using the MaNGOS password format, SHA1(UPPER(user):UPPER(pass)). Players choose their expansion at sign-up, and you configure everything from an admin panel — there's nothing to edit in code.

Supported cores

It targets the MaNGOS family and lets the player pick the version at registration, which sets the account's expansion:

  • Vanilla 1.12.1 — MaNGOS Zero (expansion 0)
  • The Burning Crusade 2.4.3 — MaNGOS One (expansion 1)
  • Wrath of the Lich King 3.3.5a — MaNGOS Two (expansion 2)
  • Cataclysm 4.3.4 — MaNGOS Three (expansion 3)
  • Mists of Pandaria 5.4.8 — MaNGOS Four (expansion 4)

It needs a core that stores sha_pass_hash, so it's for MaNGOS / CMaNGOS. TrinityCore and AzerothCore use SRP6 and are not supported.

Features

  • Guided setup wizard that opens on activation — it connects your database, auto-detects your account columns, runs a real test registration (inserts then deletes a throwaway account to prove the DB user can actually create accounts), and creates your sign-up page in one click.
  • Point-and-click table mapping — load your account table's real columns and pick each one from a drop-down instead of typing column names.
  • Optional email verification — the account is created only after the player clicks the link in their email; unverified sign-ups expire and are purged. Or run in instant mode.
  • Player self-service via a [wow_account] dashboard: change password, change email, and delete account (GDPR) — each one you can switch on or off.
  • Email-based password reset with anti-enumeration and rate limiting.
  • New-account notifications by email and/or a Discord webhook.
  • Layered anti-spam: honeypot, submission time-trap, per-IP rate limiting, an optional math captcha and Cloudflare Turnstile, plus blocked-username and disposable-email-domain lists.
  • Five languages built in — English, Spanish, German, Russian and Korean — with an optional visitor language chooser on the form.
  • Realm shortcodes: [wow_server_status] (online/offline badge) and [wow_account_count] (total accounts).
  • Admin niceties: connection test, schema auto-detect, status panel, settings export/import, activity log, pending sign-ups, and an importable Divi layout.
  • Database credentials can live in wp-config.php constants if you'd rather keep them out of the options table.

Shortcodes

 
[wow_register]          Registration form
[wow_account]           Logged-in player dashboard (password / email / delete)
[wow_change_password]   Self-service password change
[wow_forgot_password]   Email-based password reset
[wow_server_status]     Online / offline realm badge
[wow_account_count]     Total number of accounts

Requirements

  • WordPress 5.5 or newer — I've verified it on WordPress 7.0 "Armstrong"
  • PHP 7.4 or newer with mysqli (tested on PHP 8.3)
  • A MaNGOS / CMaNGOS realmd database reachable from WordPress (same private LAN recommended)
  • A least-privilege MySQL user with SELECT, INSERT and UPDATE on the account table

Install

  1. Upload the zip in Plugins → Add New → Upload Plugin, then activate.
  2. The setup wizard opens automatically — step through database, table mapping, versions, email, the test registration, and page creation.
  3. Prefer to do it by hand? Open "Mangos Registration" in the admin menu, fill in the Database and Game server cards, then add [wow_register] to a page.

A note on security

Keep WordPress and MySQL on the same private network, never expose port 3306 to the internet, and use a least-privilege DB user limited to the account table. The plugin doesn't phone home or bundle any tracking.

Download / feedback

Download: See attached.

It's GPL-2.0, so feel free to read the source, fork it, or suggest changes. I'd love feedback — bug reports, column layouts from cores I haven't tested, translation fixes, or feature ideas. If you run it on your realm, let me know how it goes.

Thanks, and happy hosting. — Dallas


This plugin is not affiliated with or endorsed by Blizzard Entertainment. World of Warcraft is a trademark of Blizzard Entertainment, Inc.

mangos-registration-v3.15.2.zip mangos-registration-features-and-setup.v1.1.0.pdf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use