#Can i make a web proxy for my spigot plugin?

1 messages · Page 1 of 1 (latest)

meager pasture
#

Can i make a web proxy for my spigot plugin?

robust harbor
#

You'll need to develop your question

meager pasture
#

Is there a possibility that i can make a web proxy in my spigot plugin?

#

Is it possible

robust harbor
#

Technically speaking, it's possible

meager pasture
#

Yes and how

#

Because when I use the default web proxy all minecraft stuff is stopped

robust harbor
#

That's because you have to run it on another thread

#

A proxy is like an infinite loop waiting to tunnel data

#

So when you run it, you stay stuck at the loop

#

That's why you need to deport it asynchronously

#

(but be careful, if you want to interact from proxy to plugin, don't forget to sync your actions)