PaperMC / Waterfall

BungeeCord fork that aims to improve performance and stability.
https://papermc.io
MIT License
736 stars 295 forks source link

Add config with http request proxy #839

Open lintx opened 6 months ago

lintx commented 6 months ago

Add settings to use the optional proxy option when the server requests the mojang server. In some areas, the mojang website is often unable to be accessed. This is necessary.

MiniDigger commented 6 months ago

why would the software need to support this? have you tried just setting the proxy via system props? java -Dhttp.proxyHost=yourproxy.com -Dhttp.proxyPort=8080 -jar waterfall.jar

lintx commented 6 months ago

why would the software need to support this? have you tried just setting the proxy via system props? java -Dhttp.proxyHost=yourproxy.com -Dhttp.proxyPort=8080 -jar waterfall.jar

BungeeCord uses netty as the http request library, and netty does not support setting the proxy using jvm parameters.