docs: 修正文档
[skip ci]
This commit is contained in:
18
README.md
18
README.md
@@ -9,8 +9,6 @@
|
|||||||
3. 命令行窗口中执行`./gradlew clean build`
|
3. 命令行窗口中执行`./gradlew clean build`
|
||||||
4. 构建成品在 `build` 文件夹
|
4. 构建成品在 `build` 文件夹
|
||||||
|
|
||||||
也可访问我的[Jenkins网站](https://jenkins.airgame.net/job/opensource/job/hamster-core/)获取最新版
|
|
||||||
|
|
||||||
# 开发
|
# 开发
|
||||||
|
|
||||||
## 添加依赖
|
## 添加依赖
|
||||||
@@ -26,9 +24,9 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// 对于 Bukkit 插件
|
// 对于 Bukkit 插件
|
||||||
compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.3.4-SNAPSHOT")
|
compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.4.0")
|
||||||
// 对于 BungeeCord 插件
|
// 对于 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 {
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.hamster3.mc.plugin</groupId>
|
<groupId>cn.hamster3.mc.plugin</groupId>
|
||||||
<artifactId>core-bukkit</artifactId>
|
<artifactId>core-bukkit</artifactId>
|
||||||
<version>1.3.4-SNAPSHOT</version>
|
<version>1.4.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!--对于 BungeeCord 插件-->
|
<!--对于 BungeeCord 插件-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.hamster3.mc.plugin</groupId>
|
<groupId>cn.hamster3.mc.plugin</groupId>
|
||||||
<artifactId>core-bungee</artifactId>
|
<artifactId>core-bungee</artifactId>
|
||||||
<version>1.3.4-SNAPSHOT</version>
|
<version>1.4.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
@@ -74,10 +72,4 @@ dependencies {
|
|||||||
- 使用方法为:`CoreAPI.getInstance().xxx()`
|
- 使用方法为:`CoreAPI.getInstance().xxx()`
|
||||||
- 部分通用的工具代码在 `cn.hamster3.mc.plugin.core.common.util` 包中
|
- 部分通用的工具代码在 `cn.hamster3.mc.plugin.core.common.util` 包中
|
||||||
- 部分Bukkit的工具代码在 `cn.hamster3.mc.plugin.core.bukkit.util` 包中
|
- 部分Bukkit的工具代码在 `cn.hamster3.mc.plugin.core.bukkit.util` 包中
|
||||||
- 部分BungeeCord的工具代码在 `cn.hamster3.mc.plugin.core.bungee.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` 参数解决
|
|
Reference in New Issue
Block a user