Advertisement
Guest User

Untitled

a guest
Mar 4th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. #The plugin now supports 2 types of 2fa: standard (Google Authenticator) based 2fa,
  2. #as well as the Yubikey.
  3.  
  4. #'2fa'- "Google Authenticator" type 2fa
  5. #'yubikey' - Yubikey based authentication
  6.  
  7. #To enable/disable each type of authentication, simply comment/uncomment each line
  8. #in question
  9. authenticators:
  10. - "2fa"
  11. #- "yubikey"
  12.  
  13. #Yubikey configuration: Only needs to be filled in if you are using yubikey auth
  14. yubikey:
  15. clientId: -1 #Your client id
  16. clientSecret: secret #Your client secret
  17.  
  18. #2fa configuration: Only needs to be filled in if you are using 2fa auth
  19. 2fa:
  20. #This is the key that will be by default displayed in the user's authentication
  21. #app. This may be whatever you want, but we suggest making it your server name
  22. #or some other identifier.
  23. serverIp: "play.verbramd.nl"
  24.  
  25. #If this option is true, the plugin will not factor into account the last IP of the player, and will force the player to
  26. #log in each time they are authenticated
  27. forceSameIPAuthentication: true
  28.  
  29. #If this option is false, the plugin will not tamper with the player inventory, and all authentication will be chat based.
  30. #If this option is true, the plugin will stash away the player inventory and display the QR code in a map.
  31. #Leaving this option at true is recommended but may conflict with other inventory manager plugins.
  32. inventoryTampering: true
  33.  
  34. #Sets the bungee configuration parameters. If bungee is enabled, players will only need to authenticate once on one of
  35. #servers
  36. bungee:
  37. # Whether bungee mode is enabled. Plugin must be on bungee server with same channel
  38. enabled: false
  39. # Channel to send messages over. Must be same on Bungee
  40. channel: "MCAuthenticator"
  41.  
  42. dataBacking:
  43. # This plugin supports 3 independant datastorage mechanisms. At the current time, there is no way to convert between the
  44. # two, however, this may be added in the future.
  45.  
  46. #Types:
  47. # - single: Saves all data in one single file. Good for most installations
  48. # - directory: Saves each player in their own file within a directory
  49. # - mysql: Saves each player's data within a mysql database
  50. type: directory
  51.  
  52. #If type is single, this specifies which file to save it in.
  53. file: "playerData.json"
  54.  
  55. #If type is directory, this specifies which directory to save the data in.
  56. directory: "playerData"
  57.  
  58. #If type is mysql, this specifies login details
  59. mysql:
  60. url: "jdbc:mysql://localhost:3306/db"
  61. username: "test"
  62. password: "test"
  63. queryTimeout: 5
  64.  
  65. #Messages section. Each message uses standard '&' color codes.
  66. #A message can be split into multiple lines using the \n character.
  67. messages:
  68. prefix: "&f[&c&lVerbramd&f] "
  69.  
  70. #Displayed in normal use
  71. authenticationPrompt: "&fJe account is beveiligd met een Code. Voer je code in!"
  72. ipPreAuthenticated: "&fJJe IP is herkend, veel plezier op de server!"
  73.  
  74. notAuthed: "&fVoer je Beveiligings code in."
  75. authenticated: "&fJe indentiteit is herkend, veel plezier op de server!"
  76. authFailed: "&fJe hebt niet de juiste code ingevoerd, probeer het nog een keer met de juiste code."
  77.  
  78.  
  79. #Displayed after successful commands
  80.  
  81. selfDisabled: "&cYou have disabled 2FA on your account."
  82. selfReset: "&cYou have reset 2FA on your account. Please enter the code shown on your device from the new code."
  83.  
  84. #Other Success
  85. otherEnable: "&4%player%&c heeft 2FA geactiveerd voor jouw account!"
  86. otherDisable: "&4%player%&c heeft 2FA uitgezet voor jouw account!"
  87. otherReset: "&4%player%&c heeft uw 2FA gereset op uw account!\n &4Vul alstublieft de code in die u ziet in de app."
  88.  
  89. #Command errors
  90. alreadyEnabled: "&c2FA staat al aan op uw account!"
  91. alreadyDisabled: "&c2FA staat al uit op uw account!"
  92. disableForced: "&cU kunt 2FA niet uitschakelen!"
  93. resetDisabled: "&cUw account heeft geen 2FA actief staan."
  94. resetNotAuthed: "&cU kunt niet uw account resetten voordat u zichzelf hebt ingelogd!"
  95. resetForced: "&cJe hebt niet de juiste rechten om dit command uit te voeren!"
  96.  
  97. #Gauth specific messages
  98. 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:"
  99.  
  100. #Yubikey specific messages
  101. 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