COWMODSКаталог модов

DiscordID | Whitelist & 2FA

Effortless, Discord-powered whitelisting and session security for Minecraft.

Автор: Frozdbyte6155обновлён 14 окт. 2026 г.
УправлениеТехнологииУтилиты

Описание

DiscordID

Put your whitelist on autopilot. DiscordID seamlessly connects Discord accounts to Minecraft Java & Bedrock profiles, allowing your community members to verify and join on their own. Zero wait times or admin overhead.

Powered by an optimized asynchronous architecture, join checks typically take less than 20ms, keeping connections instant and lag-free. Managing your server is just as fast, featuring an in-game interactive setup and intuitive GUI menus right at your fingertips.

Features Link in Seconds

  • Guild Verification: Only allow players who are members of a specific Discord server to join.
  • Online Roles: Assign an online role to players while they are connected to the Minecraft server.
  • Seamless Linking: Players can connect to the server, enter the /link command on Discord, and be allowed in without having to reconnect.
  • Interactive Setup: Easily set up the bot and link your Discord server right from in-game using /discord setup.
  • In-Game Menus: View linked players and manage your integrations using elegant in-game GUIs.
  • Secure Sessions (Optional): Require players to verify login attempts from unknown IP addresses via Discord DM. This effectively prevents impersonation on cracked servers.
  • Update Notifications: Notifies you when a new version of DiscordID is available on Modrinth.
  • Automatic Migration: DiscordID automatically migrates your old links and configuration to the new format and creates a backup so you can easily roll back if needed.
  • Floodgate Support: Experimental compatibility with Floodgate (Geyser) for Bedrock players.

How it Works

When an unlinked player attempts to join the Minecraft server, their connection is blocked and they are shown a screen with a 4-character verification code. The player must then go to your Discord server and run the /link <code> command.

Once executed, their Minecraft profile is linked to their Discord account, and they are immediately allowed onto the server without needing to reconnect.


Installation

⚙️ Discord Bot Setup

You need to create a dedicated Discord application for DiscordID to function.

  1. Go to the Discord Developer Portal and click New Application.
  2. Navigate to the Bot tab in the left sidebar.
  3. CRITICAL: Scroll down to Privileged Gateway Intents and enable the Server Members Intent. If this is off, DiscordID cannot check if users are in your server or assign roles.
  4. Click Reset Token to get your bot token. Copy this and paste it into the discordToken field in your config.yml.
  5. Navigate to OAuth2 -> URL Generator.
  6. Under Scopes, select bot.
  7. Under Bot Permissions, select Manage Roles (this is strictly required if you want the bot to assign online roles or require specific roles to join).
  8. Copy the generated URL at the bottom, paste it into your browser, and authorize the bot to join your server.
  9. Get your server's ID by right-clicking your server icon (requires Developer Mode enabled in Discord) and selecting "Copy Server ID". Paste this into guildID in your config.
  10. Role Hierarchy: If you use the online role feature, open your Discord Server Settings -> Roles, and drag your Bot's role above the online role you want it to assign.

Usage

Commands & Permissions

Discord Commands

  • /link <code> -> Links your Discord account to a Minecraft profile using the verification code.
  • /link -> Displays the connected Minecraft profile(s) for the server.
  • /unlink -> Unlinks your profile. If multiple profiles are linked, a dropdown will appear.
  • /unlink <profile> -> Unlinks a specific profile by its name or UUID.

Minecraft Commands (Player)

  • /discord -> Shows information about your current link.
  • /discord unlink -> Unlinks the current profile from its Discord account. (Default Permission: did.unlink)

