2FCraft - 2 Factor Authentication for players 1.0

Permit for players to secure their account on your server with 2FA.

  1. LeCodero
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.14
    TWO FACTOR AUTHENTICATION

    DESCRIPTION :

    Scared of viewing all the accounts in you server being cracked ? With this plugin enabled, you can stop being worried about that problem !
    Using Google Authenticator app', you can have a TOTP-based login. You can even add your account in Google Authenticator with a QR Code.
    While you are not connected, you can't do anything, even talk in the chat or execute commands.
    Also, the configuration file will permit you to change some useful parameters.


    USAGE :

    /tfa create
    Permit to register you into the DB. It will give you your secret key and a QR Code than can be scanned into Google Authenticator.

    /tfa login <TOTP Code>
    Permit to log you into the server.


    PERMISSIONS :

    tfa.staff
    Member of the staff of the server.

    tfa.player
    Basic player of the server.


    CONFIGURATION FILE :
    Code (YAML):

    # Default configuration for 2FCraft by LeCodero !

    # StaffMustSecure : If the staff have the obligation to connect via 2FA (true), or no (false).
    # PlayersMustSecure : If the players have the obligation to connect via 2FA (true), or no (false).
    # PlayersCanSecure : If the players have the possibility to connect via 2FA (true), or no (false).

    # ServerName must not have any spaces.

    Phrases
    :
      SendSecretKey
    : "&eYour Secret Key to add in Google Authenticator is :"
      SendQRCode
    : "&eElse, you can use the QR Code at this link :"
      MustConnect2FA
    : "&eYou must be connected with Google Authenticator with /tfa login <Your code>."
      MustSignUp2FA
    : "&eYou must be signed up with Google Authenticator with /tfa create."
      SuccessfullLogin
    : "&eYou have been successfully logged in with 2FA."
      FailLogin
    : "&eYour 2FA code is incorrect. Try again."
      ClickOnLink
    : "&9Click Here !"
    Rules
    :
      StaffMustSecure
    : true
      PlayersMustSecure
    : false
      PlayersCanSecure
    : true
    Infos
    :
      ServerName
    : "Minecraft_Server"

Recent Updates

  1. Several bugs resolved