HomeJavaModsDiscordID
DiscordID
ModsJava

DiscordID

by Frozdbyte · on Modrinth

Secure your server with a self-service whitelist & 2FA for your discord server members that saves you time. [Made by Humans]

⬇ Download on Modrinth

DiscordID 💙 Made by Humans - DiscordID is developed and maintained without "Vibe Coding"

⚠️ BETA RELEASE

DiscordID Version 2.0, DiscordID's complete overhaul, is currently in the final stages of Beta testing. Please report any issues on Discord.

Secure your Minecraft Server by only allowing members of your Discord server to join. DiscordID links Discord accounts to Minecraft Java & Bedrock profiles. Any member of your Discord server can easily verify and whitelist themselves.

Version 2.0 was rewritten from scratch to be more secure, feature-rich, and incredibly performant. Thanks to improved asynchronous processing, DiscordID now processes login events up to 3,000x faster than before, reducing wait times by over 99%.

Features


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

Minecraft Commands (Player)

Minecraft Commands (Admin)


Configuration

Authentication

Join Rules

Discord

Bypass


Credits

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more