Advertisement
Guest User

Untitled

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