mt-mods / otp

(t)otp mod for minetest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(T)OTP mod for minetest

  • State: Stable

Overview

Lets security-aware players use the /otp_enable command to protect their account with a second factor.

Players that have the OTP enabled have to enter a verification code upon joining the game.

OTP Authenticator apps

Screenshots

OTP verification form

OTP Setup form

Temporary privilege revocation

All of the privileges get revoked when logging in with the otp enabled (until the proper code is entered). Some exceptions:

  • fly (otherwise the player would literally fall from the sky)
  • noclip

To disable revokation on custom privs the field otp_keep can be set to true on the definition:

minetest.register_privilege("my_super_important_priv", {
    description = "something something",
    otp_keep = true
})

Settings

Links / References

Chatcommands

  • /otp_enable Starts the OTP onboarding process
  • /otp_disable Disables the OTP Login

Privileges

  • otp_enabled Players with this privilege have to verify the OTP Code upon login (automatically granted on successful /otp_enable)

License

About

(t)otp mod for minetest

License:Other


Languages

Language:Lua 99.6%Language:Dockerfile 0.4%