
Discord 2FA
Discord based two-factor authentication for Minecraft
Автор: sieadev1,7 тыс.11обновлён 2 окт. 2026 г.
УправлениеУтилиты
Описание

🛡️ Why Discord2FA?
Token-grabbing is one of the biggest threats facing Minecraft players today. With Discord2FA, every login is verified through Discord — meaning even if someone steals a player's Minecraft credentials, they still can't get in without access to their Discord account. Beyond security, Discord2FA makes a great verification gate: players must link and verify through Discord before they can interact with your server, significantly reducing alt accounts and anonymous trolling.
⚙️ Setup
- Download the correct jar for your platform (Spigot, Paper, Velocity...)
- Create a Discord Bot at Discord Developer Portal and invite it to your server
- Configure config.yml with your bot token, guild ID, and channel ID
- Restart your server
🖥️ Supported Platforms
| Platform | Module | Notes |
|---|---|---|
| Paper | paper | 1.16.5+ |
| Spigot | spigot | 1.16.5+ |
| BungeeCord | bungeecord | Proxy; optional verification/post-verification servers |
| Velocity | velocity | Proxy; same options as BungeeCord |
🧩 Permissions
Discord2FA uses grant-by-default permissions for link/unlink and op-only for admin:
| Permission | Default | Description |
|---|---|---|
discord2fa.link | true | Use /link. |
discord2fa.unlink | true | Use /unlink. |
discord2fa.admin | op | Use /discord2fa (version, status). |
🗂️ Configuration
# Language: EN, DE, FR, IT, PL, RO, RS, TR, UA
language: en
# Storage: MYSQL or FILE
storage: "FILE"
fileAsFallback: true
database:
ip: ""
name: ""
user: ""
password: ""
discord:
token: ""
guild: ""
channel: ""
# Commands usable before verification
allowedCommands: ["/link"]
# Require all players to link Discord
forceLink: false
# Skip re-verification for known IPs
rememberIPAddresses: true
Support and Troubleshooting
For any further assistance or troubleshooting, please reach out to our support server on Discord.
Галерея
Последние версии
Все версии →release
Discord2FA 2.2.0
2.2.02 окт. 2026 г.16Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bungeecord
Что нового
- Support for Minecraft 26.x (tested on Paper 26.3), Velocity 4 and the latest BungeeCord
- Unverified players can no longer interact with blocks/items/entities, attack or pick up items. Allow them again with the new `INTERACT`, `ATTACK` and `PICKUP` entries in `allowedActions`
- Verification is tied to the login session: an old Discord verify message can no longer verify a newer login
- If the Discord bot is configured but can't connect, players stay restricted instead of being let in
- Fresh installs run in setup mode and restrict nobody until the Discord bot is configured
- Link codes are now cryptographically random and expire after 15 minutes
- Updated the PostgreSQL driver (CVE-2026-54291)
- Fixed Spanish, Hindi, Dutch and Russian language files not being copied to the lang folder
- Fixed several language files showing a package name instead of "Discord", and the missing player name in Ukrainian
release
Discord2FA 2.2.0
2.2.02 окт. 2026 г.17Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3velocity
Что нового
- Support for Minecraft 26.x (tested on Paper 26.3), Velocity 4 and the latest BungeeCord
- Unverified players can no longer interact with blocks/items/entities, attack or pick up items. Allow them again with the new `INTERACT`, `ATTACK` and `PICKUP` entries in `allowedActions`
- Verification is tied to the login session: an old Discord verify message can no longer verify a newer login
- If the Discord bot is configured but can't connect, players stay restricted instead of being let in
- Fresh installs run in setup mode and restrict nobody until the Discord bot is configured
- Link codes are now cryptographically random and expire after 15 minutes
- Updated the PostgreSQL driver (CVE-2026-54291)
- Fixed Spanish, Hindi, Dutch and Russian language files not being copied to the lang folder
- Fixed several language files showing a package name instead of "Discord", and the missing player name in Ukrainian
release
Discord2FA 2.2.0
2.2.02 окт. 2026 г.69Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Что нового
- Support for Minecraft 26.x (tested on Paper 26.3), Velocity 4 and the latest BungeeCord
- Unverified players can no longer interact with blocks/items/entities, attack or pick up items. Allow them again with the new `INTERACT`, `ATTACK` and `PICKUP` entries in `allowedActions`
- Verification is tied to the login session: an old Discord verify message can no longer verify a newer login
- If the Discord bot is configured but can't connect, players stay restricted instead of being let in
- Fresh installs run in setup mode and restrict nobody until the Discord bot is configured
- Link codes are now cryptographically random and expire after 15 minutes
- Updated the PostgreSQL driver (CVE-2026-54291)
- Fixed Spanish, Hindi, Dutch and Russian language files not being copied to the lang folder
- Fixed several language files showing a package name instead of "Discord", and the missing player name in Ukrainian
release
Discord2FA 2.1.1
2.1.18 апр. 2026 г.90Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1bungeecord
Что нового
- Fixed issues with MariaDB
- Fixed Bstats on Velocity
release
Discord2FA 2.1.1
2.1.18 апр. 2026 г.64Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1velocity
Что нового
- Fixed issues with MariaDB
- Fixed Bstats on Velocity
release
Discord2FA 2.1.1
2.1.18 апр. 2026 г.195Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1bukkit, paper, purpur, spigot
Что нового
- Fixed issues with MariaDB
- Fixed Bstats on Velocity
release
Discord2FA 2.1.0
2.1.019 мар. 2026 г.22Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bungeecord
Что нового
## What's new
Added MariaDB support
release
Discord2FA 2.1.0
2.1.019 мар. 2026 г.28Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11velocity
Что нового
## What's new
Added MariaDB support
release
Discord2FA 2.1.0
2.1.019 мар. 2026 г.47Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Что нового
## What's new
Added MariaDB support
release
Discord2FA v2.0.2
2.0.215 мар. 2026 г.17Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bungeecord
Что нового
v2 is a ground-up rewrite of Discord2FA. The internals have been completely overhauled for better performance, broader platform support, and a much cleaner foundation to build on going forward.
## What's new in v2
### Platform support
Added Velocity and BungeeCord support alongside the existing Spigot, and Paper builds
Expanded Minecraft version compatibility — more versions now supported across all platforms
Fixed a number of BungeeCord/Velocity edge cases
### Discord bot
Complete bot rewrite as part of the refactor
Added Discord bot logging — bot activity and events are now logged properly
### Commands
Reworked the ``/d2fa version`` command
Added the ``/d2fa status`` command
### Internals & performance
Full codebase refactor
Performance and code optimisations across the board
Jar size optimisations — smaller download, faster startup
SQLite adjustments and stability improvements
Significantly improved i18n (internationalisation) system
Config additions and restructuring
Logging improvements throughout

