Compatibility
Minecraft: Java Edition
1.21.5
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Details
Licensed LGPL-3.0-or-later
Published last week
Updated 2 weeks ago
Allow Minecraft server use user provided proxy to do online authentication.
In some areas of the world, sometimes Mojang's server can't be connected easily. This mod allow users to use a proxy for authentication, to overcome this problem.
Usage:
- Install this mod only in your server. This mod doesn't apply on client, because Minecraft client has built-in proxy support.
- Set JVM properties
socksProxyHost
andsocksProxyPort
for SOCKS5 proxy, orhttp.proxyHost
andhttp.proxyPort
for HTTP proxy. For example, if your SOCKS5 server is at127.0.0.1:1080
, you should add-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080
to your launch script. - Start your server and enjoy! Your server log should show a line like
Use SOCKS/HTTP proxy: host:port
.
允许 Minecraft 使用用户指定的代理来完成用户验证。
在世界上的一些地方不能轻松地访问 Mojang 的验证服务器。这个 mod 允许用户使用一个代理来连接验证服务器,从而解决这个问题。
用法:
- 安装这个 mod 到你的 服务端 。这个 mod 不适用于客户端,因为 Minecraft 客户端有着自带的代理支持。
- 设置 JVM 参数。如果你使用的是 SOCKS 代理,请设置
socksProxyHost
和socksProxyPort
参数,或者如果你使用的是 HTTP 代理,设置http.proxyHost
和http.proxyPort
参数。例如,如果你的 SOCKS5 服务器在127.0.0.1:1080
上,你应该添加-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080
到你的启动脚本中。 - 启动你的服务器,然后享受吧!你的服务器日志中应该会多出一行类似于
Use SOCKS/HTTP proxy: 地址:端口
的信息。