Quantcast
Channel: BungeeCord Discussion
Viewing all articles
Browse latest Browse all 3776

Moving a player to another server when server abruptly stops

$
0
0
I currently have made a plugin that sends player to a hub server on kick. This works fine when stopping/restart/kicking the player, but when I force shutdown the spigot server (instantly stop it), or sometimes when the spigot server stops abruptly due to a crash, the player gets disconnected from the bungeecord (proxy disconnected). I'm currently using ServerKickEvent and setCancelServer to do this. How do I catch abrupt stops and move players to a hub server?

Viewing all articles
Browse latest Browse all 3776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>