-
Notifications
You must be signed in to change notification settings - Fork 37
Description
As we all know, Starbound is a very... ahem... special piece of software, and is prone to failures (be it due to Lua users who know how cause the server to have a heart attack, or servers that are just a little overloaded).
There are various tools out there to manage downtime in the event of server failure. I'd like to see StarryPy3k support these tools by providing a "upstream_fallback" ip and port option. Essentially what this would do is (possibly somewhere in the main server loop) attempt to establish a TCP "handshake" with the upstream server every time a player attempts to connect. If the handshake could be established, we send the player to the upstream server. Otherwise, we assume the upstream server is dead and send them to the fallback server. Some communities may utilize this to send players to a backup server, others may simply utilize this to redirect to packages such as pseudoStarbound.