Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. sql:
  2. # H2, MySQL, MariaDB, and PostgreSQL are supported database drivers.
  3. driver: H2
  4.  
  5. ## MySQL/PostgreSQL settings ##
  6. # If using H2, the database will be stored in the LiteBans plugin folder,
  7. # and most of these settings won't apply.
  8.  
  9. # Database server address.
  10. address: localhost:3306
  11.  
  12. # Database name, username and password.
  13. database: 'litebans'
  14. username: ''
  15. password: ''
  16.  
  17. table_prefix: 'litebans_'
  18.  
  19. # LiteBans utilizes connection pooling for extra performance and reliability.
  20. # min_connections: Minimum amount of pooled connections.
  21. # max_connections: Maximum amount of pooled connections. See: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  22. # timeout: Connection timeout.
  23. # idle_timeout: Maximum amount of time a pooled connection can remain idle before it is closed for inactivity.
  24. pool:
  25. min_connections: 1
  26. max_connections: 10
  27. timeout: 30 seconds
  28. idle_timeout: 1 minute
  29.  
  30. # Database engine. Only applies to MySQL.
  31. engine: InnoDB
  32.  
  33. # Format: <name>:<class>[:URL]
  34. drivers:
  35. - mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.37/mysql-connector-java-5.1.37.jar
  36. - pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4-1201-jdbc41/postgresql-9.4-1201-jdbc41.jar
  37. - mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.3.0/mariadb-java-client-1.3.0.jar
  38. - sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.8.11.1/sqlite-jdbc-3.8.11.1.jar
  39. - h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/1.4.188/h2-1.4.188.jar
  40.  
  41. durations:
  42. # Can be bypassed with the permission "litebans.unlimited.ban"
  43. tempban_max: 7 days
  44. # Can be bypassed with the permission "litebans.unlimited.mute"
  45. mute_max: 1 day
  46. # If true, players will not get an error when using a duration higher than the configured limit.
  47. # The duration will be rounded down to the maximum duration instead.
  48. round_down: true
  49.  
  50. mutes:
  51. enabled: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement