Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
1.7.10
Platforms
Supported environments
Dedicated servers only
Tags
Creators
Details
Licensed Apache-2.0
Published 4 years ago
Updated 4 hours ago
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


