LINK Seamlessly connect Discord & Minecraft ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✔ Spigot Support ✔ Folia Support ✔ Velocity Support
Overview LINK is a fast, secure, and lightweight plugin that allows players to link their Minecraft account with Discord using simple verification codes. Built for performance. Designed for real servers.
External libraries are downloaded automatically on first startup and cached locally — keeping the plugin JAR under 90 KB.
Features
✅ Fast Linking — Generate & verify codes instantly
✅ Secure System — Safe and validated account linking
✅ Developer API — Clean and simple integration support
✅ Lightweight — ~90 KB plugin, libraries downloaded on demand
✅ Platform Support — Spigot, Folia & Velocity compatible
✅ Discord Role Sync — Automatically assign a role when linked
✅ Easy Setup — Up and running in minutes
✅ Multi-Database — H2 (default), SQLite, MySQL, MariaDB & PostgreSQL
✅ Configurable Logging — Control HikariCP and JDA log levels from config
✅ Live Reload — Reload configs without restarting with /link reload
How It Works
Run /link in Minecraft
Receive a unique code
Enter the code in Discord
Accounts linked instantly
Installation
Place the plugin in /plugins
Start the server (libraries will download automatically on first run)
Configure discord.yml with your bot token, guild ID and role ID
Configure database.yml if you want a remote database (H2 works out of the box)
# File-based database path — relative to the plugin's data folder.
# The subfolder is created automatically. Only used when driver is 'sqlite' or 'h2'.
file: "h2/link"
# Your Discord bot token. Get this from the Discord Developer Portal:
# https://discord.com/developers/applications → Bot → Reset Token
# Keep this secret — never share it or commit it to version control.
token: ""
# The ID of the Discord server (guild) the bot operates in.
# To get this: enable Developer Mode in Discord settings,
# then right-click your server name → Copy Server ID.
guild-id: 0
# The ID of the role to assign when a player links their account.
# Right-click the role in Server Settings → Roles → Copy Role ID.
# The bot's role must be positioned ABOVE this role in the role hierarchy.
role-id: 0
# Customise the embed posted by the /setup command in Discord.
embed:
title: "Account Linking"
description: "Link your account to get in-game rewards!"
color: "#97BA52"
button-label: "✅ Authenticate Account"
fields:
- name: "Linking Guide:"
value: " - Launch Minecraft\n - Join the server: `play.server.com`\n - Run `/link`\n - Enter your Auth Code in #link"
inline: false
- name: "Linking Rewards:"
value: " - 100 Gold\n - 10 Gems"
inline: false
Code (Text):
# Seconds a player must wait before re-linking after unlinking
cooldown: 3600
# Per-backend-server commands. %player% is replaced with the player's username.
servers:
survival:
link-commands:
- "say %player% has linked their account!"
unlink-commands:
- "say %player% has unlinked their account!"