Guest User

Untitled

a guest
Jun 17th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.05 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. # This is extra configuration option to the feature above. If we request a premium authentication from a player who
  25. # isn't actual premium but used a premium username, the player will disconnect with the reason "invalid session" or
  26. # "bad login".
  27. #
  28. # If you activate this, we are remembering this player and do not force another premium authentication if the player
  29. # tries to join again, so the player could join as cracked player.
  30. secondAttemptCracked: false
  31.  
  32. # New cracked players will be kicked from server. Good if you want switch from offline-mode to online-mode without
  33. # losing players!
  34. #
  35. # Existing cracked and premium players could still join your server. Moreover you could add playernames to a whitelist.
  36. # So that these cracked players could join too although they are new players.
  37. switchMode: false
  38.  
  39. # If this plugin detected that a player has a premium, it can also set the associated
  40. # uuid from that account. So if the player changes the username, they will still have
  41. # the same player data (inventory, permissions, ...)
  42. #
  43. # Warning: This also means that the UUID will be different if the player is connecting
  44. # through a offline mode connection. This **could** cause plugin compatibility issues.
  45. #
  46. # This is a example and doesn't apply for every plugin.
  47. # Example: If you want to ban players who aren't online at the moment, the ban plugin will look
  48. # after a offline uuid associated to the player, because the server is in offline mode. Then the premium
  49. # players could still join the server, because they have different UUID.
  50. #
  51. # Moreover you may want to convert the offline UUID to a premium UUID. This will ensure that the player
  52. # will have the same inventory, permissions, ... if they switched to premium authentication from offline/cracked
  53. # authentication.
  54. #
  55. # This feature requires Cauldron, Spigot or a fork of Spigot (Paper)
  56. premiumUuid: false
  57. # This will make an additional check (only for player names which are not in the database) against the mojang servers
  58. # in order to get the premium UUID. If that premium UUID is in the database, we can assume on successful login that the
  59. # player changed it's username and we just update the name in the database.
  60. # Examples:
  61. # #### Case 1
  62. # nameChangeCheck = false ----- autoRegister = false
  63. #
  64. # Player logins as cracked until the player invoked the command /premium. Then we could override the existing database
  65. # record.
  66. #
  67. # #### Case 2
  68. #
  69. # nameChangeCheck = true ----- autoRegister = false
  70. #
  71. # Connect the Mojang API and check what UUID the player has (UUID exists => Paid Minecraft account). If that UUID is in
  72. # the database it's an **existing player** and FastLogin can **assume** the player is premium and changed the username.
  73. # 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
  74. # authentication for this player.
  75. #
  76. # **Limitation**: Cracked players who uses the new username of a paid account cannot join the server if the database
  77. # contains the old name. (Example: The owner of the paid account no longer plays on the server, but changed the username
  78. # in the meanwhile).
  79. #
  80. # #### Case 3
  81. #
  82. # nameChangeCheck = false ----- autoRegister = true
  83. #
  84. # We will always request a premium authentication if the username is unknown to us, but is in use by a paid minecraft
  85. # account. This means it's kind of a more aggressive check like nameChangeCheck = true and autoRegister = false, because
  86. # it request a premium authentication which are completely new to us, that even the premium UUID is not in our database.
  87. #
  88. # **Limitation**: see below
  89. #
  90. # #### Case 4
  91. #
  92. # nameChangeCheck = true ----- autoRegister = true
  93. #
  94. # Based on autoRegister it checks if the player name is premium and login using a premium authentication. After that
  95. # fastlogin receives the premium UUID and can update the database record.
  96. #
  97. # **Limitation from autoRegister**: New offline players who uses the username of an existing minecraft cannot join the
  98. # server.
  99. nameChangeCheck: false
  100.  
  101. # If your players have a premium account and a skin associated to their account, this plugin
  102. # can download the data and set it to the online player.
  103. #
  104. # Keep in mind that this will only works if the player:
  105. # * is the owner of the premium account
  106. # * the server connection is established through a premium connection (paid account authentication)
  107. # * has a skin
  108. #
  109. # This means this plugin doesn't need to create a new connection to the Mojang servers, because
  110. # the skin data is included in the Auth-Verification-Response sent by Mojang. If you want to use for other
  111. # players like cracked player, you have to use other plugins.
  112. #
  113. # If you want to use skins for your cracked player, you need an additional plugin like
  114. # ChangeSkin, SkinRestorer, ...
  115. forwardSkin: true
  116.  
  117. # Displays a warning message that this message SHOULD only be invoked by
  118. # users who actually are the owner of this account. So not by cracked players
  119. #
  120. # If they still want to invoke the command, they have to invoke /premium again
  121. premium-warning: false
  122.  
  123. # If you have autoRegister or nameChangeCheck enabled, you could be rate-limited by Mojang.
  124. # The requests of the both options will be only made by FastLogin if the username is unknown to the server
  125. # You are allowed to make 600 requests per 10-minutes (60 per minute)
  126. # If you own a big server this value could be too low
  127. # Once the limit is reached, new players are always logged in as cracked until the rate-limit is expired.
  128. # (to the next ten minutes)
  129. #
  130. # The limit is IP-wide. If you have multiple IPv4-addresses you specify them here. FastLogin will then use it in rotating
  131. # order --> 5 different IP-addresses 5 * 600 per 10 minutes
  132. # If this list is empty only the default one will be used
  133. #
  134. # Lists are created like this:
  135. #ip-addresses:
  136. # - 192-168-0-2
  137. ip-addresses: []
  138.  
  139. # How many requests should be established to the Mojang API for Name -> UUID requests. Some other plugins as well
  140. # as the head minecraft block make such requests as well. Using this option you can limit the amount requests this
  141. # plugin should make.
  142. #
  143. # If you lower this value, other plugins could still make requests while FastLogin cannot.
  144. # Mojang limits the amount of request to 600 per 10 minutes per IPv4-address.
  145. mojang-request-limit: 600
  146.  
  147. # This option automatically registers players which are in the FastLogin database, but not in the auth plugin database.
  148. # This can happen if you switch your auth plugin or cleared the database of the auth plugin.
  149. # https://github.com/games647/FastLogin/issues/85
  150. auto-register-unknown: false
  151.  
  152. # This disables the auto login from fastlogin. So a premium (like a paid account) authentication is requested, but
  153. # the player won't be auto logged into the account.
  154. #
  155. # This can be used as 2Factor authentication for better security of your accounts. A hacker then needs both passwords.
  156. # The password of your minecraft and the password to login in with your auth plugin
  157. autoLogin: true
  158.  
  159. # Database configuration
  160. # Recommended is the use of MariaDB (a better version of MySQL)
  161.  
  162. # Single file SQLite database
  163. driver: org.sqlite.JDBC
  164. # File location
  165. database: '{pluginDir}/FastLogin.db'
  166.  
  167. # MySQL/MariaDB
  168. #driver: com.mysql.jdbc.Driver
  169. #host: localhost
  170. #port: 3306
  171. #database: fastlogin
  172. #username: myUser
  173. #password: myPassword
  174.  
  175. # It's strongly recommended to enable SSL and setup a SSL certificate if the MySQL server isn't running on the same
  176. # machine
  177. #useSSL: false
  178.  
  179. # HTTP proxies for connecting to the Mojang servers in order to check if the username of a player is premium.
  180. # This is a workaround to prevent rate-limiting by Mojang. These proxies will only be used once your server hit
  181. # the rate-limit or the custom value above.
  182. # Please make sure you use reliable proxies.
  183. proxies:
  184. # 'IP:Port' or 'Domain:Port'
  185. # - 'xyz.com:1337'
  186. # - 'test.com:5131'
Add Comment
Please, Sign In to add comment