Description
DiscordGate: One Minecraft Name. One Discord Account.
Stop people from logging in as someone else on your online-mode=false server. Each Minecraft name gets linked to one Discord account.
Fabric, NeoForge and Forge. Players need no mods and no Discord bot.
Quick start (about 1 minute)
- Put the
discordgate-*.jarfor your loader in the server'smods/folder. (Fabric also needs Fabric API.) - Set
online-mode=falseinserver.properties. - Start the server once, then open
config/discordgate.propertiesand fill in:backendBaseUrlapiKeyIdhmacSecret
- Restart the server. Done.
Need a backend? Pick one:
- Hosted (easiest): https://discordgate.defextra.dev (coming soon). Nothing to set up.
- Self-host: backend-server.zip (Node.js 24+, SQLite built in, PostgreSQL via Docker).
What players see
- Join. A new player is placed in a small sky room, hidden from chat and other players.
- Verify. They scan the QR code on the map (or click the link in chat) and sign in with Discord.
- Play. An obsidian portal opens. They walk through it and are back where they left off, in Survival.
Next time they join, they just confirm a one-time code from Discord (or are let in automatically, if you enable IP-based relogin).
Features
- Vanilla clients only. Nothing for players to install.
- Name protection. No duplicate logins, even for players already online or waiting to verify.
- Secure. Discord OAuth2 with PKCE, and requests to the backend are signed with HMAC-SHA256. If the backend is down, new players are rejected and current players are not affected.
- Relogin choice (
/account). A Discord code every time (default), or quick relogin if the IP matches within a time window you set. - Public dashboard (
/dashboard). Players online and total linked accounts. No Discord IDs, UUIDs or IPs are shown. - Admin console (
/admin). API keys, lock or unlink players, move an account to another Discord user, portal effects, and audit logs.
Supported versions
| Loader | Minecraft |
|---|---|
| Fabric | 26.3 (needs Fabric API) |
| NeoForge | 26.3 |
| Forge | 26.3 |
Privacy
- Self-hosted: all data stays on your own server.
- Hosted On https://discordgate.defextra.dev : stores what login needs: Discord IDs, Minecraft names and UUIDs, IP addresses and session logs.




