2FA Plugin
作者:rebot | 分类:模组
Minecraft 版本: 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
平台: paper purpur
标签: management social utility
2FA Discord Plugin
Universal Discord-based 2FA plugin for Paper servers.
Overview
2FA Discord Plugin adds a Discord approval step to Minecraft logins on Paper servers.
After a player links their Minecraft account to Discord, future logins can require confirmation through Discord direct messages. The plugin can also temporarily block player actions while approval is pending, kick a login attempt, or block the account through Discord controls.
Features
- Discord-based login confirmation
- Account linking with one-time verification codes
- Temporary login session by IP
- Optional account blocklist
- Admin commands for disabling 2FA and unblocking accounts
- Configurable locale system:
en_usandru_ru - Database support:
sqlite,mysql,postgresql
Requirements
- Java 21
- Paper
1.21.11 - Discord bot token
Commands
/2fa enable— link your Minecraft account to Discord/2fa disable [player/uuid/discord_id]— disable 2FA for a player/2fa unblock [player/uuid/discord_id]— remove a 2FA block/2fa reload— reload config and services
Permissions
2fa.command.enable2fa.command.disable2fa.command.unblock2fa.command.reload
Configuration
Important options:
discord.token— Discord bot tokenlocale— active locale (en_usorru_ru)session-duration-seconds— how long the IP session stays trusteddatabase.type—sqlite,mysql, orpostgresql
Locales
Default locale: en_us, support ru_ru
请登录后举报
暂无评论,抢个沙发吧~