@Override
	public void execute(CommandSender sender, String[] args)
	{
		if(args.length == 1) {
			if(args[0].equalsIgnoreCase("version") || args[0].equalsIgnoreCase("ver")) {
				//output version
				PluginDescription desc = MojangStatus.getInstance().getDescription();
				sender.sendMessage(ChatColor.DARK_AQUA + (ChatColor.BOLD + desc.getName() + ChatColor.AQUA + " version " + desc.getVersion()));
				return;
			} else if(args[0].equalsIgnoreCase("reload") && sender.hasPermission("mojangstatus.reload")) {
				try {
					config.reload();
					sender.sendMessage(ChatColor.GREEN + "Config was reloaded successfully");
				} catch (InvalidConfigurationException e) {
					sender.sendMessage(ChatColor.RED + "Error while reloading the config");
					e.printStackTrace();
				}
				return;
			}
		}
		
		//Just parse the messages from the config and send it one after another
		sender.sendMessage(parseMessage(config.commandCheckHeader));
		sender.sendMessage(parseMessage(config.commandCheckStatusMinecraftNet,        ms.getStatus(Service.MINECRAFTNET),        false));
		sender.sendMessage(parseMessage(config.commandCheckStatusAuthserverMojang,    ms.getStatus(Service.AUTHSERVERMOJANG),    false));
		sender.sendMessage(parseMessage(config.commandCheckStatusSessionserverMojang, ms.getStatus(Service.SESSIONSERVERMOJANG), false));
		sender.sendMessage(parseMessage(config.commandCheckStatusSkinsMinecraft,      ms.getStatus(Service.SKINSMINECRAFT),      false));
		if(!ms.getStatus(Service.SESSIONMINECRAFT))      sender.sendMessage(parseMessage(config.commandCheckWarningSessionOffline)); //Warning when session servers are offline
		else if(!ms.getStatus(Service.AUTHSERVERMOJANG)) sender.sendMessage(parseMessage(config.commandCheckWarningLoginOffline));   //Warning when login servers are offline
		if(!ms.getStatus(Service.SKINSMINECRAFT))        sender.sendMessage(parseMessage(config.commandCheckWarningSkinsOffline));   //Warning when skin servers are offline
		sender.sendMessage(parseMessage(config.commandCheckHeader2));
		sender.sendMessage(parseMessage(config.commandCheckStatusAuthMojang,       ms.getStatus(Service.AUTHMOJANG),       true));
		sender.sendMessage(parseMessage(config.commandCheckStatusAccountMojang,    ms.getStatus(Service.ACCOUNTMOJANG),    true));
		sender.sendMessage(parseMessage(config.commandCheckStatusLoginMinecraft,   ms.getStatus(Service.LOGINMINECRAFT),   true));
		sender.sendMessage(parseMessage(config.commandCheckStatusSessionMinecraft, ms.getStatus(Service.SESSIONMINECRAFT), true));
	}