Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
DiscordAuthMeBridge
DiscordAuthMeBridge is a lightweight Minecraft plugin that allows players to securely link their Minecraft accounts with Discord using AuthMe and a Discord bot.
⨠Features
- š Link Minecraft accounts with Discord
- š Requires the player to be authenticated through AuthMe
- š¤ Discord bot integration using JDA
- š Temporary link codes with configurable expiration time
- šļø SQLite database for storing account links
- š”ļø Prevents the same Discord account from linking multiple Minecraft accounts
- š”ļø Prevents the same Minecraft account from linking multiple Discord accounts
- šÆ Restricts Discord linking commands to a configured Guild and Channel
- ā” Lightweight and easy to configure
š How It Works
- Login to Minecraft
The player must first log in through AuthMe.
- Generate a link code
Run:
/link
The plugin generates a temporary code.
Example:
Discord Link
Your link code is:
X7K92P
In Discord, type:
/linkcheck X7K92P
- Confirm on Discord
In the configured Discord channel, use:
/linkcheck X7K92P
The bot verifies the code and creates the account link.
- Account linked
The Minecraft UUID and Discord ID are stored in the plugin's SQLite database.
š Commands
Minecraft
Command| Description "/link"| Generate a Discord linking code
Discord
Command| Description
"/linkcheck "| Confirm a Minecraft ā Discord link
š Security
DiscordAuth does not need or access the player's AuthMe password.
Authentication is checked through the AuthMe API:
authMeApi.isAuthenticated(player)
Link codes are temporary and expire after the configured amount of time.
Each Discord account and Minecraft account can only have one active link.
āļø Configuration
Token-Bot: "PUT_BOT_TOKEN_HERE"
Guild-ID: ""
Channel-ID: ""
Link-Code: Expires-In: "5m"
Configuration Options
Option| Description "Token-Bot"| Discord bot token "Guild-ID"| Discord server ID where linking is allowed "Channel-ID"| Discord channel where "/linkcheck" can be used "Link-Code.Expires-In"| Link code expiration time
š¦ Requirements
- Minecraft: 1.21+
- Server: Spigot/Paper
- Java: 21+
- AuthMe: Required
- Discord Bot: Required
šļø Storage
DiscordAuth uses SQLite and automatically creates:
plugins/DiscordAuth/links.db
No external database server is required.
š Installation
- Install AuthMe on your server.
- Put "DiscordAuth.jar" into your "plugins" folder.
- Start the server once.
- Configure "config.yml".
- Create/configure your Discord bot.
- Restart the server.
- Players can use "/link" to begin linking their accounts.
š¬ Support
If you encounter a problem, provide your server version, plugin version, console error, and configuration with your bot token removed.
DiscordAuth ā Simple, lightweight Minecraft ā Discord account linking.

