IsMinecraftDown
IsMinecraftDown
This is a plugin designed to check when the Minecraft Services(session, auth, login, ext.) are down. The status of the servers can be displayed with the plugin's command. Each service has its own status and are expressed with green(online), yellow(unstable), and red(offline).
Commands
This plugin only has one command with a shortcut version: /isminecraftdown and /ismcdown This command will print out in chat (or console) the status of each service. There are also sub-commands to the main command:
SubCommand | Permission | Description |
---|---|---|
ForceCheck | <commandperm>.ForceUpdateCheck | Forces ServiceChecker to check current status of the services |
ReloadConfig | <commandperm>.ReloadConfig | Makes the plugin reload the config, will also start the ServiceChecker with the new time in the config |
About | N/A | Shows info about the plugin(Developer, current version, latest version if the auto-update is on) |
Permissions
Permissions are case-sensitive.
Permission | Default | Description |
---|---|---|
IsMcDown.command | Everyone | Access to the main command - <commandperm> is this permission |
<commandperm>.ForceUpdateCheck | No One | Access to /ismcdown ForceCheck |
<commandperm>.ReloadConfig | No One | Access to /ismcdown ReloadConfig |
Config
API
This plugin will have more use to it with an API than without. There is already a base API implemented, it should be easy to figure out by looking at the github.
Other Info
This plugin uses two 3rd party extensions:
- Metrics Stats - Used to see how many servers are using this plugin
- Updater 2.0 - Used to keep the plugin up to date with Approved builds on dev.bukkit.org
These extensions wont make changes to your server, other than the plugin updating itself.
This plugin also connects to the official Minecraft Service Status API at status.mojang.com to view the status of the Minecraft Services.
To disable the auto-Updater, go to the plugin's config.yml and set AutoUpdate to false. If you want to disable Metrics, go to <serverfolder>/plugins/PluginMetrics and open the config.yml and change opt-out to true.
ToDo:
Create a ConfigAdd Announcer for when servers are down- Iron out bugs
- Take suggestions for features/changes
Links
This plugin was requested on the bukkit forums by raserdemon. Feel free to make use of Github and suggest your own changes/ideas to the plugin.
@ncsgeek
I believe the idea is if the session servers go offline, it will broadcast to tell your users not to logout as they won't be able to log back in.
No offense but i dont see how this is helpful?
@The_Official_Game_Craft
Thank you for the help. There is an easier way to submit changes with Github. You can fork the project, make your changes, then request for them to be applied to the main project. It also makes it easier for me to see the changes made and how it would affect the plugin.
Logins being red isn't a major issue, currently its red from mojang's check system (http:status.mojang.com/check). Login is now handled through the authentication service so the login service isn't needed. I'm not to sure how long they are going to keep status.mojang.com or if they are going to change it. I've been looking into the new way that they have setup for checking them(ie. pinging sessionserver.mojang.com gives out more info on the service itself).
I've noticed the login is always red, I've looked at the source code and removed the login bit completely. Here are the links:
Main.java: http://pastebin.com/S9rMYUQh
Config.Java: http://pastebin.com/9YBdF85q
Metrics.java: http://pastebin.com/Ce4RRRvT
Updater.java: (I haven't updated it, as I don't know much about updaters) http://pastebin.com/qiyKswwy
MOTDHandler.java: http://pastebin.com/M290eKjX
Plugin.yml: http://pastebin.com/WW37Z7PP
If you do decide to use that as a temporary fix, please give me some credit =D
- RW_Craft
@EN7
The plugin checks if the services are down and can alert you if they are. Its mostly for knowing if you wont be able to connect to the server due to one of the services being down. Main reason why this was created was to tell users not to log off the server because Minecraft is down and you wont be able to log back in until they are up again.
How do you use the plugin if minecraft is down?
@Sindresgaming
Interesting, I'll look into adding it, I like the idea.
Add redstone and signs? do a command then place a redstone lamp. Lamps: if lighting its online, if no light its offline. Signs:
1. [IsMcDown] 2. status (online, unstable, offline)
would love to see that added :D -Sindre
@DenialMC
Thanks for the feedback, I'll work on that.
Not async, so damn laggy.
Daniel