Minecraft API 转发参数教程

仅需在启动命令里把参数放到 -jar 之前,无需修改游戏。

Minecraft 服务端 / 客户端

多行版本

-Dminecraft.api.auth.host=https://msp.jasonxue.top/auth
-Dminecraft.api.account.host=https://msp.jasonxue.top/account
-Dminecraft.api.session.host=https://msp.jasonxue.top/session
-Dminecraft.api.services.host=https://msp.jasonxue.top/services
-Dminecraft.api.profiles.host=https://msp.jasonxue.top/profiles

一行版本(空格分隔)

-Dminecraft.api.auth.host=https://msp.jasonxue.top/auth -Dminecraft.api.account.host=https://msp.jasonxue.top/account -Dminecraft.api.session.host=https://msp.jasonxue.top/session -Dminecraft.api.services.host=https://msp.jasonxue.top/services -Dminecraft.api.profiles.host=https://msp.jasonxue.top/profiles

适用于 MC 1.16+,也大概率适用于 Paper 等非原版端。即使高版本基本不用 `auth`,低版本仍建议带上,确保整套转发配置生效。

如果是 1.14 / 1.15 客户端,可尝试此 Backport 模组: AuthlibEnvBackport

Velocity

仅需在启动 Velocity 的命令行参数里,在 -jar 参数前加入以下参数:

-Dmojang.sessionserver=https://msp.jasonxue.top/session/session/minecraft/hasJoined