Перейти к содержимому
Mineforgian

Discord 2FA

Discord based two-factor authentication for Minecraft

Загрузки
1K
Подписчики
9
Обновлён
8 апреля 2026 г.
Лицензия
MIT

Опубликован 23 апреля 2024 г.

Banner

🛡️ 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

  1. Download the correct jar for your platform (Spigot, Paper, Velocity...)
  2. Create a Discord Bot at Discord Developer Portal and invite it to your server
  3. Configure config.yml with your bot token, guild ID, and channel ID
  4. 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.

Ченджлог

2.1.1Релиз1.21.11, 26.1, 26.1.1 · 8 апреля 2026 г.
  • Fixed issues with MariaDB
  • Fixed Bstats on Velocity
2.1.1Релиз1.21.11, 26.1, 26.1.1 · 8 апреля 2026 г.
  • Fixed issues with MariaDB
  • Fixed Bstats on Velocity
2.1.1Релиз1.21.11, 26.1, 26.1.1 · 8 апреля 2026 г.
  • Fixed issues with MariaDB
  • Fixed Bstats on Velocity
2.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 19 марта 2026 г.

What's new

Added MariaDB support

2.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 19 марта 2026 г.

What's new

Added MariaDB support

2.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 19 марта 2026 г.

What's new

Added MariaDB support

2.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 15 марта 2026 г.

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

2.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 15 марта 2026 г.

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

Комментарии

Загружаем…