Skip to content

Commit 02b6d4f

Browse files
authored
📝 一些核心相关描述的杂项更新 (#98)
1 parent b8d0460 commit 02b6d4f

5 files changed

Lines changed: 7 additions & 17 deletions

File tree

src/content/docs/general/java/intro.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ JRE 是运行 Java 程序所必须环境的集合,包含 JVM 标准实现及 J
2222

2323
**开服最好选择 JDK**,这样不会因为一些插件/mod 使用类似 ByteBuddy 等黑魔法导致报错,也可以轻松使用 Arthas 等分析工具。
2424

25-
并且像 Pufferfish 之类的端可以使用 JDK 中的 SIMD 进行优化。
26-
2725
毕竟,现在谁还缺几十 MB 的存储空间,~~真缺那就别开服了~~
2826

2927
---

src/content/docs/java/advance/optimize/jvm/common.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ java -Xlog:gc+init -XX:+UseTransparentHugePages -Xmx1g -version
4646

4747
:::
4848

49-
## SIMD
50-
51-
如果你使用的是 Pufferfish 的分支 (Purpur,Leaf,Leaves,Gale),你可以添加此参数
52-
53-
```txt
54-
--add-modules=jdk.incubator.vector
55-
```
56-
5749
## 下载源加速
5850

5951
默认的 SpigotLibraryLoader 下载源或插件使用 PaperLibraryLoader 添加的 Maven 中心仓库下载源在国内访问很慢,

src/content/docs/java/advance/optimize/optimized-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ _[TooManyGen](https://modrinth.com/plugin/toomanygen) - 惩罚玩家跑图,实
4747

4848
因此,停止使用类似插件,如:
4949

50-
_LaggRemover (Fork) - 有时候会导致即使插件卸载,实体 AI 也被移除了,比不上 Pufferfish (使用 Purpur Fork 即可) 根据距离衰减的
50+
_LaggRemover (Fork) - 有时候会导致即使插件卸载,实体 AI 也被移除了,比不上 Pufferfish (或其他专注优化的分支) 根据距离衰减的
5151
AI._
5252

5353
### 任何对于内存 GC 进行操作的插件

src/content/docs/java/process/redstone/plugin.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ title: 插件端
2323
### Paper 世界默认配置
2424

2525
```yaml
26-
# paper-world-defaults.yml
26+
# config/paper-world-defaults.yml
2727
chunks:
2828
# 延迟卸载区块的时间,格式为带有单个时间单位的数字,例如 10h(小时)、25m(分钟),支持 d、h、m 和 s 单位
2929
# 设为 0s,以允许使用末影珍珠滞留回传装置
@@ -118,7 +118,7 @@ unsupported-settings:
118118
:::
119119

120120
```yaml
121-
# paper-global.yml
121+
# config/paper-global.yml
122122
commands:
123123
# 当按 Tab 键补全且没有其他选项时,是否返回在线玩家名称列表
124124
suggest-player-names-when-null-tab-completions: false
@@ -322,7 +322,7 @@ Folia 是 Paper 的分支,也就是说 Paper 玩不了的机器 Folia 照样
322322
:::
323323

324324
```toml
325-
# luminol_global_config.toml
325+
# luminol_config/luminol_global_config.toml
326326
[fixes.poi_range_fixes]
327327
# 当区块未加载时,是否不进行村民竞争同一兴趣点的计算
328328
# 设为 true,以解决大型刷铁机等包含村民的大型机器的一部分卡服问题
@@ -387,7 +387,7 @@ Folia 是 Paper 的分支,也就是说 Paper 玩不了的机器 Folia 照样
387387
Lophine 是一个基于 Luminol 的分支,相比于 Luminol 添加了更多适用于生电的实用功能和可配置的原版特性。其目标是在 Folia 上实现更多生电相关机制。
388388

389389
```toml
390-
# lophine_global_config.toml
390+
# lophine_config/lophine_global_config.toml
391391
[experiment.redstone]
392392
# 是否重新引入 1.19 版本前的瞬时方块更新机制
393393
instant-block-updater = true

src/content/docs/java/start/server-core-choose/relationship-between-servers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Gale - 是基于 Paper 的一个专注各种性能优化的 Fork;
3232

3333
Leaves - 是基于 Paper 的一个致力于修复原版服务端被破坏特性的 Fork;
3434

35-
Purpur - 是基于 Purfferfish 的一个专注功能性和性能的 Fork;
35+
Purpur - 是基于 Paper 的一个专注自定义配置和功能性的 Fork;
3636

37-
Leaf - 是基于 Purfferfish,Purpur,Gale 等的专注于性能的 Fork。
37+
Leaf - 是基于 Paper 的专注于各种性能优化的 Fork。
3838

3939
## Mod 端
4040

0 commit comments

Comments
 (0)