Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.70 KB | None | 0 0
  1. ########################################################################################################################
  2. ########################################################################################################################
  3. ############################### ###############################
  4. ############################### DynamicAuth ###############################
  5. ############################### By: Zumorik(DynamicJk) ###############################
  6. ############################### Tested by: UraharaNZ, ItsPandemic ###############################
  7. ############################### ###############################
  8. ############################### ###############################
  9. ########################################################################################################################
  10. ########################################################################################################################
  11.  
  12. #MYSQL DATABASE
  13. #host: Ip address of the MySQL Server (We recommend using the numbered ip, if MySQL IS NOT hosted on the same machine)
  14. #Note: If MySQL Is hosted on the same machine keep localhost there.
  15. #username: The username of the MySQL login, often named "root"
  16. #database: The name of the MySQL database which will store all of the plugins data.
  17. #port: The port the MySQL Database runs of on. If you do not know the port keep the port on 3306
  18. host: localhost
  19. username: root
  20. password: w2RQa6
  21. database: authlogin
  22. port: 3306
  23. #=== WE RECOMMEND TO RUN THE MYSQL DATABASE ON THE SAME MACHINE AS THE SERVERS USING THE AUTH PLUGIN
  24. #=== LAG IS POSSIBLE IF YOU RUN MYSQL ON A DIFFRENT SERVER/MACHINE
  25. #=== WE ARE NOT RESPONSIBLE FOR THIS KIND OF LAG
  26. #=== IF YOUR SERVER HAS GOOD UPLOAD AND DOWNLOAD SPEEDS, INCLUDING A FAST HARDDRIVE OR SSD DO NOT WORRY ABOUT THE ABOVE
  27.  
  28. #Change the UUID of premium players
  29. #true = offline uuid
  30. #false = online uuid
  31. #This will change premium player UUIDs to offline player UUIDS (cracked uuids)
  32. Do-not-Use-PremiumUuid: false
  33.  
  34. minimum-password-length: 6
  35.  
  36. #The player will require to verify their email in order to login
  37. #This requires a SMTP server, and the email.yml file must be configured.
  38. requireVerifiedEmail: false
  39. #If you do not want the player to require a verified email, but want it to be optional enable that option within the email.yml
  40. #Please note that all SMTP servers are not supported (Works best with amazon smpt servers)
  41.  
  42. #Premium players do not require to register or login
  43. #CHANGING THIS FEATURE TO FALSE OR TRUE REQUIRES A BUNGEECORD RESTART
  44. #If you are using Auth lobby balancers, Make sure you set LobbyServer as one of your Auth Lobbies.
  45. PremiumBypass: true
  46.  
  47. #Disables the check that insures a player has not logged in with a premium player name
  48. #For example if disabled a cracked/offline player cannot connect with the name ItsPandemic, since it is premium.
  49. #If this is enabled enabled a cracked/offline player can login with the premiumPlayer name ItsPandemic
  50. #WARNING: Disable PremiumBypass so players cannot automatically login with premium player names.
  51. #We do not give support for not using PremiumBypass, use this at your own risk. (We have not tested this well)
  52. #READ THE WARNING ABOVE BEFORE ATTEMPTING TO REPORT ANY ISSUE THIS THIS FEATURE
  53. modifyPremiumNameCheck: false
  54.  
  55. #If enabled this will disable the legacy check that checks if a fake player has already used the name of the premium player
  56. #This feature blocks premium players from stealing fake player accounts for instance:
  57. #A cracked player with the name Jerry logs in and registers their account however, later someone buys a premium player account with
  58. #the name Jerry and they attemp to login to your server, they will not automatically login instead they will be asked for the cracked players password
  59. #This feature keeps premium players from stealing cracked player accounts.
  60. IgnoreLegacyCheck: false
  61.  
  62. #THIS IS BASICALLY THE NAME OF YOUR DEFAULT AUTH LOBBY, IF YOU ARE NOT USING AN AUTH LOBBY SET THIS AS YOUR DEFAULT LOBBY SERVER.
  63. #READ THE COMMENTS BELOW OR YOU COULD CAUSE WEIRD GLITCHES
  64. LobbyServer: auth
  65. #If you are using auth lobby balancers set this as your first auth lobby
  66. #This is the lobby the player will be sent back to if they attempt to switch servers without logging in or registering
  67. #If the server does not exist the player will be able to switch servers without registering (please setup correctly).
  68.  
  69. #The time the player has to register before being kicked (Seconds)
  70. registerTime: 120
  71.  
  72. #The time the player has to login before being kicked (Seconds)
  73. loginTime: 120
  74.  
  75. #Sends the player to the server they last were on when they login.
  76. #Players that require to login will be sent to the lobby or auth lobby, then the server they were last on.
  77. #This feature gets disabled if using the following features: (Lobby Balancer, Always Lobby)
  78. returnServer: true
  79. #This will enable the return to last login server even if the lobby balancer is enabled
  80. #Requires returnServer to the true.
  81. force_enable_with_lobby_balancer: false
  82.  
  83. #Session time out, how long a player has to be offline before they have to run /login again (minutes)
  84. session: -1
  85.  
  86. #The type of encryption used to store passwords
  87. #Currently only supporting the following types:
  88. #default - Hash and Salt
  89. #SHA512 - Our custom SHA512
  90. #SHA-512 - Default Sha-512 (difference is the dash)
  91. encryptionType: 'default'
  92.  
  93. #Maxs accounts connected at the same time with the same IP
  94. #This can help stop spam bots with the same IP address
  95. maxIP: 1500
  96.  
  97. #IMPORTANT -READ NO MATTER WHAT
  98. #We recommend to use this feature even if you only have 1 lobby and 1 auth lobby
  99.  
  100. #This feature allows you balance the amount of players within your login/auth servers
  101. #This feature will override the returnServer feature, unless forcibly enabled.
  102. useLoginServerBalancer: false
  103. #This feature redirects players from the login servers, to a lobby with a balanced player amount
  104. #This feature CAN override the returnServer feature, unless forcibly enabled.
  105. #LobbyServer Balancer can work with or without the auth server balancer, but is recommended to use both at the same time.
  106. useLobbyServerBalancer: false
  107. LoginBalance:
  108. LoginServers:
  109. - authlobby01
  110. LobbyBalance:
  111. LobbyServers:
  112. - lobby01
  113.  
  114. #Any time a player connects they will be sent to lobby server
  115. #If balancer is enabled, player will be sent to one of the Lobby servers with your lobby balancer, (useLobbyServerBalancer enabled)
  116. #If balancer is not enabled they will be sent to the LobbyServer
  117. #Over rides return Server, unless forcibly enabled.
  118. #TO SET THIS UP EFFICIENTLY, SET YOUR DEFAULT SERVER AS YOUR PRIMARY LOBBY SERVER
  119. #ALSO MAKE THE LOBBY YOUR MAIN PRIORITY SERVER WITHIN THE BUNGEECORD CONFIG
  120. alwaysLobby: true
  121.  
  122. #The name of the language file being used.
  123. #defaults: en and es (en - English, es - Spanish)
  124. messages:
  125. language: en
  126. #You can create your own language file and name with whatever, just add the name to this section of the config and your good to go!
  127.  
  128. #If the players IP does not match the IP within the database, they will require to relogin.
  129. bindCheck: true
  130. #WARNING YOU MUST SET THE FOLLOWING SETTINGS WITH IN YOUR BUNGEECORD TO SETUP BindCheck CORRECTLY.
  131. #1 First go within bungeecord and set ip_forward: false to ip_forward: true
  132. #2 Go inside all Servers and within the spigot.yml set bungeecord: true
  133. #3 Save and restart all servers.
  134. #4 YOU CAN DO THIS EVEN IF YOU ARE RUNNING AN OFFLINE SERVER "Cracked Server."
  135.  
  136. #ENABLE IF YOU ARE USING BOTH BUNGEECORD AND SPIGOT/BUKKIT PLUGINS.
  137. #IF YOU ARE ONLY USING BUNGEECORD SET TO FALSE.
  138. #IF YOU KEEP THIS ENABLED, AND YOU ARE NOT USING IT "UNKNOWN COMMAND ERROR," WILL APPEAR.
  139. serverSide: true
  140.  
  141. #Send to lobby server delay
  142. #This only works if you are using the Lobby & Login Balancers
  143. #Feature requested to help handle Async logins
  144. #This feature is recommended to use, as it insure a stable login
  145. delaylogin: false
  146.  
  147. #System to enable or disable wether to send premium players to their own lobby
  148. #and send fake players to a fake player lobby.
  149. #Also enable delayLogin in order to override return to auth lobby check
  150. #If you would like to use multi-lobby and multi login remove set Premium-lobby and fake-lobby to just ''
  151. premium-lobby:
  152. enabled: true
  153. premium-lobby: 'survival'
  154. fake-lobby: 'auth'
  155. premium-lobby-multi:
  156. - 'survival'
  157. fake-lobby-multi:
  158. - 'auth'
  159.  
  160. #This feature allows certain players to connect with specific names however, require their ip to match
  161. #a set ip within the ipmanager.yml
  162. #Example: only the IP 127.0.0.1 can use the account "Zumorik". that way only users with my IP can use my account: hackers cannot connect to a staff account without a matching IP!
  163. ipmanager:
  164. enabled: false
  165.  
  166. #Setup a system where only x amount of accounts can be created on an IP
  167. #For example, the max Ip is set to 1, and Zumorik created the account with the IP 127.0.0.2
  168. #Now 127.0.0.2 has been assigned to Zumorik's account, and that ip can only be used once
  169. #IF Zumorik was banned and he tried to make another account, when he tries to do /register <password> <password>
  170. #He will be denied registration and kicked if option is enabled.
  171. ip-registration:
  172. enabled: false
  173. maxIP: 3
  174. kick: false
  175.  
  176. #Enabled /hub command
  177. #If Premium player and fake player servers are enabled, the player will be sent to a lobby corresponding to your premium-lobby system
  178. #Ex: Premium player will be sent to premium lobby, Non premium player will be sent to non premium lobby
  179. #If lobby balancer is enabled, the player will be sent to a lobby corresponding to your LobbyBalance System (Least active lobby or only lobby)
  180. #If none of the above is enabled the player will be sent to the LobbyServer as defined above.
  181. #If you enable or disable this command, the server will require a RESTART
  182. HubCommand:
  183. enabled: false
  184.  
  185. #If a server goes down this feature will redirect the player to your defined lobby system
  186. #Supported lobby systems
  187. # - Premium player lobbies / cracked player lobbies
  188. # - Login/Lobby server balancers
  189. # - Normal LobbyServer system
  190. returnLobby:
  191. enabled: false
  192. reasons:
  193. - Server Closed
  194. #This feature helps prevent mass bot attacks by blocking cracked logins if the current amount of
  195. #logins exceds the maximum amount of cracked logins per minute.
  196. #Note: since we cannot change client messages the message will display as Failed Session login when enabled
  197. MaxLoginRate:
  198. enabled: true
  199. maximum: 300
  200. minutes: 1
  201. motd:
  202. enabled: false
  203. message: '&cServer currently experiencing mass login rates, please wait 1 minute'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement