Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data:
- # Define the address and port for the database.
- # - The standard DB engine port is used by default
- # (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
- # - Specify as "host:port" if differs
- address: localhost
- # The name of the database to store LuckPerms data in.
- # - This must be created already. Don't worry about this setting if you're using MongoDB.
- database: MCserver
- # Credentials for the database.
- username: root
- password: 'secret'
- # 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:
- # This setting allows you to define extra properties for connections.
- properties:
- useUnicode: true
- characterEncoding: utf8
- useSSL: false
- verifyServerCertificate: false
- # 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 # 5 seconds
- # This setting allows you to define extra properties for connections.
- properties:
- useUnicode: true
- characterEncoding: utf8
- # The prefix for all LuckPerms SQL tables.
- # - Change this is you want to use different tables for different servers.
- 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 replica sets and custom connection options
- # - See https://docs.mongodb.com/manual/reference/connection-string/
- mongodb_connection_URI: ''
- # Define settings for a "split" storage setup.
- #
- # - This allows you to define a storage method for each type of data.
- # - The connection options above still have to be correct for each type here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement