Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/content/docs/general/java/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ JRE 是运行 Java 程序所必须环境的集合,包含 JVM 标准实现及 J

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

并且像 Pufferfish 之类的端可以使用 JDK 中的 SIMD 进行优化。

毕竟,现在谁还缺几十 MB 的存储空间,~~真缺那就别开服了~~。

---
Expand Down
8 changes: 0 additions & 8 deletions src/content/docs/java/advance/optimize/jvm/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ java -Xlog:gc+init -XX:+UseTransparentHugePages -Xmx1g -version

:::

## SIMD

如果你使用的是 Pufferfish 的分支 (Purpur,Leaf,Leaves,Gale),你可以添加此参数

```txt
--add-modules=jdk.incubator.vector
```

## 下载源加速

默认的 SpigotLibraryLoader 下载源或插件使用 PaperLibraryLoader 添加的 Maven 中心仓库下载源在国内访问很慢,
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/java/advance/optimize/optimized-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ _[TooManyGen](https://modrinth.com/plugin/toomanygen) - 惩罚玩家跑图,实

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

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

### 任何对于内存 GC 进行操作的插件
Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/java/process/redstone/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ title: 插件端
### Paper 世界默认配置

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

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

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

```toml
# lophine_global_config.toml
# lophine_config/lophine_global_config.toml
[experiment.redstone]
# 是否重新引入 1.19 版本前的瞬时方块更新机制
instant-block-updater = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Gale - 是基于 Paper 的一个专注各种性能优化的 Fork;

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

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

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

## Mod 端

Expand Down