Guest User

Untitled

a guest
Feb 21st, 2021
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. #
  2. # - When set to "global" this setting is effectively ignored.
  3. # - In all other cases, the value here is added to all players in a "server" context.
  4. # - See: https://luckperms.net/wiki/Context
  5. server: global
  6.  
  7. # If the servers own UUID cache/lookup facility should be used when there is no record for a player
  8. # already in LuckPerms.
  9. #
  10. # - When this is set to 'false', commands using a player's username will not work unless the player
  11. # has joined since LuckPerms was first installed.
  12. # - To get around this, you can use a player's uuid directly in the command, or enable this option.
  13. # - When this is set to 'true', the server facility is used. This may use a number of methods,
  14. # including checking the servers local cache, or making a request to the Mojang API.
  15. use-server-uuid-cache: false
  16.  
  17.  
  18.  
  19.  
  20. # +----------------------------------------------------------------------------------------------+ #
  21. # | | #
  22. # | STORAGE SETTINGS | #
  23. # | | #
  24. # | Controls which storage method LuckPerms will use to store data. | #
  25. # | | #
  26. # +----------------------------------------------------------------------------------------------+ #
  27.  
  28. # How the plugin should store data
  29. #
  30. # - The various options are explained in more detail on the wiki:
  31. # https://luckperms.net/wiki/Storage-types
  32. #
  33. # - Possible options:
  34. #
  35. # | Remote databases - require connection information to be configured below
  36. # |=> MySQL
  37. # |=> MariaDB (preferred over MySQL)
  38. # |=> PostgreSQL
  39. # |=> MongoDB
  40. #
  41. # | Flatfile/local database - don't require any extra configuration
  42. # |=> H2 (preferred over SQLite)
  43. # |=> SQLite
  44. #
  45. # | Readable & editable text files - don't require any extra configuration
  46. # |=> YAML (.yml files)
  47. # |=> JSON (.json files)
  48. # |=> HOCON (.conf files)
  49. # |=> TOML (.toml files)
  50. # |
  51. # | By default, user, group and track data is separated into different files. Data can be combined
  52. # | and all stored in the same file by switching to a combined storage variant.
  53. # | Just add '-combined' to the end of the storage-method, e.g. 'yaml-combined'
  54. #
  55. # - A H2 database is the default option.
  56. # - If you want to edit data manually in "traditional" storage files, we suggest using YAML.
  57. storage-method: MySQL
  58.  
  59. # The following block defines the settings for remote database storage methods.
  60. #
  61. # - You don't need to touch any of the settings here if you're using a local storage method!
  62. # - The connection detail options are shared between all remote storage types.
  63. data:
  64.  
  65. # Define the address and port for the database.
  66. # - The standard DB engine port is used by default
  67. # (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
  68. # - Specify as "host:port" if differs
  69. address: casa2.fakaheda.eu
  70.  
  71. # The name of the database to store LuckPerms data in.
  72. # - This must be created already. Don't worry about this setting if you're using MongoDB.
  73. database: 330972_mysql_db
  74.  
  75. # Credentials for the database.
  76. username: 330972_mysql_db
  77. password: 'mypass'
  78.  
  79. # These settings apply to the MySQL connection pool.
  80. # - The default values will be suitable for the majority of users.
  81. # - Do not change these settings unless you know what you're doing!
  82. pool-settings:
  83.  
  84. # Sets the maximum size of the MySQL connection pool.
  85. # - Basically this value will determine the maximum number of actual
  86. # connections to the database backend.
  87. # - More information about determining the size of connection pools can be found here:
  88. # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  89. maximum-pool-size: 10
  90.  
  91. # Sets the minimum number of idle connections that the pool will try to maintain.
  92. # - For maximum performance and responsiveness to spike demands, it is recommended to not set
  93. # this value and instead allow the pool to act as a fixed size connection pool.
  94. # (set this value to the same as 'maximum-pool-size')
  95. minimum-idle: 10
  96.  
  97. # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
  98. # - The value should be at least 30 seconds less than any database or infrastructure imposed
  99. # connection time limit.
  100. maximum-lifetime: 1800000 # 30 minutes
  101.  
Advertisement
Add Comment
Please, Sign In to add comment