Add H2 database support, use indexes to optimize queries, add maria-specific schema, bump adventure-fabric (#465)

* Add support for H2, bundle Maria driver, bump fabric adventure

* Bundle and download H2 drivers

* Fixup H2 schema, add indexes to DBs, add maria-specific schema

* docs: Add database type documentation

* Check plugin isn't disabled before task schedule, close #463

* Bump Annotaml to 2.0.4

* docs: Mention Maria in README and Setup
This commit is contained in:
William authored and GitHub committed 2023-07-18 15:03:31 +01:00
1 parent 8d2424a7ef
commit beed438c16
28 files changed
+1443 -50

No files matched your search

+3 -3
View File
@@ -24,11 +24,11 @@ language: en-gb
# Whether to automatically check for plugin updates on startup
check_for_updates: true
database:
# Type of database to use (MYSQL, SQLITE)
# Type of database to use (SQLITE, H2, MYSQL or MARIADB)
type: SQLITE
mysql:
credentials:
# Specify credentials here if you are using MYSQL as your database type
# Specify credentials here if you are using MYSQL or MARIADB as your database type
host: localhost
port: 3306
database: HuskHomes
@@ -36,7 +36,7 @@ database:
password: pa55w0rd
parameters: ?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8
connection_pool:
# MYSQL database Hikari connection pool properties. Don't modify this unless you know what you're doing!
# MYSQL / MARIADB database Hikari connection pool properties. Don't modify this unless you know what you're doing!
size: 12
idle: 12
lifetime: 1800000