Cryptyc / SC2LadderWebHost

8 stars 8 forks source link

Add a marker for ladder status. #16

Open SWoodwardAnts opened 5 years ago

SWoodwardAnts commented 5 years ago

Just something simple like a green light for good, yellow for maintenance, red for down/unreachable and if not already, an alert of some kind about statuses(if it wouldn't get to far into spam territory).

lladdy commented 5 years ago

I like the idea of status readouts.

Note that, come the advent of the "distributed ladder", a single status will be less meaningful, as there will be multiple LadderManagers running on multiple machines. We could always move toward a status for every running registered LadderManager though.

The actual implementation of the status detection would probably need to be based on how long it has been since a LadderManager last contacted the central web server - like how a lot of social media apps work with the whole "Last seen 15m ago" style status.

Additionally, here are some discord bots that could potentially be modified to cater to our needs: A general server status ping bot: https://github.com/mgerb/ServerStatus This is a minecraft one which displays the status under the discord avatar: https://github.com/lerokko/mcstatusbot More details RE the MC bot: https://www.reddit.com/r/discordapp/comments/8yn9hp/i_made_a_bot_that_shows_the_live_status_of_our/?st=jsl93v9s&sh=3112d4b3