
Link
LINK is a fast, secure, and lightweight plugin that allows players to link their Minecraft accounts
72 загрузок0 подписчиковMITfoliapaperpurpurspigotvelocity
Обновлён 21 апреля 2026 г. · опубликован 20 апреля 2026 г.
✔ 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
/linkin 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.ymlwith your bot token, guild ID and role ID - Configure
database.ymlif you want a remote database (H2 works out of the box) - Type
/setupin any Discord channel - Done
Configuration
database.yml
# Link - Database Configuration
#
# Driver: sqlite | h2 | mysql | mariadb | postgresql (default: h2)
driver: h2
# 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"
# Remote connection settings (ignored for SQLite and H2)
host: "localhost"
port: 3306
name: "link"
username: "user"
password: "password"
pool:
maximum-pool-size: 10
minimum-idle: 2
connection-timeout: 10000
idle-timeout: 600000
max-lifetime: 1800000
keepalive-time: 60000
discord.yml
# Link - Discord Bot Configuration
# 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
config.yml — Velocity
# Seconds a player must wait before re-linking after unlinking
cooldown: 3600
# Log level overrides (OFF, ERROR, WARN, INFO, DEBUG, TRACE)
logging:
hikari: WARN
jda: WARN
# 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!"
config.yml — Spigot / Folia (standalone)
# mode: velocity-bridge | standalone
mode: standalone
cooldown: 3600
logging:
hikari: WARN
jda: WARN
link-commands:
- "say %player% has linked their account!"
unlink-commands:
- "say %player% has unlinked their account!"
Commands
| Command | Description | Platform |
|---|---|---|
/link |
Generate a linking code | Velocity / Spigot / Folia |
/link reload |
Reload all config files live | Velocity / Spigot / Folia |
/unlink |
Unlink your account | Velocity / Spigot / Folia |
/setup |
Post the linking embed in a channel | Discord |
Developer API
- Access linked account data
- Listen to link events
- Extend functionality easily
Support
GitHub: HuskyDreaming/Link — Full documentation and source code.
Plugin is featured on (test here): play.wilden.fun
Simple • Fast • Reliable
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.0.4 | Релиз | 1.21.11, 26.1, 26.1.1, 26.1.2 | velocity | 21 апреля 2026 г. | .jar (93 КБ) |
| 1.0.4 | Релиз | 26.1, 26.1.1, 26.1.2 | paper, purpur, spigot | 21 апреля 2026 г. | .jar (98 КБ) |
| 1.0.4 | Релиз | 26.1, 26.1.1, 26.1.2 | folia | 21 апреля 2026 г. | .jar (98 КБ) |
| 1.0.3 | Релиз | 1.21.8, 1.21.9, 1.21.10, 1.21.11 | paper, purpur, spigot | 20 апреля 2026 г. | .jar (97 КБ) |
| 1.0.3 | Релиз | 1.21.11, 26.1, 26.1.1, 26.1.2 | velocity | 20 апреля 2026 г. | .jar (92 КБ) |
| 1.0.3 | Релиз | 1.21.8, 1.21.9, 1.21.10, 1.21.11 | folia | 20 апреля 2026 г. | .jar (97 КБ) |
Ченджлог
1.0.4Релиз26.1, 26.1.1, 26.1.2 · 21 апреля 2026 г.
1.0.4Релиз26.1, 26.1.1, 26.1.2 · 21 апреля 2026 г.
1.0.4Релиз26.1, 26.1.1, 26.1.2 · 21 апреля 2026 г.
1.0.3Релиз1.21.9, 1.21.10, 1.21.11 · 20 апреля 2026 г.
New Features
- Multi-database support — SQLite, H2, MySQL, MariaDB, and PostgreSQL are all supported. Configure the driver in database.yml.
- H2 as default database — Zero configuration needed. Just start the server and it works out of the box.
- Runtime library downloading — All external libraries are downloaded from Maven Central on first startup and cached in plugins/link/libraries/. Plugin JARs are now ~90 KB instead of ~30 MB.
- Configurable log levels — Control HikariCP and JDA log verbosity from config.yml under the logging section.
- Graceful startup without Discord token — If no token is configured, the plugin logs a clean error and continues starting the database instead of crashing.
Improvements
- Detailed config comments — discord.yml and database.yml now include helpful comments explaining every option, including how to obtain your Discord bot token, guild ID, and role ID.
- Cross-database SQL compatibility — All queries use bound parameters for full compatibility across every supported driver.
- File-based databases in plugin folder — SQLite and H2 databases are stored inside the plugin's data directory automatically.
- Cleaner console output — Noisy HikariCP and JDA log messages are suppressed by default. Configurable via config.yml.
- Smaller, faster JARs — Heavy dependencies are no longer bundled. They're downloaded once and cached locally.
Bug Fixes
- Fixed Velocity startup crash — Resolved NoClassDefFoundError caused by Guice scanning JDA classes before dependencies were loaded.
- Fixed driver registration — Database drivers now register correctly across all platforms.
- Fixed Jackson dependency version — Corrected a version mismatch that caused download failures on first startup.
- Fixed file-based database pool settings — Connection pool size is correctly limited for SQLite and H2.
Полная история изменений — на Modrinth.
Комментарии
Загружаем…