Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # - When set to "global" this setting is effectively ignored.
- # - In all other cases, the value here is added to all players in a "server" context.
- # - See: https://luckperms.net/wiki/Context
- server: global
- # If the servers own UUID cache/lookup facility should be used when there is no record for a player
- # already in LuckPerms.
- #
- # - When this is set to 'false', commands using a player's username will not work unless the player
- # has joined since LuckPerms was first installed.
- # - To get around this, you can use a player's uuid directly in the command, or enable this option.
- # - When this is set to 'true', the server facility is used. This may use a number of methods,
- # including checking the servers local cache, or making a request to the Mojang API.
- use-server-uuid-cache: false
- # +----------------------------------------------------------------------------------------------+ #
- # | | #
- # | STORAGE SETTINGS | #
- # | | #
- # | Controls which storage method LuckPerms will use to store data. | #
- # | | #
- # +----------------------------------------------------------------------------------------------+ #
- # How the plugin should store data
- #
- # - The various options are explained in more detail on the wiki:
- # https://luckperms.net/wiki/Storage-types
- #
- # - Possible options:
- #
- # | Remote databases - require connection information to be configured below
- # |=> MySQL
- # |=> MariaDB (preferred over MySQL)
- # |=> PostgreSQL
- # |=> MongoDB
- #
- # | Flatfile/local database - don't require any extra configuration
- # |=> H2 (preferred over SQLite)
- # |=> SQLite
- #
- # | Readable & editable text files - don't require any extra configuration
- # |=> YAML (.yml files)
- # |=> JSON (.json files)
- # |=> HOCON (.conf files)
- # |=> TOML (.toml files)
- # |
- # | By default, user, group and track data is separated into different files. Data can be combined
- # | and all stored in the same file by switching to a combined storage variant.
- # | Just add '-combined' to the end of the storage-method, e.g. 'yaml-combined'
- #
- # - A H2 database is the default option.
- # - If you want to edit data manually in "traditional" storage files, we suggest using YAML.
- storage-method: MySQL
- # The following block defines the settings for remote database storage methods.
- #
- # - You don't need to touch any of the settings here if you're using a local storage method!
- # - The connection detail options are shared between all remote storage types.
- 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: casa2.fakaheda.eu
- # 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: 330972_mysql_db
- # Credentials for the database.
- username: 330972_mysql_db
- password: 'mypass'
- # 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
Advertisement
Add Comment
Please, Sign In to add comment