30

为MineCraft启动器挂上代理

 2 years ago
source link: https://blog.chih.me/socks-for-minecraft.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

为MineCraft启动器挂上代理

0 Comments

MineCraft官方启动器在启动的时候会从以下地址获取更新:

https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma

如你所见,用的是Amazon EC2,Amazon AWS云服务,这两个服务在国内都是部分被屏蔽的。

但是如果你有shadowsocks等socks代理的话是可以给MineCraft挂上代理的,虽然官方启动器并未提供代理设置。

我在这里用的是java提供的代理选项:

$ java -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080 -jar ~/.minecraft/Minecraft.jar

这样子打开MineCraft启动器就可以很快的登录、更新、下游戏了。但需要注意的是你通过启动器打开Minecraft游戏本体之后,游戏是不走代理的。

-EOF-


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK