Advertisement
Guest User

Untitled

a guest
Dec 5th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.95 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: mateulusz
  20. password: pass
  21. database: lobby_logowanie
  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: true
  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. #Allows cracked players to save their account by utilizing the command /saveaccount
  63. #This permanently sets their account as a cracked player making premium players not able to steal their accounts.
  64. SaveAccounts:
  65. enabled: true
  66.  
  67. #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.
  68. #READ THE COMMENTS BELOW OR YOU COULD CAUSE WEIRD GLITCHES
  69. LobbyServer: lobby-1
  70. #If you are using auth lobby balancers set this as your first auth lobby
  71. #This is the lobby the player will be sent back to if they attempt to switch servers without logging in or registering
  72. #If the server does not exist the player will be able to switch servers without registering (please setup correctly).
  73.  
  74. #The time the player has to register before being kicked (Seconds)
  75. registerTime: 120
  76.  
  77. #The time the player has to login before being kicked (Seconds)
  78. loginTime: 120
  79.  
  80. #Sends the player to the server they last were on when they login.
  81. #Players that require to login will be sent to the lobby or auth lobby, then the server they were last on.
  82. #This feature gets disabled if using the following features: (Lobby Balancer, Always Lobby)
  83. returnServer: false
  84. #This will enable the return to last login server even if the lobby balancer is enabled
  85. #Requires returnServer to the true.
  86. force_enable_with_lobby_balancer: false
  87.  
  88. #Session time out, how long a player has to be offline before they have to run /login again (minutes)
  89. session: 5
  90.  
  91. #The type of encryption used to store passwords
  92. #Currently only supporting the following types:
  93. #default - Hash and Salt
  94. #SHA512 - Our custom SHA512
  95. #SHA-512 - Default Sha-512 (difference is the dash)
  96. encryptionType: 'default'
  97.  
  98. #Maxs accounts connected at the same time with the same IP
  99. #This can help stop spam bots with the same IP address
  100. maxIP: 4
  101.  
  102. #IMPORTANT -READ NO MATTER WHAT
  103. #We recommend to use this feature even if you only have 1 lobby and 1 auth lobby
  104.  
  105. #This feature allows you balance the amount of players within your login/auth servers
  106. #This feature will override the returnServer feature, unless forcibly enabled.
  107. useLoginServerBalancer: false
  108. #This feature redirects players from the login servers, to a lobby with a balanced player amount
  109. #This feature CAN override the returnServer feature, unless forcibly enabled.
  110. #LobbyServer Balancer can work with or without the auth server balancer, but is recommended to use both at the same time.
  111. useLobbyServerBalancer: false
  112. LoginBalance:
  113. LoginServers:
  114. - lobby-1
  115. LobbyBalance:
  116. LobbyServers:
  117. - lobby-1
  118.  
  119. #Any time a player connects they will be sent to lobby server
  120. #If balancer is enabled, player will be sent to one of the Lobby servers with your lobby balancer, (useLobbyServerBalancer enabled)
  121. #If balancer is not enabled they will be sent to the LobbyServer
  122. #Over rides return Server, unless forcibly enabled.
  123. #TO SET THIS UP EFFICIENTLY, SET YOUR DEFAULT SERVER AS YOUR PRIMARY LOBBY SERVER
  124. #ALSO MAKE THE LOBBY YOUR MAIN PRIORITY SERVER WITHIN THE BUNGEECORD CONFIG
  125. alwaysLobby: true
  126.  
  127. #The name of the language file being used.
  128. #defaults: en and es (en - English, es - Spanish)
  129. messages:
  130. language: en
  131. #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!
  132.  
  133. #If the players IP does not match the IP within the database, they will require to relogin.
  134. bindCheck: true
  135. #WARNING YOU MUST SET THE FOLLOWING SETTINGS WITH IN YOUR BUNGEECORD TO SETUP BindCheck CORRECTLY.
  136. #1 First go within bungeecord and set ip_forward: false to ip_forward: true
  137. #2 Go inside all Servers and within the spigot.yml set bungeecord: true
  138. #3 Save and restart all servers.
  139. #4 YOU CAN DO THIS EVEN IF YOU ARE RUNNING AN OFFLINE SERVER "Cracked Server."
  140.  
  141. #ENABLE IF YOU ARE USING BOTH BUNGEECORD AND SPIGOT/BUKKIT PLUGINS.
  142. #IF YOU ARE ONLY USING BUNGEECORD SET TO FALSE.
  143. #IF YOU KEEP THIS ENABLED, AND YOU ARE NOT USING IT "UNKNOWN COMMAND ERROR," WILL APPEAR.
  144. serverSide: true
  145.  
  146. #Send to lobby server delay
  147. #This only works if you are using the Lobby & Login Balancers
  148. #Feature requested to help handle Async logins
  149. #This feature is recommended to use, as it insure a stable login
  150. delaylogin: false
  151.  
  152. #System to enable or disable wether to send premium players to their own lobby
  153. #and send fake players to a fake player lobby.
  154. #Also enable delayLogin in order to override return to auth lobby check
  155. #If you would like to use multi-lobby and multi login remove set Premium-lobby and fake-lobby to just ''
  156. premium-lobby:
  157. enabled: false
  158. premium-lobby: 'PremiumLobby'
  159. fake-lobby: 'FakePlayerLobby'
  160. premium-lobby-multi:
  161. - 'lobby'
  162. fake-lobby-multi:
  163. - 'login01'
  164.  
  165. #This feature allows certain players to connect with specific names however, require their ip to match
  166. #a set ip within the ipmanager.yml
  167. #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!
  168. ipmanager:
  169. enabled: false
  170.  
  171. #Setup a system where only x amount of accounts can be created on an IP
  172. #For example, the max Ip is set to 1, and Zumorik created the account with the IP 127.0.0.2
  173. #Now 127.0.0.2 has been assigned to Zumorik's account, and that ip can only be used once
  174. #IF Zumorik was banned and he tried to make another account, when he tries to do /register <password> <password>
  175. #He will be denied registration and kicked if option is enabled.
  176. ip-registration:
  177. enabled: false
  178. maxIP: 3
  179. kick: true
  180.  
  181. #Enabled /hub command
  182. #If Premium player and fake player servers are enabled, the player will be sent to a lobby corresponding to your premium-lobby system
  183. #Ex: Premium player will be sent to premium lobby, Non premium player will be sent to non premium lobby
  184. #If lobby balancer is enabled, the player will be sent to a lobby corresponding to your LobbyBalance System (Least active lobby or only lobby)
  185. #If none of the above is enabled the player will be sent to the LobbyServer as defined above.
  186. #If you enable or disable this command, the server will require a RESTART
  187. HubCommand:
  188. enabled: true
  189.  
  190. #If a server goes down this feature will redirect the player to your defined lobby system
  191. #Supported lobby systems
  192. # - Premium player lobbies / cracked player lobbies
  193. # - Login/Lobby server balancers
  194. # - Normal LobbyServer system
  195. returnLobby:
  196. enabled: true
  197. reasons:
  198. - Serwer jest resetowany
  199. #This feature helps prevent mass bot attacks by blocking cracked logins if the current amount of
  200. #logins exceds the maximum amount of cracked logins per minute.
  201. #Note: since we cannot change client messages the message will display as Failed Session login when enabled
  202. MaxLoginRate:
  203. enabled: false
  204. maximum: 1000
  205. minutes: 1
  206. motd:
  207. enabled: false
  208. message: '&cServer currently experiencing mass login rates, please wait 1 minute'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement