Guest User

AdvancedLogin Config

a guest
Oct 9th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1.  
  2. # /---------------------------------Developed by Leoko--------------------------------\
  3. # | #### ### # # #### # # #### #### ### # ### #### # # # |
  4. # | # # # # # # # # ## # # # # # # # # # # ## # |
  5. # | #### # # # # #### # ## # ## # # # # # # ## # # ## |
  6. # | # # # # # # # # # # # # # # # # # # # # # # |
  7. # | # # ### # # # # # #### #### ### #### ### ### # # # |
  8. # \---------------------------------Developed by Leoko--------------------------------/
  9.  
  10.  
  11. # MySQL-Settings
  12. MySQL:
  13. UseMySQL: false
  14. IP: "localhost"
  15. DB-Name: "PINs"
  16. Username: "root"
  17. Password: "YourPW"
  18.  
  19. # Every X minutes the pins will be refreshed form the MySQL [if MySQL is enabled]
  20. AutoLoad: 5
  21.  
  22. # If enabled player will be able to login with "/pin PIN"
  23. # so players which connect via a smartphone will also be able to login
  24. # !! This will make it very easy for "Login-Crackers" to login !!
  25. EnablePinCommand: false
  26.  
  27. #Should the plugin save the plays IP for the auto-login feature
  28. SaveIP: true
  29. # The amount of time in MIN how long the IP should stay saved
  30. # Use -1 for infinit time [= 1 Day] (Recommended)
  31. SaveDuration: -1
  32.  
  33. # Add commands which should still be allowed
  34. # for example /register & /login from AuthMe
  35. BypassCommands:
  36. - '/login'
  37. - '/register'
  38.  
  39. # If you have a special login server in your bungeecord-network
  40. # you can specify the name of the server where the player should be
  41. # connected if he logs in successfully
  42. # Set to "none" to disable
  43. LobbyServer: "none"
  44.  
  45. #Should there be sounds effects
  46. Sounds: true
  47.  
  48. #Optimal length is 4 or 5 and also valid is 3 and 6
  49. #I don't recoment to use a length that is not between 3 and 6!
  50. PIN-Length: 4
  51.  
  52. # If enabled only users with the perm "al.login" need to enter a pin
  53. PermsLogin: false
  54.  
  55. # If enabled this will teleport the player to a set location (/setJoinLoc)
  56. # while he is logging in.
  57. HideLocation: false
  58.  
  59. # If enabled the player will be in spectator mode while logging in
  60. SpectatorOnLogin: false
  61.  
  62. #The player will be kicked after x sec when he has not logged in
  63. #Set to -1 to disable this
  64. KickAfterSec:
  65. Seconds: 20
  66. KickMessage: "&cYou have not logged in after 20 sec!"
  67.  
  68. #The player will be kicked when he types in the code x times wrong
  69. #Set to -1 to disable this
  70. KickAfterTries:
  71. Tries: 3
  72. KickMessage: "&cYou have not logged in after 3 tries"
  73.  
  74. #The command will be executed after x seconds eg Ban [%IP% or %PLAYER%] no /
  75. #Set to -1 to disable this
  76. CommandAfterTries:
  77. Tries: -1
  78. Command: "banip %IP% You have been banned for typing in the PIN 3 times wrong"
  79.  
  80. Messages-Chat:
  81. AdminPINReset:
  82. User: '&cYour PIN got reset by an admin'
  83. Admin: '&cThe PIN of player %PLAYER% got reset'
  84. HasNoPin: '&cThis player has no PIN'
  85. AdminPINSet:
  86. User: '&cYour PIN got changed'
  87. Admin: '&cThe PIN of player %PLAYER% got changed to %PIN%'
  88. NoValidPIN: '&cThis is not a vaild PIN'
  89. PinCommand: '&cIf you have logged in via a ChatClient please use /pin PIN to login'
  90. ConfReload: '&aThe config.yml has been reloaded'
  91. NoPerms: "&cYou don't have enough perms"
  92. Messages-Title:
  93. Register:
  94. Line1: '&c&lRegistration'
  95. Line2: '&cClick on the items to set a PIN &oeg.: 1234'
  96. Stay: 70
  97. Registered:
  98. Line1: '&a&lWelcome!'
  99. Line2: '&aSuccessfull registered! &cYour PIN&8: &7%PIN%'
  100. Stay: 70
  101. Loggedin:
  102. Line1: '&a&lWelcome!'
  103. Line2: '&aPIN accepted!'
  104. Stay: 70
  105. AutoLoggedin:
  106. Line1: '&a&lWelcome!'
  107. Line2: '&aYou were automaticly logged in'
  108. Stay: 70
  109. WrongPIN:
  110. Line1: '&c&lWrong PIN'
  111. Line2: '&7&oPIN not accepted, try it again'
  112. Stay: 70
  113. FastLoginLog:
  114. Line1: '&a&lFastLogin'
  115. Line2: '&aYou got force-logged in by FastLogin'
  116. FastLoginReg:
  117. Line1: '&a&lFastLogin'
  118. Line2: '&aYou got force-registered in by FastLogin'
  119. Messages-Items:
  120. ShowPIN: '&cShow PIN'
  121. PIN: '&c&lPIN &8&l»'
  122. HiddenNumber: '&7&l*'
  123. Numbers:
  124. 1: '&f&l1'
  125. 2: '&f&l2'
  126. 3: '&f&l3'
  127. 4: '&f&l4'
  128. 5: '&f&l5'
  129. 6: '&f&l6'
  130. 7: '&f&l7'
  131. 8: '&f&l8'
  132. 9: '&f&l9'
Advertisement
Add Comment
Please, Sign In to add comment