You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
936 B
52 lines
936 B
Settings:
|
|
#SQLite MySQL MariaDB
|
|
#MariaDB require DatabaseDrivers
|
|
storage-type: SQLite
|
|
#Use connection pool or not
|
|
#Require 'slf4j' dependencies
|
|
#At least java version 11 is required
|
|
usepool: false
|
|
|
|
|
|
#SQLite settings
|
|
SQLite:
|
|
#Address is the folder path
|
|
path: Default
|
|
|
|
|
|
#MySQL settings
|
|
MySQL:
|
|
host: localhost
|
|
port: 3306
|
|
user: root
|
|
pass: root
|
|
database: data
|
|
#auto add "_", can use %sign% to indicate Server ID (BungeeCord settings)
|
|
table-suffix: ''
|
|
property:
|
|
usessl: false
|
|
encoding: utf8
|
|
timezone: ''
|
|
allowPublicKeyRetrieval: false
|
|
|
|
|
|
#Connection pool settings
|
|
Pool-Settings:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 10
|
|
maximum-lifetime: 180000
|
|
idle-timeout: 60000
|
|
|
|
|
|
#Redis settings
|
|
Redis:
|
|
host: localhost
|
|
port: 6379
|
|
db-index: 1
|
|
pool-settings:
|
|
max-total: 20
|
|
max-idle: 20
|
|
min-idle: 0
|
|
auth:
|
|
user: ''
|
|
pass: '' |