Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #The plugin now supports 2 types of 2fa: standard (Google Authenticator) based 2fa,
- #as well as the Yubikey.
- #'2fa'- "Google Authenticator" type 2fa
- #'yubikey' - Yubikey based authentication
- #To enable/disable each type of authentication, simply comment/uncomment each line
- #in question
- authenticators:
- - "2fa"
- #- "yubikey"
- #Yubikey configuration: Only needs to be filled in if you are using yubikey auth
- yubikey:
- clientId: -1 #Your client id
- clientSecret: secret #Your client secret
- #2fa configuration: Only needs to be filled in if you are using 2fa auth
- 2fa:
- #This is the key that will be by default displayed in the user's authentication
- #app. This may be whatever you want, but we suggest making it your server name
- #or some other identifier.
- serverIp: "play.verbramd.nl"
- #If this option is true, the plugin will not factor into account the last IP of the player, and will force the player to
- #log in each time they are authenticated
- forceSameIPAuthentication: true
- #If this option is false, the plugin will not tamper with the player inventory, and all authentication will be chat based.
- #If this option is true, the plugin will stash away the player inventory and display the QR code in a map.
- #Leaving this option at true is recommended but may conflict with other inventory manager plugins.
- inventoryTampering: true
- #Sets the bungee configuration parameters. If bungee is enabled, players will only need to authenticate once on one of
- #servers
- bungee:
- # Whether bungee mode is enabled. Plugin must be on bungee server with same channel
- enabled: false
- # Channel to send messages over. Must be same on Bungee
- channel: "MCAuthenticator"
- dataBacking:
- # This plugin supports 3 independant datastorage mechanisms. At the current time, there is no way to convert between the
- # two, however, this may be added in the future.
- #Types:
- # - single: Saves all data in one single file. Good for most installations
- # - directory: Saves each player in their own file within a directory
- # - mysql: Saves each player's data within a mysql database
- type: directory
- #If type is single, this specifies which file to save it in.
- file: "playerData.json"
- #If type is directory, this specifies which directory to save the data in.
- directory: "playerData"
- #If type is mysql, this specifies login details
- mysql:
- url: "jdbc:mysql://localhost:3306/db"
- username: "test"
- password: "test"
- queryTimeout: 5
- #Messages section. Each message uses standard '&' color codes.
- #A message can be split into multiple lines using the \n character.
- messages:
- prefix: "&f[&c&lVerbramd&f] "
- #Displayed in normal use
- authenticationPrompt: "&fJe account is beveiligd met een Code. Voer je code in!"
- ipPreAuthenticated: "&fJJe IP is herkend, veel plezier op de server!"
- notAuthed: "&fVoer je Beveiligings code in."
- authenticated: "&fJe indentiteit is herkend, veel plezier op de server!"
- authFailed: "&fJe hebt niet de juiste code ingevoerd, probeer het nog een keer met de juiste code."
- #Displayed after successful commands
- selfDisabled: "&cYou have disabled 2FA on your account."
- selfReset: "&cYou have reset 2FA on your account. Please enter the code shown on your device from the new code."
- #Other Success
- otherEnable: "&4%player%&c heeft 2FA geactiveerd voor jouw account!"
- otherDisable: "&4%player%&c heeft 2FA uitgezet voor jouw account!"
- otherReset: "&4%player%&c heeft uw 2FA gereset op uw account!\n &4Vul alstublieft de code in die u ziet in de app."
- #Command errors
- alreadyEnabled: "&c2FA staat al aan op uw account!"
- alreadyDisabled: "&c2FA staat al uit op uw account!"
- disableForced: "&cU kunt 2FA niet uitschakelen!"
- resetDisabled: "&cUw account heeft geen 2FA actief staan."
- resetNotAuthed: "&cU kunt niet uw account resetten voordat u zichzelf hebt ingelogd!"
- resetForced: "&cJe hebt niet de juiste rechten om dit command uit te voeren!"
- #Gauth specific messages
- sendAuthCode: "&7VerbramdServer heeft 2FA ingesteld. Uw tijdelijke code is \n&7%code%\n&7deze is ook te zien op\n&8%url%\n&7Om 2FA te gebruiken moet u de code invoeren:"
- #Yubikey specific messages
- yubikeyInitPrompt: "&7This server has Yubikey support enabled for your 2FA! You may set up 2FA for this account by pressing your yubikey in the chat box:"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement