Advertisement
Guest User

Untitled

a guest
Sep 16th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.00 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: ######
  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: 2
  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: true
  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. - lobby-2
  116. - lobby-3
  117. LobbyBalance:
  118. LobbyServers:
  119. - lobby-1
  120. - lobby-2
  121.  
  122. #Any time a player connects they will be sent to lobby server
  123. #If balancer is enabled, player will be sent to one of the Lobby servers with your lobby balancer, (useLobbyServerBalancer enabled)
  124. #If balancer is not enabled they will be sent to the LobbyServer
  125. #Over rides return Server, unless forcibly enabled.
  126. #TO SET THIS UP EFFICIENTLY, SET YOUR DEFAULT SERVER AS YOUR PRIMARY LOBBY SERVER
  127. #ALSO MAKE THE LOBBY YOUR MAIN PRIORITY SERVER WITHIN THE BUNGEECORD CONFIG
  128. alwaysLobby: true
  129.  
  130. #The name of the language file being used.
  131. #defaults: en and es (en - English, es - Spanish)
  132. messages:
  133. language: en
  134. #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!
  135.  
  136. #If the players IP does not match the IP within the database, they will require to relogin.
  137. bindCheck: true
  138. #WARNING YOU MUST SET THE FOLLOWING SETTINGS WITH IN YOUR BUNGEECORD TO SETUP BindCheck CORRECTLY.
  139. #1 First go within bungeecord and set ip_forward: false to ip_forward: true
  140. #2 Go inside all Servers and within the spigot.yml set bungeecord: true
  141. #3 Save and restart all servers.
  142. #4 YOU CAN DO THIS EVEN IF YOU ARE RUNNING AN OFFLINE SERVER "Cracked Server."
  143.  
  144. #ENABLE IF YOU ARE USING BOTH BUNGEECORD AND SPIGOT/BUKKIT PLUGINS.
  145. #IF YOU ARE ONLY USING BUNGEECORD SET TO FALSE.
  146. #IF YOU KEEP THIS ENABLED, AND YOU ARE NOT USING IT "UNKNOWN COMMAND ERROR," WILL APPEAR.
  147. serverSide: true
  148.  
  149. #Send to lobby server delay
  150. #This only works if you are using the Lobby & Login Balancers
  151. #Feature requested to help handle Async logins
  152. #This feature is recommended to use, as it insure a stable login
  153. delaylogin: false
  154.  
  155. #System to enable or disable wether to send premium players to their own lobby
  156. #and send fake players to a fake player lobby.
  157. #Also enable delayLogin in order to override return to auth lobby check
  158. #If you would like to use multi-lobby and multi login remove set Premium-lobby and fake-lobby to just ''
  159. premium-lobby:
  160. enabled: false
  161. premium-lobby: 'PremiumLobby'
  162. fake-lobby: 'FakePlayerLobby'
  163. premium-lobby-multi:
  164. - 'lobby'
  165. fake-lobby-multi:
  166. - 'login01'
  167.  
  168. #This feature allows certain players to connect with specific names however, require their ip to match
  169. #a set ip within the ipmanager.yml
  170. #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!
  171. ipmanager:
  172. enabled: false
  173.  
  174. #Setup a system where only x amount of accounts can be created on an IP
  175. #For example, the max Ip is set to 1, and Zumorik created the account with the IP 127.0.0.2
  176. #Now 127.0.0.2 has been assigned to Zumorik's account, and that ip can only be used once
  177. #IF Zumorik was banned and he tried to make another account, when he tries to do /register <password> <password>
  178. #He will be denied registration and kicked if option is enabled.
  179. ip-registration:
  180. enabled: true
  181. maxIP: 3
  182. kick: false
  183.  
  184. #Enabled /hub command
  185. #If Premium player and fake player servers are enabled, the player will be sent to a lobby corresponding to your premium-lobby system
  186. #Ex: Premium player will be sent to premium lobby, Non premium player will be sent to non premium lobby
  187. #If lobby balancer is enabled, the player will be sent to a lobby corresponding to your LobbyBalance System (Least active lobby or only lobby)
  188. #If none of the above is enabled the player will be sent to the LobbyServer as defined above.
  189. #If you enable or disable this command, the server will require a RESTART
  190. HubCommand:
  191. enabled: true
  192.  
  193. #If a server goes down this feature will redirect the player to your defined lobby system
  194. #Supported lobby systems
  195. # - Premium player lobbies / cracked player lobbies
  196. # - Login/Lobby server balancers
  197. # - Normal LobbyServer system
  198. returnLobby:
  199. enabled: true
  200. reasons:
  201. - Serwer jest resetowany
  202. #This feature helps prevent mass bot attacks by blocking cracked logins if the current amount of
  203. #logins exceds the maximum amount of cracked logins per minute.
  204. #Note: since we cannot change client messages the message will display as Failed Session login when enabled
  205. MaxLoginRate:
  206. enabled: false
  207. maximum: 1000
  208. minutes: 1
  209. motd:
  210. enabled: false
  211. message: '&cServer currently experiencing mass login rates, please wait 1 minute'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement