barneygale / quarry

Python library that implements the Minecraft network protocol and data types
Other
534 stars 74 forks source link

Proxy Protocol #155

Closed Chiharu-Hagihara closed 1 year ago

Chiharu-Hagihara commented 2 years ago

Hi! I'm creating downtime server with quarry library. we use proxy protocol on our network, actually. but i could't find how to use proxy protocol with quarry. anyone tell me that? if you already post that on documentation, i will apologize about that.

koliwbr commented 2 years ago

Hi, you can find examples in /example directory. Here is proxy example

Chiharu-Hagihara commented 2 years ago

how many rows can i find it?

koliwbr commented 2 years ago

how many rows can i find it?

I don't understand, please write more clearly what effect you want to get and where is your problem

Chiharu-Hagihara commented 2 years ago

Do you know proxy protocol? Usually minecraft proxies have proxy protocol option in config.yml. Our network is using proxy protocol. So, we need to use it on creating downtime server. but I couldn't find how to enable proxy protocol with quarry.

koliwbr commented 2 years ago

Quarry is Minecraft library for Python. One of options is to use it as proxy. If you using BungeeCord or something similar, run quary server only for localhost and set port and BungeeCord port to same value.

Chiharu-Hagihara commented 2 years ago

Do you know proxy protocol? I know about your all reply. I already created quarry-program as proxy. i wanna know HOW TO ENABLE PROXY PROTOCOL OPTION.

koliwbr commented 2 years ago

You mean SOCKS proxy or something similar?

Chiharu-Hagihara commented 2 years ago

probably yep