bivashy / MC-Auth-with-Link

Fork of mc-auth. Added multiple ways to link
Eclipse Public License 2.0
31 stars 10 forks source link

[Feature] Force account link #138

Open moda84 opened 6 months ago

moda84 commented 6 months ago

Здравствуйте! У меня такая проблема: не могу заставить и нормально контролировать подключение 2FA у админ-состава из-за чего их взламывают и вредят игрокам.

Буду очень благодарен, если вы добавите permission по типу auth.2fa.force и если он есть у игрока то ему нельзя будет зайти на сервера из лобби пока не будет подключена двухфакторная аутентификация.

moda84 commented 6 months ago

Hello! I have such a problem: I can't force 2FA connection for the admin staff, which is why they are hacked and harming players.

I would be very grateful if you add a permission of the auth.2fa.force type and if the player has it, then he will not be able to access the servers from the lobby until two-factor authentication is enabled.