COWMODSКаталог модов

Core2FA

Secure 2FA authentication for Minecraft

Автор: Cuptam4ik4232обновлён 16 авг. 2025 г.
УправлениеУтилиты

Описание


Core2FA — Two-Factor Authentication

🛡 Overview

Core2FA is a Minecraft plugin (Spigot, Paper, PurPur, Folia) for that adds two-factor authentication through Telegram. It protects player accounts from hijacking by requiring login confirmation through a linked Telegram account. With Telegram integration, players can manage their account security quickly and easily from their phone.


✨ Features

  • Account Linking Players can link their Minecraft account to their Telegram account for extra security.

  • Login Confirmation When a player joins, they receive a Telegram notification and can approve or deny the login.

  • Remote Security Controls Through an interactive Telegram menu, players can:

    • Approve or deny logins.
    • Block their account if suspicious activity is detected (if enabled).
    • Unlink their account (if allowed by the server admin).
    • Access all settings using the /menu command in Telegram to manage their account remotely.
  • Configurable Options Adjustable language, custom server name in notifications, and fine-grained permission controls.

  • Folia Support Optimized to run smoothly on Folia-based servers.


⚙ Setup

  1. Place the plugin into your /plugins folder.
  2. Start the server to generate configuration files.
  3. Edit config.yml:
server-name: "MyServer"         # Name displayed in Telegram notifications
language: "en"                  # Plugin language

telegram:
  bot-token: "BOT_TOKEN_HERE"   # Your Telegram bot token
  bot-username: "NAME_BOT"      # Your bot’s username

telegram-menu:
  settings:
    allow-unlinking: false      # Allow unlinking accounts
    allow-remote-ban: false     # Allow remote banning
  1. Restart the server.
  2. Players can use /2fa to link their account.

📜 Commands

CommandAliasesDescription
/2fa/tfa, /authMain command to manage 2FA
/2fa reload—Reloads the plugin configuration
/menu (Telegram)—Opens the interactive Telegram menu to manage account remotely

🔑 Permissions

PermissionDescription
twofa.reloadReloads the plugin configuration (OPs only)

🖥 Compatibility

  • Platform: Spigot, Paper, PurPur, Folia
  • Java: 17+

📌 Example Usage

  1. A player joins the server.
  2. They receive a Telegram message: "Confirm login to MyServer?"
  3. They press "Confirm" or "Deny".
  4. The login is either allowed or blocked.
  5. Players can use /menu in Telegram to manage security settings or unlink their account.
  6. Server admins can use /2fa reload to apply configuration changes without restarting.

📄 License

MIT License – free to use, share, or modify.


Галерея

Display /2faTelegram notificationTelegram menu

Последние версии

Все версии →
release

Core2FA 1.0.0

1.0.0
16 авг. 2025 г.316Minecraft: 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, bungeecord, folia, paper, purpur, spigot
Скачать
release

Core2FA 1.0.0

1.0.0
16 авг. 2025 г.53Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6bukkit, bungeecord, folia, paper, purpur, spigot
Скачать
release

Core2FA 1.0.0

1.0.0
16 авг. 2025 г.51Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4bukkit, bungeecord, folia, paper, purpur, spigot
Скачать
Что нового
--- ## 📝 Core2FA – Change Log (Beta) **v1.0.1 – Beta Update** ### ⚡ Async All previously blocking methods are now **async**, freeing the main thread from load and ensuring smooth operation on all machines and setups. ### 🛠 Setup Setup has been **completely overhauled** based on feedback. Error messages now tell you **exactly** what went wrong, making configuration much easier. ### 🐞 Bug Fixes * Fixed potential issues with the **initialization of the Telegram Bot**. * Minor stability improvements for Folia and Paper servers. ### ⚠️ Beta Notice This is a beta release. Some features may not work perfectly. If you find any bugs or unexpected behavior, please **report them** with: * Minecraft version * Server platform (Spigot, Paper, Folia) * Exact error / behavior observed Your feedback helps make **Core2FA** stable and reliable!