Skript Request | 2FA

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

DeoviserYT

Member
Aug 4, 2024
15
1
3
37
Skript Request | 2FA

Hello, I want a safe way to make sure my Minecraft server doesn't get hacked if my account does.
The way I want it is so that I can use /logout to remove the * permission from my user using luckperms,
and if I do /login <code> the code has to be a code from a 2FA app such as Google Authenticator, and the secret key for the app to be customizable.
I don't want this to be required on login.

EDIT: If it can't be done, can someone provide or create an addon for something like
Code:
set {_code} to 2fa code from key "example"