Minecraft Commands (Admin)

  • /discord list -> Shows all links on this server. (Permission: did.manage)
  • /discord unlink <profile> -> Unlinks a specific profile. (Permission: did.manage.unlink)
  • /discord link <profile> <account> -> Link a specific profile by name/UUID to a specific Discord account by name/ID. (Permission: did.manage.link)
  • /discord setup -> Interactive setup menu for configuring the Discord bot and guild. (Permission: did.manage.setup)
  • /discord rules -> Shows which join rules are currently active. (Permission: did.manage.rules)
  • /discord cleanup -> Cleans up stale links. (Permission: did.manage.cleanup)
  • /discord reload -> Reloads the config and restarts the bot. (Permission: did.manage.reload)
  • /discord bypass -> Shows information about bypassed players. (Permission: did.manage.bypass)
  • /discord bypass <on/off> -> Enabled or disabled bypass. (Permission: did.manage.bypass.toggle)
  • /discord bypass add <player> -> Adds a player to the bypass list. (Permission: did.manage.bypass.add)
  • /discord bypass remove <player> -> Removes a player from the bypass list. (Permission: did.manage.bypass.remove)

Configuration

Authentication

  • discordToken: Your Discord bot token from the Developer Portal.
  • guildID: The ID of your Discord server.

Join Rules

  • requireLinked: Enforces the plugin. Only profiles linked to a Discord account are allowed to join.
  • requireMember: Only members of the configured guildID are allowed to join.
  • alwaysAllowWhitelisted: Players on the server's vanilla whitelist bypass ALL DiscordID requirements - linking, guild membership, and role checks included. Only enable this if you understand that whitelisted players skip Discord verification entirely.
  • alwaysAllowOperators: Server Operators bypass all DiscordID requirements.
  • showLinkedMsg: Shows a message to the player upon joining detailing which Discord account they are linked to.
  • allowMultiLink: Allows one Discord account to link to multiple Minecraft profiles.
  • allowJavaBedrockLink: Allows one Discord account to link to exactly one Java and one Bedrock profile.
  • allowMultiSession: Allows multiple profiles linked to the same Discord account to be online simultaneously.
  • enforceSessionAuthorization: Players joining from a new IP address must authorize the session via Discord DM.
  • sessionDuration: Time in minutes before a player has to re-authenticate an IP session.

Discord

  • assignOnlineRole: Enables assigning a Discord role to players while they are online.
  • onlineRoleId: The Discord Role ID to assign. Your Bot's role must be above this role on Discord.
  • requireDiscordRole: Requires users to have a specific Discord role to join the Minecraft server. (Set to 0 to disable).

Bypass

  • allowBypass: Enables the bypass list.

Credits

  • Fruxz for writing many of the core libraries DiscordID runs on.
  • MCHeads for providing the Minecraft avatars used in Discord interactions.

Галерея

Linking NoticeBanner

Последние версии

Все версии →
release

DiscordID 2.1.2

2.1.2
14 окт. 2026 г.52Minecraft: 26.2, 26.3paper
Скачать
Что нового
## ⚙️ What's new in 2.1.2? DiscordID version 2.1.2 is a hotfix for a critical bug that could cause DiscordID to re-initialize incorrectly. ### Changelog - Fixed an issue related to plugin activation and reflection scanning that could cause the plugin to loose it's activated state and cease to function - Added additional safeguards to prevent unauthorized joining when DiscordID encounters an error
release

DiscordID 2.1.1

2.1.1
29 сент. 2026 г.35Minecraft: 26.2, 26.3paper
Скачать
Что нового
## ⚙️ What's new in DiscordID 2.1.1 Version 2.1.1 is a minor release addressing issues related to Player resolution and bypassing. ### 🐛 Fixes & Improvements - **Reworked Bypass system**: Bypassed players are now stored in a seperate file containing more information to ensure players can be properly identified. - Removed `allowedPlayers` config key - Added automatic migration from `allowedPlayers` to `bypass.json` - **Fixed Unknown Player resolution**: Switched resolution of unknown Players from Kojang (api.ashcon.app) to an internal system that accesses the Mojang API directly. - **Automatic Metadata refresh**: Metadata about players is now updated regularly to avoid "Unknown" Player entries. - Fixed a bug in the version resolver utility
release

DiscordID 2.1

