mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-29 11:59:11 +00:00
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
# YAML/MySQL/MariaDB
|
|
# 存储模式
|
|
data-storage-method: YAML
|
|
|
|
# MySQL settings
|
|
MySQL:
|
|
host: localhost
|
|
port: 3306
|
|
user: root
|
|
password: password
|
|
database: minecraft
|
|
table-prefix: customfishing
|
|
properties:
|
|
cachePrepStmts: 'true'
|
|
prepStmtCacheSize: '250'
|
|
prepStmtCacheSqlLimit: '2048'
|
|
useSSL: 'false'
|
|
verifyServerCertificate: 'false'
|
|
Pool-Settings:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 10
|
|
maximum-lifetime: 180000
|
|
idle-timeout: 60000
|
|
|
|
MariaDB:
|
|
host: localhost
|
|
port: 3306
|
|
user: root
|
|
password: password
|
|
database: minecraft
|
|
table-prefix: customfishing
|
|
properties:
|
|
cachePrepStmts: 'true'
|
|
prepStmtCacheSize: '250'
|
|
prepStmtCacheSqlLimit: '2048'
|
|
Pool-Settings:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 10
|
|
maximum-lifetime: 180000
|
|
idle-timeout: 60000
|
|
|
|
# Redis server
|
|
# Sync competition scores between servers without lag!
|
|
Redis:
|
|
host: localhost
|
|
port: 6379
|
|
MaxTotal: 10
|
|
MaxIdle: 10
|
|
MinIdle: 1
|
|
MaxWaitMillis: 30000
|
|
MinEvictableIdleTimeMillis: 1800000 |