
tiDiscord2FA 1.0
A plugin for protecting admin/moderator accounts through verification in Discord
Description
Secure your administrator's and moderator's accounts from hacking with tiDiscord2FA. The plugin requests verification through Discord upon server login for players who are added to the config.
Supports HEX colors in the format &#FFFFFF

Config
Secure your administrator's and moderator's accounts from hacking with tiDiscord2FA. The plugin requests verification through Discord upon server login for players who are added to the config.
Supports HEX colors in the format &#FFFFFF

Config
# Discord bot token
token : "TOKEN"
# Adding users
# "NICK": DISCORD_ID
users:
"1050TI_top" : 817372400232169522
settings :
# Time in seconds before a player is kicked if they do not verify their login
time : 30
# Allowed commands during verification
allowedCommands :
- "/register"
- "/reg"
- "/login"
- "/l"
messages:
discord :
# Button emoji
buttonEmoji : "✅"
# Button text
buttonText : "Verify"
# Message sent when joining the server
join : "Verify your login to the server!"
# Message sent upon successful verification
allowJoin : "Login verified!"
# Message sent if verification is not required
verifyNotRequired : "Verification not required"
# Message sent if the player is not found on the server
playerNotFound : "Account not found!"
minecraft :
# Message sent when joining the server
join :
- ""
- " &fPlease verify your login through &bDiscord&f!"
- ""
# Message sent upon successful verification
allowJoin :
- ""
- " &fLogin successful!"
- ""
# Message sent when a command is used without arguments
usage :
- ""
- "Commands:"
- "/d2fa reload - reload config"
- ""
# Message sent when the config is reloaded
reload : "&aConfig reloaded!"
# Message sent when the user lacks permission to use a command
noPermission : "&cNo permission!"
# Message sent when a player is kicked for not verifying in time
kick : "&cYou did not verify your login in time!"