From 1c83615b7ec20957e65419f81a20fdb926f64e30 Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Thu, 3 Jul 2025 02:33:16 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip ci] --- README.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 716d0a1..be135b2 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,6 @@ 3. 命令行窗口中执行`./gradlew clean build` 4. 构建成品在 `build` 文件夹 -也可访问我的[Jenkins网站](https://jenkins.airgame.net/job/opensource/job/hamster-core/)获取最新版 - # 开发 ## 添加依赖 @@ -26,9 +24,9 @@ repositories { dependencies { // 对于 Bukkit 插件 - compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.3.4-SNAPSHOT") + compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.4.0") // 对于 BungeeCord 插件 - compileOnly("cn.hamster3.mc.plugin:core-bungee:1.3.4-SNAPSHOT") + compileOnly("cn.hamster3.mc.plugin:core-bungee:1.4.0") } ``` @@ -54,13 +52,13 @@ dependencies { cn.hamster3.mc.plugin core-bukkit - 1.3.4-SNAPSHOT + 1.4.0 cn.hamster3.mc.plugin core-bungee - 1.3.4-SNAPSHOT + 1.4.0 @@ -74,10 +72,4 @@ dependencies { - 使用方法为:`CoreAPI.getInstance().xxx()` - 部分通用的工具代码在 `cn.hamster3.mc.plugin.core.common.util` 包中 - 部分Bukkit的工具代码在 `cn.hamster3.mc.plugin.core.bukkit.util` 包中 -- 部分BungeeCord的工具代码在 `cn.hamster3.mc.plugin.core.bungee.util` 包中 - -# 已知问题 - -部分 Windows 服务器在启动时偶尔会遇到 Redis 链接失败的问题 -如果服务器启动时遇到报错 `Caused by: java.io.IOException: Unable to establish loopback connection` -可以通过在启动脚本中添加 `-Djava.net.preferIPv4Stack=true` 参数解决 +- 部分BungeeCord的工具代码在 `cn.hamster3.mc.plugin.core.bungee.util` 包中 \ No newline at end of file