SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.58k stars 1.11k forks source link

Keep players online when Bungee restarts? #3048

Closed tycrek closed 3 years ago

tycrek commented 3 years ago

Apologies if this is the wrong place to ask but I couldn't find anything for it in my searches.

Is there a way that I can keep players connected to target servers while the Bungee proxy is restarting? It would help minimize downtime for the users. Our target servers are not Spigot or Paper but rather are purely protocol based using MCProtocolLib

Paulomart commented 3 years ago

You could kill the proxies listeners and restart another instance in the background. I believe there was a plug-in for that at some point.

Or you setup a haProxy in front and do some custom routing.

md-5 commented 3 years ago

Technologically impossible.

Gandalf1783 commented 1 year ago

@tycrek you can have HAProxy to drain the proxies. Meaning, on stop, you would drain the proxies, wait until no players are online, then restart the proxies.