SpockBotMC / SpockBot

High level Python framework for building Minecraft clients and bots.
MIT License
198 stars 47 forks source link

[question] Using a Proxy #196

Closed ghost closed 8 years ago

ghost commented 9 years ago

How could one create bots using remote proxies?

nickelpro commented 9 years ago

This question needs some clarification. What exactly are you trying to do?

rom1504 commented 9 years ago

I bet something like https://github.com/PrismarineJS/node-minecraft-protocol/issues/185 , an http/socks proxy, not a Minecraft one

nickelpro commented 9 years ago

Socks is trivial to add but I don't really feel like adding it to mainline. If that's a usecase you need to support all you need to do is create a new socket for Spock to connect with for example using https://github.com/Anorov/PySocks .

Spock is explicitly friendly about swapping out core plugins for this reason. If you need a Minecraft proxy, they're a dime a dozen, just pick one. You can build one with Spock in under an hour if you're familiar with the Minecraft protocol.

But ya, I don't really like adding dependencies without a very good reason.

ghost commented 8 years ago

Ah, I see. Thank you - problem is solved. Apologies for not replying - I haven't logged into Github for days.