Advertisement
Guest User

dbaconfig

a guest
Sep 3rd, 2018
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.53 KB | None | 0 0
  1. # ________                              .__      __________                                      _____          __  .__
  2. # \______ \ ___.__. ____ _____    _____ |__| ____\______   \__ __  ____    ____   ____   ____   /  _  \  __ ___/  |_|  |__
  3. #  |    |  <   |  |/    \\__  \  /     \|  |/ ___\|    |  _/  |  \/    \  / ___\_/ __ \_/ __ \ /  /_\  \|  |  \   __\  |  \
  4. #  |    `   \___  |   |  \/ __ \|  Y Y  \  \  \___|    |   \  |  /   |  \/ /_/  >  ___/\  ___//    |    \  |  /|  | |   Y  \
  5. # /_______  / ____|___|  (____  /__|_|  /__|\___  >______  /____/|___|  /\___  / \___  >\___  >____|__  /____/ |__| |___|  /
  6. #         \/\/         \/     \/      \/        \/       \/           \//_____/      \/     \/        \/                 \/
  7. #
  8. #                                      Author: UraharaNZ         Version: 9.24B
  9. #
  10. # MySQL Setup "Make sure your server have the less ping ass possible between this server and mysql server for a better performance!".
  11. MySQL:
  12.   ip: 'localhost'
  13.   port: 3306
  14.   database: 'sd_dba'
  15.   user: 'sd_dba'
  16.   password: 'sd_dba'
  17.   UseSSL: false
  18.  
  19. # DelayLogin wait 1 or 2 seconds for change server after start a session/register.
  20. DelayLogin: false
  21.  
  22. # Change the UUID of premium players
  23. # true = offline uuid
  24. # false = online uuid
  25. # This will change premium player UUIDs to offline player UUIDS (cracked uuids)
  26. # IM NOT SURE IF IS WORKING FINE!
  27. Do-Not-Use-PremiumUUID: false
  28.  
  29. # Enable BStats or disable // this is optional is only to get stats of my plugin :P
  30. BStats: true
  31.  
  32. # Enable /premium command usage
  33. EnablePremiumCMD: false
  34.  
  35. # You can disable MojangAPI // This is only for chinese networks mojang sucks there.
  36. DisableMojangAPI: false
  37.  
  38. # Here you can setup a "AntiBot System" where you can set a max login rate per time like (50 players in 1 minute).
  39. MaxLogin:
  40.   enabled: true
  41.   maximum: 20
  42.   seconds: 30
  43.   motd:
  44.     enabled: false
  45.     motd: 'PLEASE WAIT SOME SECONDS AND TRY AGAIN.'
  46.  
  47. # Set the time of the player have to use the register/login commands.
  48. # Session time out, how long a player has to be offline before they have to run /login again (minutes)
  49. Timers:
  50.   LoginTime: 60
  51.   RegisterTime: 60
  52.  
  53. # Set your maximum accounts and online accounts per ip.
  54. # Accounts = Registered Accounts.
  55. Maximum:
  56.   Accounts: 5
  57.   Online: 3
  58.  
  59. # Password Data Setup "Maximum/Minimum Password Length can be used on the register command"
  60. # if The Minimum Password Length = "0" the server will auto set to 3!.
  61. # Current Encryption Support: "DEFAULT = CUSTOM ENCRYPT" "SHA" "SHA-512" "BCRPYT" "SALTED2MD5".
  62. PasswordLength:
  63.   Maximum: 16
  64.   Minimum: 5
  65.   Encryption: 'SHA-512'
  66.  
  67. # If the players IP does not match the IP within the database, they will require to relogin.
  68. bindCheck: false
  69.  
  70. # Ban here some passwords.
  71. BannedPasswords:
  72.  - '123'
  73.   - '1234'
  74.   - 'asd'
  75.   - 'asdf'
  76.  
  77. # We recommend to enable this for split the load of your servers.
  78. # This methods need to run with Lobby and Auth server for a good balance of load.
  79. Balancer:
  80.   LoginServer: false
  81.   LobbyServer: false
  82.   servers:
  83.     auth:
  84.      - 'AuthLobby01'
  85.       - 'AuthLobby02'
  86.       - 'AuthLobby03'
  87.     lobby:
  88.      - 'lobby'
  89. Redirect:
  90.   Enabled: true
  91.   Lobby: 'lobby01'
  92.  
  93. # In case you don't will use our balancer you need to setup your servers here
  94. # Always put some servers here for make a "Fallback System."
  95. Servers:
  96.   LobbyServer: 'lobby01'
  97.   AuthServer: 'auth01'
  98.  
  99. #Premium players do not require to register or login
  100. #CHANGING THIS FEATURE TO FALSE OR TRUE REQUIRES A BUNGEECORD RESTART
  101. #If you are using Auth lobby balancers, Make sure you set LobbyServer as one of your Auth Lobbies.
  102. PremiumBypass: true
  103.  
  104. # This feature allow to the cracked users use premium names like notch, etc.
  105. # PLEASE this option is RECOMMENDED to disable PremiumBypass for security.
  106. # Will be like authme everyone need to register/login but soon will be implemented
  107. # a better system where will work the auto login for the real premium user. :}!
  108. EnablePremiumProtect: true
  109.  
  110. #If a server goes down this feature will redirect the player to your defined lobby system
  111. #Supported lobby systems
  112. # - Premium player lobbies / cracked player lobbies
  113. # - Login/Lobby server balancers
  114. # - Normal LobbyServer system
  115. returnLobby:
  116.   enabled: true
  117.   reasons:
  118.    - 'Server Closed'
  119.  
  120. HubCommand:
  121.   enabled: true
  122.  
  123. # This will fix the mess when you only have 1 server setup with "You are already connected to that server"
  124. # This method already compare if its enable the balancer or not.
  125. Enable:
  126.   LobbyRedirect: false
  127.   AuthRedirect: false
  128.  
  129. # q
  130. # Sessions
  131. EnableSession: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement