Wesnoth MP username rules for phpBB 3.0.x

Wesnothd Usernames in the ACP (screenshot)

The Battle for Wesnoth forums have been working since quite a while as an authentication source for Multiplayer server users, who can register forum accounts to claim ownership of a username, making it unavailable in MP except to people who can provide the correct login credentials. phpBB 3.0.x, however, doesn’t help a lot in regards to user registration rules since it supports more stuff in usernames than what wesnothd (the Wesnoth MP server software) does.

To fill this gap, I wrote a quick hack long time ago, and enabled it in the forums, forbidding further registrations of incompatible usernames. Nowadays, all new accounts must comply with some simple rules which my mod implements.

Only this night I bothered to actually MODX-ify the hack, which had been previously circulating in the form of a Git commit in my source tree. Now I present to you the Wesnothd Usernames mod for phpBB 3.0.7-pl1.

  • Version 1.0.0 (Zip, 33.4 KiB)
    SHA1 checksum: 1229f401eeac171887cfee8c0ccecd9aaa19dd4a

This might be useful only to very few people since the whole phpBB authentication support code is barely documented — but if you find a use for this mod in your phpBB+wesnothd installation, please feel free to drop me a comment so I can know your experience and fix any bugs that you may find. Of course, it’s unlikely that there are any bugs here since this modifications has been part of the official Wesnoth.org forums for more than a year. 😉