Advertisement
Guest User

Untitled

a guest
Mar 27th, 2018
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. # +----------------------------------------------------------------------------------------------+ #
  2. # | Storage | #
  3. # +----------------------------------------------------------------------------------------------+ #
  4.  
  5. # Which storage method the plugin should use.
  6. #
  7. # See: https://github.com/lucko/LuckPerms/wiki/Choosing-a-Storage-type
  8. # Currently supported: mysql, mariadb, postgresql, sqlite, h2, json, yaml, hocon, mongodb
  9. #
  10. # Fill out connection info below if you're using MySQL, MariaDB, PostgreSQL or MongoDB
  11. # If your MySQL server supports it, the "mariadb" option is preferred over "mysql".
  12. storage-method: 'mysql'
  13.  
  14. # When using a file-based storage type, LuckPerms can monitor the data files for changes, and then
  15. # schedule automatic updates when changes are detected.
  16. #
  17. # If you don't want this to happen, set this option to false.
  18. watch-files: true
  19.  
  20. # This block enables support for split datastores.
  21. split-storage:
  22. enabled: false
  23. methods:
  24. user: h2
  25. group: h2
  26. track: h2
  27. uuid: h2
  28. log: h2
  29.  
  30. data:
  31. # Uses standard DB engine port by default
  32. # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  33. # Specify as "host:port" if differs
  34. address: 'localhost'
  35.  
  36. database: 'luckperms'
  37. username: 'ud'
  38. password: '*****************'
  39.  
  40. # These settings apply to the MySQL connection pool.
  41. # The default values will be suitable for the majority of users.
  42. # Do not change these settings unless you know what you're doing!
  43. pool-settings:
  44.  
  45. # Sets the maximum size of the MySQL connection pool.
  46. # Basically this value will determine the maximum number of actual
  47. # connections to the database backend.
  48. #
  49. # More information about determining the size of connection pools can be found here:
  50. # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  51. maximum-pool-size: 10
  52.  
  53. # Sets the minimum number of idle connections that the pool will try to maintain.
  54. #
  55. # For maximum performance and responsiveness to spike demands, it is recommended to not set
  56. # this value and instead allow the pool to act as a fixed size connection pool.
  57. # (set this value to the same as 'maximum-pool-size')
  58. minimum-idle: 10
  59.  
  60. # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
  61. # The value should be at least 30 seconds less than any database or infrastructure imposed
  62. # connection time limit.
  63. maximum-lifetime: 1800000 # 30 minutes
  64.  
  65. # This setting controls the maximum number of milliseconds that the plugin will wait for a
  66. # connection from the pool, before timing out.
  67. connection-timeout: 5000 # 5 seconds
  68.  
  69. # This setting allows you to define extra properties for connections.
  70. properties:
  71. useUnicode: true
  72. characterEncoding: utf8
  73.  
  74. # The prefix for all LuckPerms tables. Change this is you want to use different tables for
  75. # different servers.
  76. #
  77. # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with
  78. # this database.
  79. table_prefix: 'luckperms_'
  80.  
  81. # The prefix to use for all LuckPerms collections. Change this if you want to use different
  82. # collections for different servers. The default is no prefix.
  83. mongodb_collection_prefix: ''
  84.  
  85. # MongoDB ClientConnectionURI for use with replicasets and custom connection options
  86. # See https://docs.mongodb.com/manual/reference/connection-string/
  87. mongodb_connection_URI: ''
  88.  
  89. # This option controls how frequently LuckPerms will perform a sync task.
  90. # A sync task will refresh all data from the storage, and ensure that the most up-to-date data is
  91. # being used by the plugin.
  92. #
  93. # This is disabled by default, as most users will not need it. However, if you're using a remote
  94. # storage type without a messaging service setup, you may wish to set this value to something like
  95. # 3.
  96. #
  97. # Set to -1 to disable the task completely.
  98. sync-minutes: -1
  99.  
  100. # Settings for the messaging service
  101. #
  102. # If enabled and configured, LuckPerms will use the messaging system to inform other
  103. # connected servers of changes. Use the command "/luckperms networksync" to push changes.
  104. # Data is NOT stored using this service. It is only used as a messaging platform.
  105. #
  106. # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for
  107. # LuckPerms to poll the database for changes.
  108. #
  109. # Available options:
  110. # -> bungee uses the plugin messaging channels. Must be enabled on all connected servers to work.
  111. # -> lilypad uses lilypad pub sub to push changes. You need to have the LilyPad-Connect plugin
  112. # installed.
  113. # -> redis uses redis pub sub to push changes. Your redis server must be configured below.
  114. # -> none nothing
  115. messaging-service: bungee
  116.  
  117. # If LuckPerms should automatically push updates after a change has been made with a command.
  118. auto-push-updates: true
  119.  
  120. # If LuckPerms should push logging entries to connected servers via the messaging service.
  121. push-log-entries: true
  122.  
  123. # If LuckPerms should broadcast received logging entries to players on this platform.
  124. #
  125. # If you have LuckPerms installed on your backend servers as well as a BungeeCord proxy, you should
  126. # set this option to false on either your backends or your proxies, to avoid players being messaged
  127. # twice about log entries.
  128. broadcast-received-log-entries: true
  129.  
  130. # Settings for Redis.
  131. # Port 6379 is used by default; set address to "host:port" if differs
  132. redis:
  133. enabled: false
  134. address: localhost
  135. password: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement