HaHaWTH / AuthMeReReloaded

A fork of AuthMe with various bug fixes and new exciting features
https://modrinth.com/plugin/authmerereloaded
GNU Affero General Public License v3.0
80 stars 9 forks source link

DiscordSRV integration where we can use /forgotpassword command and choose discord option for one time code #190

Open TheJoshue opened 1 month ago

TheJoshue commented 1 month ago

What feature do you want to see added?

When /forgotpassword command is executed, authme checks for 2 things: 1. if player has recovery email connected 2. if player has their discord linked via disocrdSRV plugin; if they only have discordSRV account linked to their discord, then /forgotpassword will just prompt them to confirm (by repeating the command) that one time expiring code will be sent in their dms by the discordSRV bot; if they only have recovery email added and not discordSRV account linked, then they will receive email after confirming as explained; if they do not have both of methods setup, then they will receive message to contact server administrator for help; and if they have both methods setup, they will just need to retype command /forgotpassword with arg which will be /forgotpassword 1 or /forgotpassword 2, where 1 will be email recovery and 2 is for discord one time code

Are there any alternatives?

There is recovery email but having discordSRV also is very convenient

Anything else?

That's it, thank you for reading!

HaHaWTH commented 1 month ago

Sounds good! I will consider that after finished MiniMessage support