From 55786180c890bbb4520cbff99a6329985a378a5b Mon Sep 17 00:00:00 2001 From: JerryHan3 <13671233113@163.com> Date: Sun, 19 Apr 2026 22:20:16 +0800 Subject: [PATCH] chore(docs): correct description about outpre backend config --- src/content/docs/manual/zh/config/core.md | 4 ++-- ...7\272\347\241\200\345\256\211\350\243\205.md" | 3 ++- ...7\253\351\200\237\344\270\212\346\211\213.md" | 16 +++++++++++++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/content/docs/manual/zh/config/core.md b/src/content/docs/manual/zh/config/core.md index 241dc63..96e6465 100644 --- a/src/content/docs/manual/zh/config/core.md +++ b/src/content/docs/manual/zh/config/core.md @@ -137,9 +137,9 @@ v-server { # 认证服的逻辑名,仅用于日志/状态标识;不需要在 Velocity 的 servers 中注册。 # 如果使用 ViaVersion,你需要在 Velocity 的 servers 中添加注册条目,如 outpre-auth = "127.0.0.1:30066",但不需要将其配置到 try 队列。 auth-label=outpre-auth - # 认证服的直连 Host + # ❇️认证服的直连地址 auth-host="127.0.0.1" - # 认证服的直连 Port + # ❇️认证服的直连端口 auth-port=30066 # 转接给认证服时,在连接握手中对后端暴露的 Host;留空时使用 authHost presented-host="" diff --git "a/src/content/docs/manual/zh/\345\237\272\347\241\200\345\256\211\350\243\205.md" "b/src/content/docs/manual/zh/\345\237\272\347\241\200\345\256\211\350\243\205.md" index 2de0cce..683dc7d 100644 --- "a/src/content/docs/manual/zh/\345\237\272\347\241\200\345\256\211\350\243\205.md" +++ "b/src/content/docs/manual/zh/\345\237\272\347\241\200\345\256\211\350\243\205.md" @@ -10,10 +10,11 @@ HyperZoneLogin 目前主要以单文件 JAR 包分发,运作时使用内置的 HyperZoneLogin 需要: +* 一个真实的后端服务器作为认证等待区; * 一个游戏后端作为认证成功后跳转的服务器; * 将整个群组服网络配置为使用`modern`转发模式。 -在安装 HyperZoneLogin 之前,请务必按照前述章节的指引完成 Velocity 与后端服的基础配置。 +在安装 HyperZoneLogin 之前,请务必按照前述章节的指引完成 Velocity 与游戏后端服的基础配置。 此外,你还需要阅读[`模块介绍`](/manual/zh/模块介绍/)页面,确认你所需要激活的模块。 diff --git "a/src/content/docs/manual/zh/\345\277\253\351\200\237\344\270\212\346\211\213.md" "b/src/content/docs/manual/zh/\345\277\253\351\200\237\344\270\212\346\211\213.md" index dcb3606..8c508f9 100644 --- "a/src/content/docs/manual/zh/\345\277\253\351\200\237\344\270\212\346\211\213.md" +++ "b/src/content/docs/manual/zh/\345\277\253\351\200\237\344\270\212\346\211\213.md" @@ -11,6 +11,7 @@ title: "快速上手" 开始前请先确认: - [ ] 你已经准备好一台 Velocity 代理; +- [ ] 你至少准备了两个后端服:一个等待后端、一个正式游戏后端; - [ ] 你至少准备好了一个正式游戏后端; - [ ] 你打算让玩家通过代理地址进入,而不是直连后端; - [ ] 你已经看过 [`服务器基础配置`](/manual/zh/服务器基础配置/),或者熟悉 Velocity 的`modern`转发配置方法。 @@ -20,7 +21,7 @@ title: "快速上手" 1. 下载 HyperZoneLogin 的发行 jar; 2. 把 jar 放进 Velocity 的 `plugins/`目录中; -3. 在`velocity.toml`中正确配置正式游戏后端服的ID和IP地址; +3. 在`velocity.toml`中正确配置正式游戏后端服的ID和IP地址(等待后端服无需配置); 4. 启动一次 Velocity,让插件生成初始配置文件; 5. 按照下方说明修改 [`start.conf`](/manual/zh/config/start) 配置: @@ -36,10 +37,19 @@ ready=true 6. 再次重启Velocity,让插件生成完整配置。 7. 按照下方说明修改 [`core.conf`](/manual/zh/config/core) 配置: -``` hocon title=core.conf +```hocon title=core.conf v-server { - # 认证完成后默认进入的服务器。将其改为你在velocity.toml中设置的游戏后端服ID。 + # 认证完成后默认进入的服务器。将其改为你在velocity.toml中设置的游戏后端服ID。 post-auth-default-server=play + ... + outpre { + ... + # 认证服的直连 Host。将其设置为等待后端的地址。 + auth-host="127.0.0.1" + # 认证服的直连 Port。将其设置为等待后端的端口。 + auth-port=30066 + ... + } } ```