Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sql:
- # H2, MySQL, MariaDB, and PostgreSQL are supported database drivers.
- driver: H2
- ## MySQL/PostgreSQL settings ##
- # If using H2, the database will be stored in the LiteBans plugin folder,
- # and most of these settings won't apply.
- # Database server address.
- address: localhost:3306
- # Database name, username and password.
- database: 'litebans'
- username: ''
- password: ''
- table_prefix: 'litebans_'
- # LiteBans utilizes connection pooling for extra performance and reliability.
- # min_connections: Minimum amount of pooled connections.
- # max_connections: Maximum amount of pooled connections. See: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
- # timeout: Connection timeout.
- # idle_timeout: Maximum amount of time a pooled connection can remain idle before it is closed for inactivity.
- pool:
- min_connections: 1
- max_connections: 10
- timeout: 30 seconds
- idle_timeout: 1 minute
- # Database engine. Only applies to MySQL.
- engine: InnoDB
- # Format: <name>:<class>[:URL]
- drivers:
- - mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.37/mysql-connector-java-5.1.37.jar
- - pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4-1201-jdbc41/postgresql-9.4-1201-jdbc41.jar
- - 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
- - sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.8.11.1/sqlite-jdbc-3.8.11.1.jar
- - h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/1.4.188/h2-1.4.188.jar
- durations:
- # Can be bypassed with the permission "litebans.unlimited.ban"
- tempban_max: 7 days
- # Can be bypassed with the permission "litebans.unlimited.mute"
- mute_max: 1 day
- # If true, players will not get an error when using a duration higher than the configured limit.
- # The duration will be rounded down to the maximum duration instead.
- round_down: true
- mutes:
- enabled: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement