Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. data:
  2.  
  3. # Define the address and port for the database.
  4. # - The standard DB engine port is used by default
  5. # (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
  6. # - Specify as "host:port" if differs
  7. address: localhost
  8.  
  9. # The name of the database to store LuckPerms data in.
  10. # - This must be created already. Don't worry about this setting if you're using MongoDB.
  11. database: MCserver
  12.  
  13. # Credentials for the database.
  14. username: root
  15. password: 'secret'
  16.  
  17. # These settings apply to the MySQL connection pool.
  18. # - The default values will be suitable for the majority of users.
  19. # - Do not change these settings unless you know what you're doing!
  20. pool-settings:
  21. # This setting allows you to define extra properties for connections.
  22. properties:
  23. useUnicode: true
  24. characterEncoding: utf8
  25. useSSL: false
  26. verifyServerCertificate: false
  27.  
  28. # Sets the maximum size of the MySQL connection pool.
  29. # - Basically this value will determine the maximum number of actual
  30. # connections to the database backend.
  31. # - More information about determining the size of connection pools can be found here:
  32. # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  33. maximum-pool-size: 10
  34.  
  35. # Sets the minimum number of idle connections that the pool will try to maintain.
  36. # - For maximum performance and responsiveness to spike demands, it is recommended to not set
  37. # this value and instead allow the pool to act as a fixed size connection pool.
  38. # (set this value to the same as 'maximum-pool-size')
  39. minimum-idle: 10
  40.  
  41. # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
  42. # - The value should be at least 30 seconds less than any database or infrastructure imposed
  43. # connection time limit.
  44. maximum-lifetime: 1800000 # 30 minutes
  45.  
  46. # This setting controls the maximum number of milliseconds that the plugin will wait for a
  47. # connection from the pool, before timing out.
  48. connection-timeout: 5000 # 5 seconds
  49.  
  50. # This setting allows you to define extra properties for connections.
  51. properties:
  52. useUnicode: true
  53. characterEncoding: utf8
  54.  
  55. # The prefix for all LuckPerms SQL tables.
  56. # - Change this is you want to use different tables for different servers.
  57. table_prefix: 'luckperms_'
  58.  
  59. # The prefix to use for all LuckPerms collections. Change this if you want to use different
  60. # collections for different servers. The default is no prefix.
  61. mongodb_collection_prefix: ''
  62.  
  63. # MongoDB ClientConnectionURI for use with replica sets and custom connection options
  64. # - See https://docs.mongodb.com/manual/reference/connection-string/
  65. mongodb_connection_URI: ''
  66.  
  67. # Define settings for a "split" storage setup.
  68. #
  69. # - This allows you to define a storage method for each type of data.
  70. # - The connection options above still have to be correct for each type here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement