跳到正文

RespectProxyOptions

作者:allinkdev

Makes the client fully support SOCKS proxy settings.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Respect Proxy Options

Adds full SOCKS-proxy support to the Minecraft client by adding support for the built-in JVM arguments in the Netty pipeline.

You can, for example, use this in order to proxy the Minecraft client through [Tor] or a [SSH dynamic proxy].

JVM Argument Configuration

| Name | Description | Default | Example | v4 | v5 |
|————————-|————————————————————————————————————-|———|—————————————–|——|———————————————————-|
| socksProxyHost | The hostname of the SOCKS proxy to connect to. | | -DsocksProxyHost=127.0.0.1 | Yes | Yes. |
| socksProxyPort | The port the SOCKS proxy is operating on relative to the provided socksProxyHost | 1080 | -DsocksProxyHost=8080 | Yes. | Yes. |
| java.net.socks.username | The username to authenticate with. This is ignored if a java.net.Authenticator instance is configured. | | -Djava.net.socks.username=bob | Yes. | Yes, but the password argument must be provided as well. |
| java.net.socks.password | The password to authenticate with. This is also ignored if a java.net.Authenticator instance is configured. | | -Djava.net.socks.password=password123 | No. | Yes, but the username argument must be provided as well. |

常见问题

RespectProxyOptions 支持哪些 Minecraft 版本?

RespectProxyOptions 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

RespectProxyOptions 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

allinkdev 的其他作品

查看全部 →