WPAuth: Auto-Sync Minecraft Players with WordPress Site

WPAuth plugin for Minecraft automatically verifies user registration on your WordPress site and grants in-game ranks instantly without manual work.

Download WPAuth

Original name: WPAuth

FileVersionLoaderSize
WPAuth.jar6 КБDownload

WPAuth: Sync Minecraft Server Access with WordPress Users

Managing player access on a public server often becomes a bottleneck when administrative teams rely on manual whitelisting or disjointed permission systems. WPAuth: Sync Minecraft Server Access with WordPress Users offers a streamlined solution by bridging the gap between your website's user database and the game server itself. This tool eliminates the need for third-party API bridges or complex OAuth tokens, opting instead for a direct, efficient MySQL connection that ensures stability across various server environments.

Core Functionality and Database Integration

The primary operation of this plugin revolves around real-time verification and automatic role assignment. When a participant joins the server, the system queries your WordPress MySQL database directly using credentials defined in the configuration file. It searches specific tables, typically wp_users, to match the in-game nickname against stored user data. Upon finding a valid record, the plugin instantly executes predefined console commands. This could involve assigning a specific rank via LuckPerms, adding the player to the whitelist, or broadcasting a welcome message. If no match is found, the system denies entry or prompts the user to register on your web portal.

This read-only approach ensures maximum security. The plugin does not store passwords or modify your website's core structure; it merely retrieves necessary strings to validate identity. This makes it an ideal choice for role-play communities, building servers, and networks where forum registration is a prerequisite for gameplay.

Installation and Configuration Guide

Deploying this solution is straightforward for server administrators. The process begins when you download WPAuth: Sync Minecraft Server Access with WordPress Users and place the resulting JAR file into your server's plugins directory. After restarting the server, a config.yml file is generated. This file is the control center for all operations.

Navigate to the database section within the config to input your MySQL details. You must specify the host (often localhost if the site and server share hardware), port, database name, username, and password. Crucially, you can define which column to check against the player's name, such as user_login or user_email. Following this, list the commands you wish to trigger upon successful authentication. The syntax supports placeholders like {player}, allowing for dynamic execution such as:

  • lp user {player} parent set builder
  • whitelist add {player}
  • broadcast &6{player} has verified their account!

Custom messages for failed attempts can also be styled with color codes to guide users effectively toward your registration page.

Compatibility and Performance

Administrators looking for WPAuth: Sync Minecraft Server Access with WordPress Users for Minecraft will find it compatible with a wide range of modern server versions. It functions seamlessly on Spigot, Paper, and Purpur builds ranging from version 1.16 through the latest 1.20+ releases. Because the plugin relies on standard JDBC connections rather than version-specific game mechanics, it remains stable even during major game updates. Resource consumption is minimal, making it suitable for hosting environments with limited RAM.

Troubleshooting Common Issues

If players are not receiving ranks despite having website accounts, the issue usually lies in the database configuration. First, verify that your MySQL user has permission to connect from the server's IP address, especially if the database and game server are on different machines. Second, double-check the column names in your config file against your actual database schema using a tool like phpMyAdmin. A mismatch between user_login and user_nicename will cause validation to fail silently. Ensuring these parameters align correctly resolves most connectivity errors.

Conclusion

For server owners seeking to unify their web community with their gaming environment, learning how to install and configure this plugin is a high-value investment. It removes the friction of manual moderation and creates a seamless onboarding experience for new players. By leveraging direct database checks, WPAuth: Sync Minecraft Server Access with WordPress Users provides a robust, secure, and scalable method for managing access control, allowing administrators to focus on content creation rather than user management tasks.