gabriiel0206

Untitled

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