[MOMW] MuOnline Meets WordPress

Started by Exhurtum, Today at 12:17 AM

MuOnline Meets Wordpress (MOMW)
Plugin + Elementor Theme for Private Servers
Released as Open Source (GPL-2.0)

Hello everyone, this is my first topic here.

I am releasing MOMW, a project that connects WordPress with MSSQL Server to power any Mu Online private server website.
I will no longer continue its development, so I am releasing it as 100% open source under GPL-2.0-or-later for the community to take over.
There is no PRO version and no license system.

Original author: Exhurtum
License: GPL-2.0-or-later (see LICENSE file)
Full status report: see ESTADO_DEL_PROYECTO.md included in the package

-------------------------
CURRENT STATUS
-------------------------
The project is ~90% functional and ready for production use. The playable core works correctly.
What remains is security hardening and parametrization to reach WordPress.org standards.

It includes two parts:
- mu-online-meets-wordpress (plugin): logic, DB connection, shortcodes, WooCommerce
- momw-theme (child theme of Hello Elementor): design, 13 Elementor widgets, downloads CPT, header/footer builder

No Composer or npm required. Tested with X-Team and IGCN (extensible to other emulators via compatibility/).

Requirements:
WordPress 5.8+
PHP 7.4+ (8.1 recommended)
pdo_sqlsrv extension (Windows) or pdo_dblib + FreeTDS (Linux)
GD
MSSQL 2008+ with port 1433 open
Hello Elementor + Elementor.

WooCommerce and Cloudflare Turnstile are optional.

-------------------------
ACTIVE FEATURES
-------------------------
Plugin:
- Dual-driver MSSQL connection (sqlsrv / dblib) with Test Connection button in admin
- table()/column() abstraction with per-emulator mapping (x-team.php / igcn.php)
- Hybrid auth with HMAC SHA256 cookie (HttpOnly, Secure, SameSite=Lax, 30 min) + PHP session fallback
- Registration [mu_register] and Login [mu_login] with nonce and optional Cloudflare Turnstile support
- Rankings [mu_ranking type="level|reset|killers|guilds|siege" limit="10"] with Guild JOIN and logo
- Server info [mu_server_info] (version, exp, drop + real-time counts for accounts/characters/online via MEMB_STAT)
- User CP [mu_user_cp]: character list, Web Reset (configurable formula), Add Stats and Unstick to Lorencia
- WooCommerce WebShop: per product you set currency (WcoinC/WcoinP/GoblinPoint) and amount; admin credits manually from the order with the Perform recharge in MU button
- Admin panel with 4 sections: DB Connection, Server Info, Reset Config and WebShop

Theme:
- 13 Elementor widgets (MOMW category): News, Top/Ranking, Server Info, Login/Panel, Register, Modal Button, Image Button, Circular Online Counter, Castle Siege (with guild logo rendered via GD to base64 GIF), Navbar, Slides, Rankings Explorer with race filter and AJAX, and Downloads
- CPT momw_descarga (client/patch/tools) with metabox
- Header/footer builder using Elementor templates (boxed/full, desktop and mobile separate)
- Customizer for background color/image and 5 Google fonts
- Dark fantasy styling with gold (#c5a059) ready for Mu Online

-------------------------
GETTING STARTED - STEP BY STEP
-------------------------
1. Upload mu-online-meets-wordpress to your WordPress site and activate it.
2. Upload momw-theme to your themes and activate it (requires Hello Elementor installed and active).
3. Go to MOMW > DB Connection and fill host, port (1433), DB name, user, password, driver (sqlsrv on Windows, dblib on Linux) and emulator (x-team or igcn). Use Test Connection.
4. Configure in the same menu: Reset (required level, max resets, points), Server Info (version, exp, drop) and WebShop (credits table/column mapping).
5. In case you want to change the background image, go to Appearance > Customize > MOMW Theme Settings: choose background color/image and assign your Elementor templates for header and footer.
6. In Appearance > MOMW Typography configure the 5 fonts if needed.
7. Create your pages: you can use shortcodes ([mu_ranking], [mu_server_info], [mu_register], [mu_login], [mu_user_cp]) or the MOMW widgets directly in Elementor.
8. For the shop: create products in WooCommerce > on each product you will see the MOMW WebShop section to choose currency and amount. Orders are credited manually in WooCommerce > Orders > Perform recharge in MU button.

Notes:
- On Linux install FreeTDS + php-pdo-dblib. On Windows install ODBC Driver 17/18 + php_sqlsrv / php_pdo_sqlsrv.
- The MSSQL user needs SELECT/INSERT/UPDATE on MEMB_INFO, Character, MEMB_STAT, Guild, GuildMember, MuCastle_DATA and the credits table.
- If your emulator uses different column names, just duplicate compatibility/x-team.php and adjust the mapping.

-------------------------
CONTRIBUTING
-------------------------
If you take this work and release a new version of it, please keep my name in credits.

Thanks for keeping it alive.

- Exhurtum

-------------------------
DOWNLOAD
-------------------------
Protected content
  • Click the orange - Unlock Content - button on the bottom-right of this post to reveal the hidden links.

Protected content
  • Click the orange - Unlock Content - button on the bottom-right of this post to reveal the hidden links.
  •  

I forgot to share some pics:




  •