Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Which storage method the plugin should use.
- #
- # See: https://github.com/lucko/LuckPerms/wiki/Choosing-a-Storage-type
- # Currently supported: mysql, mariadb, postgresql, sqlite, h2, json, yaml, hocon, mongodb
- #
- # Fill out connection info below if you're using MySQL, MariaDB, PostgreSQL or MongoDB
- # If your MySQL server supports it, the "mariadb" option is preferred over "mysql".
- storage-method: MySql
- # When using a file-based storage type, LuckPerms can monitor the data files for changes, and then
- # schedule automatic updates when changes are detected.
- #
- # If you don't want this to happen, set this option to false.
- watch-files: true
- # This block enables support for split datastores.
- split-storage:
- enabled: false
- methods:
- user: h2
- group: h2
- track: h2
- uuid: h2
- log: h2
- data:
- # Uses standard DB engine port by default
- # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
- # Specify as "host:port" if differs
- address: localhost:3306
- database: fireuniv_test
- username: fireuniv_test
- password: 12345
- # These settings apply to the MySQL connection pool.
- # The default values will be suitable for the majority of users.
- # Do not change these settings unless you know what you're doing!
- pool-settings:
- # Sets the maximum size of the MySQL connection pool.
- # Basically this value will determine the maximum number of actual
- # connections to the database backend.
- #
- # More information about determining the size of connection pools can be found here:
- # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
- maximum-pool-size: 10
- # Sets the minimum number of idle connections that the pool will try to maintain.
- #
- # For maximum performance and responsiveness to spike demands, it is recommended to not set
- # this value and instead allow the pool to act as a fixed size connection pool.
- # (set this value to the same as 'maximum-pool-size')
- minimum-idle: 10
- # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
- # The value should be at least 30 seconds less than any database or infrastructure imposed
- # connection time limit.
- maximum-lifetime: 1800000 # 30 minutes
- # This setting controls the maximum number of milliseconds that the plugin will wait for a
- # connection from the pool, before timing out.
- connection-timeout: 5000 # 15 seconds
- # This setting allows you to define extra properties for connections.
- properties:
- useUnicode: true
- characterEncoding: utf8
- # The prefix for all LuckPerms tables. Change this is you want to use different tables for
- # different servers.
- #
- # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with
- # this database.
- table_prefix: 'luckperms_'
- # The prefix to use for all LuckPerms collections. Change this if you want to use different
- # collections for different servers. The default is no prefix.
- mongodb_collection_prefix: ''
- # MongoDB ClientConnectionURI for use with replicasets and custom connection options
- # See https://docs.mongodb.com/manual/reference/connection-string/
- mongodb_connection_URI: ''
- # This option controls how frequently LuckPerms will perform a sync task.
- # A sync task will refresh all data from the storage, and ensure that the most up-to-date data is
- # being used by the plugin.
- #
- # This is disabled by default, as most users will not need it. However, if you're using a remote
- # storage type without a messaging service setup, you may wish to set this value to something like
- # 3.
- #
- # Set to -1 to disable the task completely.
- sync-minutes: -1
- # Settings for the messaging service
- #
- # If enabled and configured, LuckPerms will use the messaging system to inform other
- # connected servers of changes. Use the command "/luckperms networksync" to push changes.
- # Data is NOT stored using this service. It is only used as a messaging platform.
- #
- # If you decide to enable this feature, you should set "sync-minutes" to -1, as there is no need for
- # LuckPerms to poll the database for changes.
- #
- # Available options:
- # -> bungee uses the plugin messaging channels. Must be enabled on all connected servers to work.
- # -> lilypad uses lilypad pub sub to push changes. You need to have the LilyPad-Connect plugin
- # installed.
- # -> redis uses redis pub sub to push changes. Your redis server must be configured below.
- # -> none nothing
- messaging-service: none
- # If LuckPerms should automatically push updates after a change has been made with a command.
- auto-push-updates: true
- # If LuckPerms should push logging entries to connected servers via the messaging service.
- push-log-entries: true
- # If LuckPerms should broadcast received logging entries to players on this platform.
- #
- # If you have LuckPerms installed on your backend servers as well as a BungeeCord proxy, you should
- # set this option to false on either your backends or your proxies, to avoid players being messaged
- # twice about log entries.
- broadcast-received-log-entries: true
- # Settings for Redis.
- # Port 6379 is used by default; set address to "host:port" if differs
- redis:
- enabled: false
- address: localhost
- password: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement