SessionStatus
SessionStatus is a simple plugin that was created to warn players when the official Mojang servers are down. This plugin can't switch the server into offline-mode, it just notifies players that the login/session servers are down.
It uses data from the well-known site minecraftstatus.com.
When a player looks at the server list in his minecraft client, the plugin will send him information like "Use minecraft.net. Sessions down".
Many players don't know that you can still connect to servers via minecraft.net when the session servers are down.
Features
- The plugin connects to minecraftstatus.com (or any other similar data source) every x minutes (e.g. when a player looks at the server list)
- It checks the status of the Session and Login Servers.
- The server message changes when the session servers are offline.
- The plugin broadcasts ingame messages like "Minecraft session servers are down. Do not log out." to warn players
- Many configuration options, localization possible.
Commands and Permissions
/mcstatus
Shows you the current status of the Mojang Servers. Permission: sessionstatus.check/mcstatus logintest, /mcstatus sessiontest
For testing. Imitates a login/session server outage. You will see the broadcast message in-game and the replaced server list message. Note that the session information will update immediately when you or another player looks at the server list (it refreshes every minute) Permission: sessionstatus.testExplained Configuration
You don't have to change the configuration. I don't recommend it.# ServerStatus Configuration File # Color Codes in sessionOfflineMessage: &4 - dark red, &c - light red, &6 - gold etc. #Don't change this. jsonFileUrl: 'http://www.craftstats.com/mcstatus' #Even if no player looks at the server list, #the plugin will refresh the information after x minutes #(important for ingame broadcasts) autoCheckInterval: 3 #Should the plugin warn connected players? broadcastInGame: true #Message displayed on the server list. Color Support! sessionOfflineMotd: '&4&oUse minecraft.net. Sessions down' #broadcastes ingame messages. Install http://dev.bukkit.org/server-mods/consolesay/ for color support! #(the plugin uses /say <msg>) sessionIsOfflineMessage: 'Minecraft session servers are down. Do not log out.' sessionBackOnlineMessage: 'The Minecraft session servers are back up.' loginIsOfflineMessage: 'Do not close Minecraft! The login servers are down...' loginBackOnlineMessage: 'The Minecraft login servers are back up.'
Thanks for the nice plugin! I was wondering where the source is as I'd like to make a change or 2 for my own server.
Thanks again!
@mobilephone2003
You can change the message in the config.yml ;)
Just a heads up, "Use minecraft.net. Sessions down" isn't very friendly to the average player
Perhaps "Login Server Down, Check Minecraft.net"
@doomlordking
Maybe your internet connection was offline for a second? Update the plugin to the latest version and see if it happens again.
i got a weird error that spam the console and kick me and my friends off.
http://pastebin.com/niTmTGxq
Thank you! This is exactly what I wanted :)
Nice work.
@schmidtbochum
Cool, thanks for the tip! Too bad the servers are down, would have been a good test today lol
Version 0.2.0 Beta uses a different data provider.
Delete your old config.yml or the plugin won't work!
@seriosbrad The plugin just uses the bukkit /say command. To add color support and other modifications, install
http://dev.bukkit.org/server-mods/consolesay/
Can you please add support for color codes for all the other messages, and the ability to hide "[Server]"?
This plugin is awesome.
@YoFuzzy3
thanks, i never knew. i tried it and it just hangs for me though. will work on it.
@ManBeastPigDev
http://minecraft.net/play
Well, the idea is great! Gonna try it soon!
Ho do you connect to servers via minecraft.net?
I'd like to know about that, they are so crappy
@Bearmun
You can also test the plugin by typing /mcstatus logintest and /mcstatus sessiontest
Note that the session information will update immediately when you or another player looks at the server list (it refreshes every minute), so you might not see the "Use minecraft.net. Sessions down" message ;)
Cool plugin. I'm using it right now. :) If i find any bugs i will let you know.