GithubHelp home page GithubHelp logo

njaldwin / canary Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 113 KB

Canary is a simple service to monitor a few stats about Minecraft servers. Specifically, it keeps track of whether the server is down or up and how long it has been in that state as well as the MOTD and number of players.

Home Page: http://minecanary.com

Python 52.94% CSS 5.04% JavaScript 42.03%

canary's Introduction

canary's People

Contributors

njaldwin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zifnab06

canary's Issues

Timestamp drift

In order to cope with the server and client time being off, the reference timestamp was introduced. However, due to its current implementation, there is still a slight bit of timestamp drift visible, on the order of a few seconds. This should be rectified.

Support 1.4

The Server List Ping protocol changed with Minecraft 1.4. The code should be changed to connect to the new servers, but ideally still work with old servers as well.

JSON Changes

Breaking this out from #13. Going forward, canary should provide data in a format similar to 1.7's new JSON.

Show server version

With the new protocol in Minecraft 1.4, servers send their version. This should be reflected in the served json at /s/server and also in the UI. This can't happen until #1 is finished.

Domains with the same IP can get back weird data

Due to #5, domains sharing the same IP use the same data file. This means, however, the hostname:port information will be from the last successful data save. Hence, the hostname:port information may fluctuate between the different domains mapping to the IP.

The information should be replaced with the requested info when possible.

Add countdown

To make it clearer that Canary will auto-refresh after so many seconds, show a countdown.

Domains resolving to the same IP

Domains resolving to the same IP should not be able to circumvent TIME_BETWEEN. The data should be stored by IP when possible, and the lock should be by IP when possible.

1.7 Changes

Looks like 1.7 is going to have some changes:

* Servers can now put a 64×64 image called “server-icon.png” in their folder, that you will see on your server list.
* You can see who’s online before joining a server; move your mouse over the player count!
* Lots of hidden preparation for allowing name changes.

These might require some canary changes as well. May require #12.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.