9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-27 02:49:17 +00:00

2.0-backup-1

This commit is contained in:
XiaoMoMi
2023-09-01 02:23:12 +08:00
parent ce9829aeee
commit d60de693bb
416 changed files with 16225 additions and 18659 deletions

View File

@@ -0,0 +1,80 @@
# file:
# JSON
# YAML
#
# local database
# SQLite
# H2 (preferred over SQLite)
#
# remote database
# MySQL
# MariaDB (preferred over MySQL)
# MongoDB
#
data-storage-method: H2
# Server unique id, make sure that all the servers are using different ids
server-unique-id: "plz_edit_this"
SQLite:
file: 'sqlite'
table-prefix: customfishing
H2:
file: 'h2'
table-prefix: customfishing
MySQL:
host: 'localhost'
port: '3306'
user: 'root'
password: 'password'
database: 'minecraft'
connection-parameters: '?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8'
Pool-Settings:
max-pool-size: 10
min-idle: 10
max-lifetime: 180000
keep-alive-time: 60000
time-out: 20000
table-prefix: customfishing
MariaDB:
host: 'localhost'
port: '3306'
user: 'root'
password: 'password'
database: 'minecraft'
connection-parameters: '?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8'
Pool-Settings:
max-pool-size: 10
min-idle: 10
max-lifetime: 180000
keep-alive-time: 60000
time-out: 20000
table-prefix: customfishing
MongoDB:
host: 'localhost'
port: '27017'
#user: 'root'
#password: 'password'
database: 'minecraft'
# If this section is not empty, it would override the configs above
# https://www.mongodb.com/docs/manual/reference/connection-string/
connection-uri: ''
collection-prefix: customfishing
# Redis is optional if you are using remote database
# If you do not know how to use Redis, please do not enable it
Redis:
enable: false
host: localhost
#password: 123456
port: 6379
use-ssl: false
MaxTotal: 10
MaxIdle: 10
MinIdle: 1
MaxWaitMillis: 30000
MinEvictableIdleTimeMillis: 1800000