feat: 完成网易认证功能支持
Some checks failed
Release Project / build (push) Failing after 5m51s

This commit is contained in:
2025-12-24 22:42:59 +08:00
commit 9b21e1a9b9
18 changed files with 913 additions and 0 deletions

22
README.md Normal file
View File

@@ -0,0 +1,22 @@
# VelocityNeteaseAuth
为 Velocity 代理端添加网易验证使用mixin注入代码无需修改代理端核心。
# 使用方式
1. 下载并安装 [ignite](https://github.com/vectrix-space/ignite)
2. 将本插件放到 mods 文件夹
3. 启动服务端,服务端根目录生成 `netease.yml` 文件
4. 编辑 `netease.yml` 以符合服务器预期
5. 重新启动服务端
# 如何为 Velocity 使用 ignite
1. 关闭 Velocity 服务端
2. 下载 [ignite](https://github.com/vectrix-space/ignite) 文件,将其命名为 ignite.jar并放到服务端根目录
3. 将 Velocity 核心文件重命名为 `velocity.jar`
4. 修改启动脚本,将 `java -jar velocity.jar` 改为 `java -Dignite.locator=velocity -jar ignite.jar`
- 主要目的是不再直接启动 velocity而是让 ignite 去启动 velocity
- 这样 ignite 比 velocity 先启动,就有能力在运行时动态修改或注入代码到 velocity 中
- 启动参数中的 `-Dignite.locator=velocity` 主要是告诉 ignite要启动的服务端是 `Velocity`(因为 ignite 同时也支持 Spigot/Paper
5. 启动服务端