#Can i make a web proxy for my spigot plugin?
1 messages · Page 1 of 1 (latest)
You'll need to develop your question
Is there a possibility that i can make a web proxy in my spigot plugin?
Is it possible
Technically speaking, it's possible
Yes and how
Because when I use the default web proxy all minecraft stuff is stopped
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)