Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Notification & Config Refreshing #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SilverCory
Copy link

Also added the /last which sends the last json string, it seemed useful. I was going to use it but I didn't.

Also adds a /last so you can compare it to /status however this is sketchy, best done client side with a ~5 update threshold.
if( data.dead[strings[0]] !== undefined && $.inArray( strings[1], data.dead[strings[0]] ) > -1 ) {

if( chances[ chancer ] == 5 ) {
var notification = new Notification('A server on HC is down!', {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Branding needs to be removed

Because I was the only person who could do that! xD
@minecrafter
Copy link

Pinging @vemacs

@SilverCory
Copy link
Author

I suppose a notification could be broadcast when a server comes back up as well.

I'll do it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants