minecraftdiscordautomationtutorial

How to Automate Your Minecraft Server Whitelist with Discord

Stop whitelisting players manually. Learn how to connect your Minecraft server to Discord and automate whitelist management with Heimdall.

Bifröst TeamMarch 15, 20266 min read

How to Automate Your Minecraft Server Whitelist with Discord

Running a Minecraft server means dealing with one task that never goes away: whitelisting players. Someone joins your Discord, pings a staff member, and waits. The staff member wakes up, runs the command, and the player can finally join. It works — until it doesn't.

If your server has more than a handful of active players, manual whitelisting becomes a bottleneck. Staff members get burnt out. Players get frustrated waiting. And you lose people who simply don't want to wait six hours to play on your server.

There's a better way. You can connect your Minecraft server directly to Discord and let players whitelist themselves — automatically, instantly, and without any staff involvement.

What You Need

Before you start, make sure you have:

  • A Discord server where your community hangs out. This is where players will link their accounts.
  • A Minecraft server running Paper, Spigot, or a proxy like Velocity or BungeeCord. Most modern server software is supported.
  • Heimdall — a Discord bot that handles account linking, whitelist automation, and role sync. It's free for servers with up to 500 members.

That's it. No complicated API setups. No custom plugins you need to compile yourself. No third-party webhooks to configure.

How It Works

The flow is straightforward. A player joins your Discord server and runs a simple slash command — /mc link. They enter their Minecraft username, and Heimdall verifies the account.

Once verified, Heimdall automatically adds the player's username to your Minecraft server's whitelist. The player can join immediately. No tickets, no waiting, no staff needed.

If a player leaves your Discord or loses a required role, Heimdall can automatically remove them from the whitelist too. This keeps your server clean and ensures only active community members have access.

The entire process takes about 10 seconds from the player's perspective.

Step-by-Step Setup

Here's how to get this running on your server today.

Step 1: Invite Heimdall to Your Discord Server

Head to the Heimdall landing page and click the invite button. Select your Discord server from the dropdown and authorize the bot. Heimdall needs basic permissions to read messages and manage roles.

Once invited, Heimdall will appear in your server's member list. You'll get a confirmation message with a link to the dashboard.

Step 2: Install the Companion Plugin

Heimdall communicates with your Minecraft server through a lightweight companion plugin. Download it from the dashboard and drop it into your server's plugins folder.

If you're running a proxy like Velocity, install the plugin on the proxy instead. This lets you manage whitelisting across all your backend servers from a single point.

Restart your server (or use a plugin manager to load it), and the plugin will generate a configuration file with a unique server token.

Step 3: Configure in the Dashboard

Open the Heimdall dashboard and navigate to your server's settings. You'll need to:

  1. Paste the server token from the plugin config into the dashboard.
  2. Choose which Discord roles are required for whitelist access. For example, you might require a "Verified" role.
  3. Set the channel where players can use the /mc link command.
  4. Toggle automatic whitelist removal on or off.

Save your settings and the connection is live. The dashboard will show a green status indicator when everything is connected.

Step 4: Test With a Member

Ask a friend or alt account to run /mc link in your Discord server. They should see a verification prompt, enter their Minecraft username, and get whitelisted within seconds.

Check your Minecraft server's whitelist to confirm the name was added. Try removing their Discord role and verify they get unwhitelisted automatically.

If something doesn't work, the dashboard has a connection log that shows every event. Most issues come down to firewall settings or incorrect tokens.

Advanced Configuration

Once the basics are working, you can take things further.

Role Sync

Heimdall doesn't just handle whitelisting — it can sync Discord roles to in-game permissions. If a player has a "Patron" role on Discord, you can automatically grant them a specific permission group on your Minecraft server.

This works with LuckPerms and most other permission plugins. Set up the mapping in the dashboard: Discord role on the left, in-game group on the right. When a player links their account, they get the correct permissions instantly.

When they lose the Discord role — say their subscription expires — the in-game permissions are revoked automatically too. No manual cleanup needed.

Multiple Server Support

Running a network with multiple servers? Heimdall supports linking a single Discord server to multiple Minecraft servers. Players link their account once and get whitelisted across your entire network.

You can also configure per-server rules. Maybe your survival server is open to everyone, but your creative server requires a "Builder" role. Each server can have its own role requirements while sharing the same account linking system.

Whitelist Removal on Role Loss

This is one of the most useful features for servers that gate access behind a role. If you run a Patreon-supported server, for example, you can require the "Patron" role for whitelist access.

When a player's Patreon subscription lapses and they lose the role, Heimdall automatically removes them from the whitelist. No staff intervention needed. No awkward conversations.

You can configure a grace period too, so players have a few days to renew before losing access.

Common Questions

Does this work with Bedrock Edition?

Heimdall's Minecraft integration primarily supports Java Edition servers. Bedrock support depends on your server software. If your server uses Geyser to accept Bedrock players, account linking works through the Java username.

What happens if my Minecraft server goes offline?

Whitelist changes are queued. When your server comes back online, the plugin syncs any pending changes automatically. No data is lost.

Can players link multiple Minecraft accounts?

By default, each Discord account can link to one Minecraft account. You can allow multiple links in the dashboard settings, though most server owners keep it at one to prevent abuse.

Is it really free?

Yes. Heimdall is free for servers with up to 500 members. Larger servers can check the pricing page for details on premium plans that include priority support and additional features.

What if I'm already using a different whitelist bot?

Migrating is straightforward. Heimdall can import your existing whitelist data. Set up Heimdall alongside your current bot, test it, then remove the old one when you're confident everything works.

Stop Doing It Manually

Every minute your staff spends whitelisting players is a minute they could spend building, moderating, or actually playing the game. Automation isn't a luxury — it's how you keep your server running smoothly as it grows.

Heimdall handles the entire process: account linking, whitelist management, role sync, and cleanup. It takes about 10 minutes to set up and works around the clock without burning out.

Ready to automate your whitelist? Get started with Heimdall — it's free for servers up to 500 members.

Bifrost

Ready to deploy Heimdall?

Free up to 500 members with every feature included. Moderation, tickets, modmail, Minecraft, Tebex, and a real-time dashboard — no card required.

Free up to 500 members
No setup fees
Cancel anytime