AxDiscordLink
ACCOUNT LINKING & TWO-FACTOR AUTHENTICATION
MINECRAFT ↔ DISCORD · VERSION 1.0.1 · JAVA 21+
Connect Your Minecraft Server With Discord
AxDiscordLink is an all-in-one Minecraft and Discord integration plugin that combines account linking, two-factor authentication, role synchronization, nickname synchronization, webhook events and player rewards.
It runs using your own Discord bot, giving server owners control over the integration and its settings instead of relying on an external linking bot.
Plugin Overview
Plugin: AxDiscordLink
Version: 1.0.1
Developer: Artillex Studios
Minecraft versions: 1.20.2–26.3
Required Java: Java 21 or higher
Supported software: Spigot, Paper, Folia, Velocity, BungeeCord and Purpur
Category: Discord Integration / Account Security
Main Features
Account Linking
Connect Minecraft player accounts with their Discord accounts through a linking process.
Two-Factor Authentication
Players can receive Discord confirmation requests when a login is detected.
Role Synchronization
Synchronize configured Minecraft groups and Discord roles in either direction with LuckPerms.
Nickname Synchronization
Automatically update a linked Discord member's nickname to their Minecraft name when enabled.
Webhook Events
Send customizable Discord webhook messages when configured server events happen.
Discord Commands
Check Discord profiles, linked Minecraft accounts and account-link information.
Admin Utilities
Administrators can manually link, unlink or disable a player's 2FA.
Discord Embed Builder
Customize plugin messages using Discord embed formatting options.
Player Rewards
Run commands or give items when players link, unlink or boost the Discord server.
Customizable Bot
Customize the bot's online status and displayed activity.
Minecraft & Discord Account Linking
Players can connect their Minecraft account with their Discord profile using the plugin's linking commands.
Start Linking
The player starts the account-linking process in Minecraft using the /link command.
Receive a Linking Code
AxDiscordLink generates a linking code with a configurable expiry time.
Confirm on Discord
The player uses the Discord linking command to confirm the connection.
Accounts Linked
The Minecraft and Discord accounts are connected, allowing configured synchronization and other features.
The default linking-code expiry time is 5 minutes and can be changed in the configuration.
Discord-Based Two-Factor Authentication
AxDiscordLink includes a built-in 2FA feature. Once enabled, players receive a Discord confirmation request when a login is detected. They can confirm whether the login was theirs or deny the request.
2FA Highlights
- Players can enable or disable 2FA using /2fa.
- Login confirmation requests are delivered through Discord direct messages.
- Players can confirm or reject a detected login.
- Administrators can disable 2FA for a player when necessary.
- Discord direct messages must be available to use the confirmation system.
Discord Role & Minecraft Rank Sync
Connect configured Minecraft permission groups with Discord roles. AxDiscordLink can synchronize roles from Minecraft to Discord and, when enabled, from Discord to Minecraft.
Synchronization Options
- Minecraft rank to Discord role synchronization.
- Discord role to Minecraft rank synchronization.
- Optional nickname synchronization.
- Update linked users when they join or leave.
- Update when Minecraft ranks or Discord roles change.
- Configure whether only the highest-priority role is synced.
- Set the automatic synchronization interval.
LuckPerms is required for role synchronization. You can still use account linking and other features without enabling role sync.
Custom Discord Webhook Events
The webhook system lets administrators send customized Discord messages when configured Minecraft events occur. The plugin includes a webhook configuration system with customizable embeds and event placeholders.
Custom Discord Embed Builder
Customize the Discord messages sent by AxDiscordLink. The embed builder supports Discord formatting features, allowing server owners to adjust titles, descriptions, colors, images, fields, footers and other message elements.
Automatic Player Rewards
Reward players for interacting with your Discord community. You can configure commands and items to be given for different account and server-boost events.
Supported Reward Events
- First Link: Reward a player the first time they link an account.
- Link: Reward players each time they link their account.
- Unlink: Configure rewards or commands for unlink events.
- Server Boost: Reward players when they boost your Discord server.
Rewards are disabled by default. Enable them in rewards.yml and customize the commands, messages and items. Item rewards are available on Bukkit-based servers.
Self-Hosted & Customizable Discord Bot
AxDiscordLink uses your own Discord application and bot. The bot runs through the plugin, allowing you to configure its displayed activity and online status.
Online status: Online, Idle, Do Not Disturb, Invisible and Offline.
Activity types: Playing, Streaming, Listening, Watching, Competing and Custom Status.
Database: H2 by default, with MySQL configuration available.
Minecraft Commands
| Command | Description |
|---|---|
| /link [code] | Start or complete account linking. |
| /unlink | Remove your Discord account link. |
| /2fa | Toggle two-factor authentication. |
| /axdiscordlink reload | Reload the plugin. |
| /axdiscordlink profile [player] | View a player's link details. |
| /axdiscordlink 2fa <player> | Force-disable a player's 2FA. |
| /axdiscordlink link <player> <discord id or name> | Manually link a player. |
| /axdiscordlink unlink <player> | Manually unlink a player. |
Discord Commands
| Command | Description |
|---|---|
| /profile [member] | Display a Discord member's profile details. |
| /userinfo <player> | View a Minecraft player's Discord-link details. |
| /link [code] | Create or confirm an account link. |
| /unlink | Remove the account link. |
| /2fa | Toggle two-factor authentication. |
Permissions
| Permission | Purpose | Default |
|---|---|---|
| axdiscordlink.link | Account linking. | True |
| axdiscordlink.unlink | Account unlinking. | True |
| axdiscordlink.2fa | Toggle 2FA. | True |
| axdiscordlink.admin | Administrativ |
