name: TwoFactor
main: com.pascoej.twofactor.TwoFactor
version: 1.0
description: Enhances security by allowing users to specify a unique login url to be required to log in.
load: STARTUP
author: [pascoej@murri.ca]
depend: [ProtocolLib]

commands:
  2fa:
    description: Adds or changes a two factor authentication code.
    aliases: [twofactor]
    permission: twofactor.changetoken
    usage: "/2fa <token>"
  2fareset:
    description: Removes a users two factor authentication code. (Admin)
    permission: twofactor.resettoken
    usage: "/2fareset <username>"
permissions:
  twofactor.changetoken:
    description: Allows a user to change or remove their two factor authentication code
    default: true
  twofactor.resettoken:
    description: Allows removing anybody's twofactor token
    default: op