From f14c6132d91a1869e51a103b36378ca3c6140ff8 Mon Sep 17 00:00:00 2001 From: CarmJos Date: Wed, 23 Feb 2022 05:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=83=A8=E5=88=86=E4=BB=8B?= =?UTF-8?q?=E7=BB=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 848057a..f5a124e 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,16 @@ databases: file-path: "db-files/minecraft" ``` +### Properties 配置文件 [`<插件目录>/db-properties/*.properties](easysql-plugin-core/src/main/resources/db-properties/.example-mysql.properties) + +示例配置请见 [示例MySQL数据源Properties](easysql-plugin-core/src/main/resources/db-properties/.example-mysql.properties)。 + +该功能一般用于专业开发者使用,若您不了解该功能,请尽量使用config.yml中提供的配置方式,简单便捷,能够满足大多数需求。 + +更多帮助详见 [BeeCP项目帮助](https://github.com/Chris2018998/BeeCP) 。 + + + ## 开发 ### 依赖方式 @@ -70,7 +80,7 @@ databases: Maven Central https://repo1.maven.org/maven2 - + EasySQL-Plugin @@ -88,7 +98,7 @@ databases: - + cc.carm.plugin easysql-plugin-api @@ -99,6 +109,7 @@ databases: ``` +
@@ -106,12 +117,12 @@ databases: ```groovy repositories { - + //采用Maven中心库,安全稳定,但版本更新需要等待同步 mavenCentral() - + // 采用github依赖库,安全稳定,但需要配置 (推荐) - maven { url 'https://maven.pkg.github.com/CarmJos/EasyPlugin' } + maven { url 'https://maven.pkg.github.com/CarmJos/EasySQL-Plugin' } // 采用我的私人依赖库,简单方便,但可能因为变故而无法使用 maven { url 'https://repo.carm.cc/repository/maven-public/' } @@ -121,6 +132,7 @@ dependencies { compileOnly "cc.carm.plugin:easysql-plugin-api:[LATEST RELEASE]" } ``` +
## 指令