Advertisement
Guest User

config

a guest
Dec 27th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.48 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: 104.243.46.146
  19. username: mc4385
  20. password: 1e34212872
  21. database: mc4385
  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. #Allows you to add alternative commands to login.
  43. login-alternative-commands:
  44. - 'l'
  45. - 'log'
  46.  
  47. #Allows you to add alternative commands to register.
  48. register-alternative-commands:
  49. - 'r'
  50. - 'reg'
  51.  
  52. #Premium players do not require to register or login
  53. #CHANGING THIS FEATURE TO FALSE OR TRUE REQUIRES A BUNGEECORD RESTART
  54. #If you are using Auth lobby balancers, Make sure you set LobbyServer as one of your Auth Lobbies.
  55. PremiumBypass: true
  56.  
  57. #Disables the check that insures a player has not logged in with a premium player name
  58. #For example if disabled a cracked/offline player cannot connect with the name ItsPandemic, since it is premium.
  59. #If this is enabled enabled a cracked/offline player can login with the premiumPlayer name ItsPandemic
  60. #WARNING: Disable PremiumBypass so players cannot automatically login with premium player names.
  61. #We do not give support for not using PremiumBypass, use this at your own risk. (We have not tested this well)
  62. #READ THE WARNING ABOVE BEFORE ATTEMPTING TO REPORT ANY ISSUE THIS THIS FEATURE
  63.  
  64. #DO NOT CHANGE THIS FEATURE, ONLY IF YOU ARE A PLUGIN DEVELOPER - THIS WILL CAUSE ISSUES, AND IS WITHIN THE PLUGIN TO ALLOW DEVELOPERS
  65. #TO CREATE THEIR OWN LOGIN SYSTEMS
  66.  
  67. #NO CAMBIAS ESTA CONFIGURACION
  68. modifyPremiumNameCheck: false
  69.  
  70. #If enabled this will disable the legacy check that checks if a fake player has already used the name of the premium player
  71. #This feature blocks premium players from stealing fake player accounts for instance:
  72. #A cracked player with the name Jerry logs in and registers their account however, later someone buys a premium player account with
  73. #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
  74. #This feature keeps premium players from stealing cracked player accounts.
  75. IgnoreLegacyCheck: false
  76.  
  77. #Allows cracked players to save their account by utilizing the command /saveaccount
  78. #This permanently sets their account as a cracked player making premium players not able to steal their accounts.
  79. SaveAccounts:
  80. enabled: true
  81.  
  82. #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.
  83. #READ THE COMMENTS BELOW OR YOU COULD CAUSE WEIRD GLITCHES
  84. LobbyServer: auth
  85. #If you are using auth lobby balancers set this as your first auth lobby
  86. #This is the lobby the player will be sent back to if they attempt to switch servers without logging in or registering
  87. #If the server does not exist the player will be able to switch servers without registering (please setup correctly).
  88.  
  89. #The time the player has to register before being kicked (Seconds)
  90. registerTime: 120
  91.  
  92. #The time the player has to login before being kicked (Seconds)
  93. loginTime: 120
  94.  
  95. #Sends the player to the server they last were on when they login.
  96. #Players that require to login will be sent to the lobby or auth lobby, then the server they were last on.
  97. #This feature gets disabled if using the following features: (Lobby Balancer, Always Lobby)
  98. #You do not need to turn this off if you are using any other login system, it will disable on its own.
  99. returnServer: true
  100. #This will enable the return to last login server even if the lobby balancer is enabled
  101. #Requires returnServer to the true.
  102. force_enable_with_lobby_balancer: false
  103.  
  104. #Session time out, how long a player has to be offline before they have to run /login again (minutes)
  105. session: 5
  106.  
  107. #The type of encryption used to store passwords
  108. #Currently only supporting the following types:
  109. #default - Hash and Salt
  110. #SHA512 - Our custom SHA512
  111. #SHA-512 - Default Sha-512 (difference is the dash)
  112. encryptionType: 'default'
  113.  
  114. #Maxs accounts connected at the same time with the same IP
  115. #This can help stop spam bots with the same IP address
  116. maxIP: 2
  117.  
  118. #IMPORTANT -READ NO MATTER WHAT
  119. #We recommend to use this feature even if you only have 1 lobby and 1 auth lobby
  120.  
  121. #This feature allows you balance the amount of players within your login/auth servers
  122. #This feature will override the returnServer feature, unless forcibly enabled.
  123. useLoginServerBalancer: false
  124. #This feature redirects players from the login servers, to a lobby with a balanced player amount
  125. #This feature CAN override the returnServer feature, unless forcibly enabled.
  126. #LobbyServer Balancer can work with or without the auth server balancer, but is recommended to use both at the same time.
  127. useLobbyServerBalancer: false
  128. LoginBalance:
  129. LoginServers:
  130. - authlobby01
  131. LobbyBalance:
  132. LobbyServers:
  133. - lobby01
  134.  
  135. #Any time a player connects they will be sent to lobby server
  136. #If balancer is enabled, player will be sent to one of the Lobby servers with your lobby balancer, (useLobbyServerBalancer enabled)
  137. #If balancer is not enabled they will be sent to the LobbyServer
  138. #Over rides return Server, unless forcibly enabled.
  139. #TO SET THIS UP EFFICIENTLY, SET YOUR DEFAULT SERVER AS YOUR PRIMARY LOBBY SERVER
  140. #ALSO MAKE THE LOBBY YOUR MAIN PRIORITY SERVER WITHIN THE BUNGEECORD CONFIG
  141. alwaysLobby: false
  142.  
  143. #The name of the language file being used.
  144. #defaults: en and es (en - English, es - Spanish)
  145. messages:
  146. language: es
  147. #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!
  148.  
  149. #If the players IP does not match the IP within the database, they will require to relogin.
  150. bindCheck: true
  151. #WARNING YOU MUST SET THE FOLLOWING SETTINGS WITH IN YOUR BUNGEECORD TO SETUP BindCheck CORRECTLY.
  152. #1 First go within bungeecord and set ip_forward: false to ip_forward: true
  153. #2 Go inside all Servers and within the spigot.yml set bungeecord: true
  154. #3 Save and restart all servers.
  155. #4 YOU CAN DO THIS EVEN IF YOU ARE RUNNING AN OFFLINE SERVER "Cracked Server."
  156.  
  157. #ENABLE IF YOU ARE USING BOTH BUNGEECORD AND SPIGOT/BUKKIT PLUGINS.
  158. #IF YOU ARE ONLY USING BUNGEECORD SET TO FALSE.
  159. #IF YOU KEEP THIS ENABLED, AND YOU ARE NOT USING IT "UNKNOWN COMMAND ERROR," WILL APPEAR.
  160. serverSide: true
  161.  
  162. #Send to lobby server delay
  163. #This only works if you are using the Lobby & Login Balancers
  164. #Feature requested to help handle Async logins
  165. #This feature is recommended to use, as it insure a stable login
  166. delaylogin: false
  167.  
  168. #System to enable or disable wether to send premium players to their own lobby
  169. #and send fake players to a fake player lobby.
  170. #Also enable delayLogin in order to override return to auth lobby check
  171. #If you would like to use multi-lobby and multi login remove set Premium-lobby and fake-lobby to just ''
  172. premium-lobby:
  173. enabled: false
  174. premium-lobby: 'PremiumLobby'
  175. fake-lobby: 'FakePlayerLobby'
  176. premium-lobby-multi:
  177. - 'lobby'
  178. fake-lobby-multi:
  179. - 'login01'
  180.  
  181. #This feature allows certain players to connect with specific names however, require their ip to match
  182. #a set ip within the ipmanager.yml
  183. #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!
  184. ipmanager:
  185. enabled: false
  186.  
  187. #Setup a system where only x amount of accounts can be created on an IP
  188. #For example, the max Ip is set to 1, and Zumorik created the account with the IP 127.0.0.2
  189. #Now 127.0.0.2 has been assigned to Zumorik's account, and that ip can only be used once
  190. #IF Zumorik was banned and he tried to make another account, when he tries to do /register <password> <password>
  191. #He will be denied registration and kicked if option is enabled.
  192. ip-registration:
  193. enabled: false
  194. maxIP: 3
  195. kick: false
  196.  
  197. #Enabled /hub command
  198. #If Premium player and fake player servers are enabled, the player will be sent to a lobby corresponding to your premium-lobby system
  199. #Ex: Premium player will be sent to premium lobby, Non premium player will be sent to non premium lobby
  200. #If lobby balancer is enabled, the player will be sent to a lobby corresponding to your LobbyBalance System (Least active lobby or only lobby)
  201. #If none of the above is enabled the player will be sent to the LobbyServer as defined above.
  202. #If you enable or disable this command, the server will require a RESTART
  203. HubCommand:
  204. enabled: false
  205.  
  206. #If a server goes down this feature will redirect the player to your defined lobby system
  207. #Supported lobby systems
  208. # - Premium player lobbies / cracked player lobbies
  209. # - Login/Lobby server balancers
  210. # - Normal LobbyServer system
  211. returnLobby:
  212. enabled: false
  213. reasons:
  214. - Server Closed
  215. #This feature helps prevent mass bot attacks by blocking cracked logins if the current amount of
  216. #logins exceds the maximum amount of cracked logins per minute.
  217. #Note: since we cannot change client messages the message will display as Failed Session login when enabled
  218. MaxLoginRate:
  219. enabled: true
  220. maximum: 10
  221. minutes: 1
  222. motd:
  223. enabled: false
  224. message: '&cEl servidor actualmente está experimentando demasiadas conexiones, por favor espera 1 minuto'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement