graywolf336 / Jail

Ban too harsh? Mute too weak? Kicking not enough? Jail them!
GNU General Public License v2.0
15 stars 9 forks source link

Jail using main server thread for connections to mojang #138

Closed colajunkie13 closed 7 years ago

colajunkie13 commented 7 years ago

I have a plugin that warns me of "lag-inducing" behavior of plugins. One of those warnings comes up everytime Jail is loaded, saying that Plugin Jail attempted to establish connection socket://api.mojang.com:443 in main server thread Is it possible to move that connection handling to a seperate thread, since that would probably be better in several ways?

graywolf336 commented 7 years ago

The only time that happens is when someone jails an offline player, so unless someone wants to submit a pull request to make it better then no it won't be happening.