Closed Acquized closed 6 years ago
if we don't find a better solution, the plugin needs to call a method on disabled manually to trigger the shutdown handlers...
yes, if you just call factory.shutdown in the bungee on disable that will work.
But I'm curious, how are you planning to use it in BungeeCord?
BungeeCord does not have the concept of a "Main Thread". What would .sync() do?
@Acquized
Is this possible? I tried implementing myself but I failed on the shutdown hooks (because Bungee doesn't has a proper event or shutdown method)