2.1
17 сент. 2026 г.15Minecraft: 26.2, 26.3paper
Скачать
Что нового
## What's new in v2.1 ### ✨ New Features * **Interactive In-Game Setup (`/discord setup`)**: Setting up DiscordID has never been easier. Server operators can now use the `/discord setup` command in-game to authenticate their bot token and select a Discord server via an interactive chat menu, complete with setup prompts and helpful links. * **Modrinth Update Notifications**: DiscordID now natively checks Modrinth for new plugin releases. If an update is available, server operators will be notified directly in the server console and upon joining the game. * **In-Game GUI for Linked Players (`/discord list`)**: When executed by a player, the `/discord list` command now opens a clean, paginated in-game GUI inventory to view all linked profiles seamlessly instead of printing a list to the chat. * **Stale Link Cleanup (`/discord cleanup`)**: Added a new utility command (requiring the `did.manage.cleanup` permission) to quickly sweep up and clean out stale links from your plugin database. ### 🐛 Fixes & Improvements * **Name Synchronization Fix**: Ensured that player names and Discord account names are properly updated and synchronized across the internal link data.
release

DiscordID 2.0

2.0
16 сент. 2026 г.4Minecraft: 26.2paper
Скачать
Что нового
# DiscordID version 2.0 Version 2.0 was rewritten from scratch to be more secure, feature rich and, most importantly, incredibly performent 🚀 ## 🚀 Faster than ever Thanks to improved asynchronous processing, DiscordID now processes login events up to 3,000x faster than before, reducing wait times by over 99%. ## ✨ Revamped linking experience DiscordID 2.0 no longer requires players to reconnect after linking. Players can connect to the server, enter the /link command on Discord and be allowed onto the server without having to re-join the server. Along with this, Discord widgets were improved with prettier styling and dynamic graphics for a premium experience. ## 📋 Improved Admin experience A set of new management commands allows admins to get a structured overview of which players are linked and what rules apply. ## 🔒 Enhanced Security Together with the performance increase, we also added "Sessions" to secure cracked servers. When enabled, DiscordID requires all players to verify login attempts from unknown IP-Addresses through Discord. This effectively prevents impersonation on cracked servers. > Session enforcement is completely optional and disabled by default. ## 📂 Automatic migration DiscordID automatically migrates your links and config to the new format and creates a backup of your old data so you can roll back to a previous version easily and without data loss.
beta

DiscordID 2.0 Beta 4.1 for Minecraft 26.2

2.0-b.4.1+26.2
9 июл. 2026 г.43Minecraft: 26.2paper
Скачать
Что нового
DiscordID 2.0 Beta 4.1 includes minor polishing updates to commands and permissions.
beta

DiscordID 2.0 Beta 4.1 for Minecraft 26.1.2

2.0-b.4.1+26.1.2
9 июл. 2026 г.17Minecraft: 26.1.2paper
Скачать
Что нового
DiscordID 2.0 Beta 4.1 includes minor polishing updates to commands and permissions.
beta

DiscordID 2.0 Beta 4 for Minecraft 26.2

2.0-b.4+26.2
8 июл. 2026 г.15Minecraft: 26.2paper
Скачать
beta

DiscordID 2.0 Beta 4 for Minecraft 26.1.2

2.0-b.4+26.1.2
8 июл. 2026 г.7Minecraft: 26.1.2paper
Скачать
beta

DiscordID 2.0 Beta 4

2.0-b.4
7 июл. 2026 г.14Minecraft: 26.2paper
Скачать
Что нового
DiscordID Version 2.0 Beta 4 introduces multiple improvements related to Floodgate and Geyser compatability aswell as Discord Sessions and performance. ## Changelog - Improved detection for Geyser/Floodgate Linking - Improved 2FA Discord widget - Fixed a bug with the /discord bypass command - Improved migration experience - Updated dependencies - Fixed Bugs - Made minor improvements to performance
beta

DiscordID 2.0 Beta 3

2.0-b.3
6 июл. 2026 г.10Minecraft: 26.2paper
Скачать