Minecraft Authentication
Allow users to link their Minecraft accounts to various services and automatically whitelist them based on specified conditions
- Loaders
- FabricNeoForgeForgePaper
- Downloads on Modrinth
- 3.8K
- Followers on Modrinth
- 45
- versions
- 59
- Updated
- November 24, 2026Nov 24
- Published
- in 2022
At a glance
Install on the server only; players don't need it
The official plugin/mod for MinecraftAuth.me
Whitelist your server for your supporters automatically
Players link their Minecraft account to Twitch, YouTube, Patreon and Discord once at minecraftauth.me, then just join. Anyone who doesn't meet your conditions is turned away with a message telling them how to get in.
Runs on: Spigot / Paper / Folia · Sponge · Velocity · BungeeCord · Fabric, Forge & NeoForge (1.16.5 – 26.x)
Conditions
| Condition | Lets in players who… |
|---|---|
TwitchFollower() | follow you on Twitch |
TwitchSubscriber() / TwitchSubscriber(2) | subscribe on Twitch (any tier / tier 2 or higher) |
YouTubeSubscriber() | subscribe to your YouTube channel |
YouTubeMember() | are paid members of your YouTube channel |
PatreonMember() / PatreonMember("Diamond") | are active patrons (any tier / the "Diamond" tier) |
DiscordServer("server id") | are in your Discord server |
DiscordRole("role id") | have a Discord role |
DiscordRole("server id", "Role Name") | have a role by name (a name always needs the server ID) |
Linked() / Linked("discord") | have linked their account (and a Discord account) |
Discord conditions need the MinecraftAuth bot in your server, and your linked Discord account must own it or have Administrator or Manage Messages there.
Combine them
Use and, or and not(...). Each line in the list is an alternative: a player who meets any line gets in.
gatekeeper:
conditions:
- TwitchSubscriber() and not(DiscordRole("123456789012345678", "Banned"))
- DiscordRole("234567890123456789") # staff don't need to subscribe (though they should...)Setup
- Link your own Twitch / YouTube / Patreon / Discord accounts at minecraftauth.me.
- Create an application at minecraftauth.me/developers.
- Put the jar in
plugins/ormods/(Fabric also needs Fabric API) and start the server once. - Paste the application ID and secret into
api.application-id/api.application-secretinMinecraftAuth.yml(mods:config/minecraftauth/). - Set your
gatekeeper.conditions, then run/minecraftauth reload(or/mcauth reload).
Good to know
- Bypass: list UUIDs or names under
gatekeeper.bypass. Operators and players withminecraftauth.bypassskip the checks whilebypass-adminsis on. - Outages:
on-api-error: deny(default) orallowdecides what happens when MinecraftAuth.me can't be reached. - Networks: install it on the Velocity/BungeeCord proxy, not on the backend servers. Proxies can set different rules for each backend server.
- Offline mode / Bedrock: offline-mode servers can't be checked. Bedrock (Floodgate) players need a linked Java account or a
bypassentry. - Other plugins (bans, etc.) still work alongside it. Turn off the vanilla whitelist and other whitelist plugins if you want MinecraftAuth to be the only gate.
Full docs & troubleshooting: https://minecraftauth.me/developers/docs/minecraft
FAQ
How to install Minecraft Authentication?
Install Fabric for your Minecraft version, download Minecraft Authentication for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does Minecraft Authentication support?
Minecraft Authentication has builds for Minecraft 1.7.10–26.3.
Is Minecraft Authentication needed on the server?
Server only — players don't need to install it