Omega has since made a lot of progress on this feature. In the future this should allow anyone to be notified on their desktop when games are available and connect to a server just by a click on a notification or entry in the play.mg server list.
This already works for me locally now and here's how it looks (currently, looks and text are subject to change):
1. A future version of the
http://play.mg website will have this new option (the checkbox will be disabled by default):
2. Once the box is ticked, you will get a browser prompt similar to this:
This is Chromium on Linux, the Firefox one actually looks a bit better.
Once this is live, the hostname will be different, namely play.mg, and if you only choose to always allow "play.mg" to notify then you'll only get this prompt once.
3. Once notifications are active, you will get to see Desktop notifications as soon as a new server which has spare slots becomes available:
The play.mg website which displays in the background here doesn't need to be in front for this to work. It has to be loaded on your web browser, but it doesn't need to be the active tab, and you can be working with something completely different (like checking your e-mails, editing some text or images etc.). Depending on your configuration you may even be able to close the web browser window and they will still work. So this is really a Desktop notification, not just a simple Javascript pop-up.
4. Now when you click on this notification, your web browser will download a very small text file which contains only the IP address and game port of the server which you are trying to connect to.
This is a plain text file with a single line, e.g.:
123.123.123.123:61357
This is how far things will go in the first stage. For now, your web browser does not know how to handle this downloaded file and will ask you what to do about it, or just download it.
In a second stage, your web browser and the operating system will know how to handle this file, passing it to a script (which someone will yet have to provide), which then automatically spawns MegaGlest and makes it connect there.
Altogether this means it will be possible to get notified when a server is available and someone is connected to it (and there are free slots), and by a click on the notification you'll connect to this server.
Does this sound good? It already works here :-) (but just for testing, and Linux-only).