Advertisement
Guest User

mysql storage

a guest
Aug 13th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. # +----------------------------------------------------------------------------------------------+ #
  2. # | Storage | #
  3. # +----------------------------------------------------------------------------------------------+ #
  4.  
  5. # Which storage method the plugin should use.
  6. #
  7. # See: https://github.com/lucko/LuckPerms/wiki/Choosing-a-Storage-type
  8. # Currently supported: mysql, mariadb, postgresql, sqlite, h2, json, yaml, mongodb
  9. #
  10. # Fill out connection info below if you're using MySQL, MariaDB, PostgreSQL or MongoDB
  11. # If your MySQL server supports it, the "mariadb" option is preferred over "mysql".
  12. storage-method: MySQL
  13.  
  14. # When using a file-based storage type, LuckPerms can monitor the data files for changes, and then
  15. # schedule automatic updates when changes are detected.
  16. #
  17. # If you don't want this to happen, set this option to false.
  18. watch-files: true
  19.  
  20. # This block enables support for split datastores.
  21. split-storage:
  22. enabled: false
  23. methods:
  24. user: h2
  25. group: h2
  26. track: h2
  27. uuid: h2
  28. log: h2
  29.  
  30. data:
  31. # Uses standard DB engine port by default
  32. # MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
  33. # Specify as "host:port" if differs
  34. address: DEINEIP_OHNEPORT
  35.  
  36. database: DEINE DATENBANK
  37. username: NUTZERNAME
  38. password: PASSWORT
  39. pool-size: 10 # The size of the MySQL connection pool.
  40.  
  41. # The prefix for all LuckPerms tables. Change this is you want to use different tables for
  42. # different servers.
  43. #
  44. # This should *not* be set to "lp_" if you have previously ran LuckPerms v2.16.81 or earlier with
  45. # this database.
  46. table_prefix: 'luckperms_'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement