
MCLocalAuth is a security plugin for Minecraft servers that uses Discord as an authentication system. Protect your server by limiting access to only members of your Discord community.
Minecraft Authentication Plugin with Integrated Discord Bot
MCLocalAuth is a security plugin for Minecraft servers that uses Discord as an authentication system. Protect your server by limiting access to only members of your Discord community.
Works on Spigot/Paper and BungeeCord — the Discord bot runs on both platforms with all features.
/mclogin <code> (on server or in DMs with the bot)| Command | Description | Access |
|---|---|---|
/mclogin <code> |
Authenticate with the code received in-game | Everyone |
/mctest |
Test bot ↔ plugin connection | Everyone |
/status |
Check your authentication status | Everyone |
/unlink <discord_id> |
Unlink an account | Admin |
/mcadmin showips <player> |
View authorized IPs | Admin |
/mcadmin addip <player> <ip> |
Add an authorized IP | Admin |
/mcadmin removeip <player> <ip> |
Remove an authorized IP | Admin |
/mcadmin resetip <player> |
Reset all IPs | Admin |
/mcadmin setip <player> <ip> |
Set primary IP | Admin |
Admin commands are restricted to the Discord ID set in
admin.discord_idinconfig.yml.
| Command | Spigot/Paper | BungeeCord |
|---|---|---|
/auth showips <player> |
✅ | ✅ |
/auth addip <player> <ip> |
✅ | ✅ |
/auth removeip <player> <ip> |
✅ | ✅ |
/auth resetip <player> |
✅ | ✅ |
/auth setip <player> <ip> |
✅ | ✅ |
MCLocalAuth-Spigot-v1.4.0.jarplugins/ folderplugins/MCLocalAuth/config.yml:discord:
enabled: true
bot_token: "YOUR_DISCORD_BOT_TOKEN"
guild_id: "YOUR_DISCORD_SERVER_ID"
admin:
discord_id: "YOUR_DISCORD_ID"
/mctest on DiscordMCLocalAuth-Bungee-v1.4.0.jarplugins/ folderconfig.yml (same options as Spigot)/mctest on Discordbot and applications.commandsAdministrator (or custom)guild_id in config.yml| Platform | Versions |
|---|---|
| Paper | 1.8.9 → 26.1.1 ✅ |
| Spigot | 1.8.9 → 1.21.x ✅ |
| Purpur | 1.8.9 → 1.21.x ✅ |
| Pufferfish | 1.8.9 → 1.21.x ✅ |
| BungeeCord | Build 2068 ✅ |
Java: 8+ (compiled with Java 8 for maximum compatibility)
Note: The plugin automatically detects your Minecraft version at startup.
If you encounter a problem:
Have an idea? Open an issue with the enhancement tag!
This project is under proprietary license. See the LICENSE file for more details.
TL;DR:
Developer: UNGEUR
Libraries used:
⭐ If this plugin is useful to you, don't hesitate to star it!
Made with ❤️ for the Minecraft community