ammaraskar / pyCraft

Minecraft-client networking library in Python
Other
814 stars 184 forks source link

Using a Proxy #81

Open Mepth opened 6 years ago

Mepth commented 6 years ago

hello, wondered how to connect a bot with a SOCKS5 proxy

ammaraskar commented 6 years ago

66 brought this up before, what is your use case?

TheHolyLoli commented 6 years ago

@ammaraskar sometimes the device is behind a firewall so people have to use a proxy in order to connect to the server.for example if i want to make a bot using pyCraft now,i want to use a raspberrypi 3 that has limited connection and can only connect using a http proxy. can you help implenting the proxy or should i look in to it?if i was able to make a proxy then i will make a pr but i need a bit of hint to start working on it

para-dise commented 5 years ago

Still waiting for this feature

rogermiranda1000 commented 5 years ago

use torify and open the .py with another console with Popen

Mepth commented 5 years ago

https://github.com/Anorov/PySocks/blob/master/README.md#Monkeypatching Should help

ghost commented 4 years ago

yo, can someone help me to use this proxyes