▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Secura2FA
Secura2FA

Secura2FA

Secura2FA is a Minecraft plugin that adds two-factor authentication via Telegram and Google Authenticator. It protects player accounts from hijacking by requiring login confirmation.

Оцените первым
24
0

!hero Secura2FA is a security-focused Spigot/Paper plugin that adds mandatory two-factor authentication (2FA) for Minecraft servers.

Players cannot move or use commands until authentication is completed.

Features

  • Google Authenticator — TOTP authentication with QR code
  • Telegram — login confirmation via Telegram bot
  • AES-256-GCM — encrypted 2FA secret storage
  • SQLite / MySQL — flexible database support
  • Redis — optional caching
  • 3 Languages — English, Ukrainian, German
  • Customizable messages — Minecraft & color codes supported

Requirements

SoftwareVersion
Java21+
Spigot / Paper1.21.1+
MySQL5.7+ / 8.0+
RedisOptional

Commands

CommandDescription
/2faShow available 2FA methods
/2fa goSet up Google Authenticator
/2fa <code>Verify a 6-digit TOTP code
/2fa teLink a Telegram account

Alias: /twofa

Permissions

PermissionDescriptionDefault
system.2fa.registerConfigure 2FAtrue
system.2fa.neededRequire 2FAfalse
system.ads.notifyUpdate notificationsop

Configuration

Main options:

Prefix: '&5&l2FA &8≫ '
Language: 'en'
Metrics: 'true'
Servername: 'MinecraftServer'
RegisterPerm: 'system.2fa.register'
Autologin: 'true'
Range: '900'
Type: 'choice'
TypePerm: 'system.2fa.needed'
ReloadKick: 'true'
Updates: 'true'
UpdatePerms: 'system.ads.notify'

Use: 'false'
Host: '127.0.0.1'
Port: '3306'
Database: '2fadb'
Username: 'User'
Password: '123456789'

TelegramBotToken: ''
TelegramBotUsername: ''

RedisUse: 'false'
RedisHost: '127.0.0.1'
RedisPort: '6379'
RedisPassword: ''
RedisDatabase: '0'

Important: Change the default database password before using the plugin in production.

Languages

Language files are located in:

plugins/2FA/lang/

Supported languages:

en · uk · de

All messages can be customized.

Telegram Setup

  1. Create a Telegram bot using @BotFather.
  2. Add the bot token and username to config.yml.
  3. Restart the server.
  4. Run /2fa te.
  5. Send /start <code> to the bot.
  6. Confirm future login attempts through Telegram.

If the login was already verified using Google Authenticator, Telegram will automatically recognize it as verified.

License

MIT License — License.
GitHub — REPOSITORIES.

Партнёрский материал

Сервер для плагина Secura2FA - как у профи

Плагин Secura2FA создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Secura2FA для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Детали

Лицензия:
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная