Guest User

Untitled

a guest
Jan 14th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | None | 0 0
  1. # FastLogin config
  2. # Project site: https://www.spigotmc.org/resources/fastlogin.14153
  3. # Source code: https://github.com/games647/FastLogin
  4. #
  5. # You can access the newest config here:
  6. # https://github.com/games647/FastLogin/blob/master/core/src/main/resources/config.yml
  7.  
  8. # Request a premium login without forcing the player to type a command
  9. #
  10. # If you activate autoRegister, this plugin will check/do these points on login:
  11. # 1. An existing cracked account shouldn't exist
  12. # -> paid accounts cannot steal the existing account of cracked players
  13. # - (Already registered players could still use the /premium command to activate premium checks)
  14. # 2. Automatically registers an account with a strong random generated password
  15. # -> cracked player cannot register an account for the premium player and so cannot the steal the account
  16. #
  17. # Furthermore the premium player check have to be made based on the player name
  18. # This means if a cracked player connects to the server and we request a paid account login from this player
  19. # the player just disconnect and sees the message: 'bad login' or 'invalid session'
  20. # There is no way to change this message
  21. # For more information: https://github.com/games647/FastLogin#why-do-players-have-to-invoke-a-command
  22. autoRegister: true
  23.  
  24. # If this plugin detected that a player has a premium, it can also set the associated
  25. # uuid from that account. So if the players changes their usernames, they will still have
  26. # the same playerdata (inventory, permissions, ...)
  27. #
  28. # Warning: This also means that the UUID will be different if the player is connecting
  29. # through a offline mode connection. This **could** cause plugin compatibility issues.
  30. #
  31. # This is a example and doesn't apply for every plugin.
  32. # Example: If you want to ban players who aren't online at the moment, the ban plugin will look
  33. # after a offline uuid associated to the player, because the server is in offline mode. Then the premium
  34. # players could still join the server, because they have different UUID.
  35. #
  36. # Moreover you may want to convert the offline UUID to a premium UUID. This will ensure that the player
  37. # will have the same inventory, permissions, ... if they switched to premium authentification from offline/cracked
  38. # authentification.
  39. #
  40. # This feature requires Cauldron, Spigot or a fork of Spigot (PaperSpigot, TacoSpigot)
  41. premiumUuid: true
  42.  
  43. # This will make an additional check (only for player names which are not in the database) against the mojang servers
  44. # in order to get the premium UUID. If that premium UUID is in the database, we can assume on sucessful login that the
  45. # player changed it's username and we just update the name in the database.
  46. # Examples:
  47. # #### Case 1
  48. # nameChangeCheck = false ----- autoRegister = false
  49. #
  50. # Player logins as cracked until the player invoked the command /premium. Then we could override the existing database
  51. # record.
  52. #
  53. # #### Case 2
  54. #
  55. # nameChangeCheck = true ----- autoRegister = false
  56. #
  57. # Connect the Mojang API and check what UUID the player has (UUID exists => Paid Minecraft account). If that UUID is in
  58. # the database it's an **existing player** and FastLogin can **assume** the player is premium and changed the username.
  59. # If it's not in the database, it's a new player and **could be a cracked player**. So we just use a offline mode
  60. # authentication for this player.
  61. #
  62. # **Limitation**: Cracked players who uses the new username of a paid account cannot join the server if the database
  63. # contains the old name. (Example: The owner of the paid account no longer plays on the server, but changed the username
  64. # in the meanwhile).
  65. #
  66. # #### Case 3
  67. #
  68. # nameChangeCheck = false ----- autoRegister = true
  69. #
  70. # We will always request a premium authentication if the username is unknown to us, but is in use by a paid minecraft
  71. # account. This means it's kind of a more aggressive check like nameChangeCheck = true and autoRegister = false, because
  72. # it request a premium authentication which are completely new to us, that even the premium UUID is not in our database.
  73. #
  74. # **Limitation**: see below
  75. #
  76. # #### Case 4
  77. #
  78. # nameChangeCheck = true ----- autoRegister = true
  79. #
  80. # Based on autoRegister it checks if the player name is premium and login using a premium authentication. After that
  81. # fastlogin receives the premium UUID and can update the database record.
  82. #
  83. # **Limitation from autoRegister**: New offline players who uses the username of an existing minecraft cannot join the
  84. # server.
  85. nameChangeCheck: true
  86.  
  87. # If your players have a premium account and a skin associated to their account, this plugin
  88. # can download the data and set it to the online player.
  89. #
  90. # Keep in mind that this will only works if the player:
  91. # * is the owner of the premium account
  92. # * the serverconnection is established through a premium connection (paid account authentification)
  93. # * has a skin
  94. #
  95. # This means this plugin doesn't need to create a new connection to the Mojang servers, because
  96. # the skin data is included in the Auth-Verification-Response sent by Mojang. If you want to use for other
  97. # players like cracked player, you have to use other plugins.
  98. #
  99. # If you want to use skins for your cracked player, you need an additional plugin like
  100. # ChangeSkin, SkinRestoer, ...
  101. forwardSkin: true
  102.  
  103. # Displays a warning message that this message SHOULD only be invoked by
  104. # users who actually are the owner of this account. So not by cracked players
  105. #
  106. # If they still want to invoke the command, they have to invoke /premium again
  107. premium-warning: true
  108.  
  109. # If you have autoRegister or nameChangeCheck enabled, you could be rate-limited by Mojang.
  110. # The requests of the both options will be only made by FastLogin if the username is unknown to the server
  111. # You are allowed to make 600 requests per 10-minutes (60 per minute)
  112. # If you own a big server this value could be too low
  113. # Once the limit is reached, new players are always logged in as cracked until the rate-limit is expired.
  114. # (to the next ten minutes)
  115. #
  116. # The limit is IP-wide. If you have multiple IPv4-Addreses you specify them here. FastLogin will then use it in rotating
  117. # order --> 5 different IP-addreses 5 * 600 per 10 minutes
  118. # If this list is empty only the default one will be used
  119. #
  120. # Lists are created like this:
  121. #ip-addresses:
  122. # - 192-168-0-2
  123. ip-addresses: []
  124.  
  125. # How many requests should be established until the plugin uses the third-party API https://mcapi.ca/
  126. # Once this number is reached in a range of ten minutes it will start connecting to https://mcapi.ca/ for the next ten minutes
  127. # This option exists in order to workaround the rate-limiting. Name -> UUID are fetched in the same way like heads
  128. #
  129. # If you want to join the discussion visit this: https://github.com/games647/FastLogin/issues/27#issuecomment-226954350
  130. mojang-request-limit: 600
  131.  
  132. # Database configuration
  133. # Recommened is the use of MariaDB (a better version of MySQL)
  134.  
  135. # Single file SQLite database
  136. #driver: org.sqlite.JDBC
  137. # File location
  138. #database: '{pluginDir}/FastLogin.db'
  139.  
  140. # MySQL
  141. driver: com.mysql.jdbc.Driver
  142. host: localhost
  143. port: 3306
  144. database: ********
  145. username: ******
  146. password: *****
Add Comment
Please, Sign In to add comment