@Override
	public boolean onCommand(CommandSender sender, Command cmd,
			String commandLabel, String[] args) {

		if (args.length == 0) {
			sender.sendMessage(ChatColor.BLUE
					+ "-----------------------------------------------------");
			sender.sendMessage(ChatColor.GOLD + "Developed by: "
					+ ChatColor.GRAY + "Staartvin");
			sender.sendMessage(ChatColor.GOLD + "Version: " + ChatColor.GRAY
					+ plugin.getDescription().getVersion());
			sender.sendMessage(ChatColor.YELLOW
					+ "Type /ac help for a list of commands.");
			return true;
		} else if (args.length == 1) {
			if (args[0].equalsIgnoreCase("reload")) {
				if (!hasPermission("armorcontrol.reload", sender))
					return true;

				plugin.getConfigHandler().getFile().reloadConfig();
				plugin.reloadConfig();
				
				plugin.getConfigHandler().loadFiles();
				plugin.getResManager().loadRestrictions();

				sender.sendMessage(ChatColor.GREEN
						+ "Armor Control has been successfully reloaded!");
				return true;
			} else if (args[0].equalsIgnoreCase("help")) {
				sender.sendMessage(ChatColor.BLUE + "---------------["
						+ ChatColor.GOLD + "Armor Control" + ChatColor.BLUE
						+ "]--------------------");
				sender.sendMessage(ChatColor.GOLD + "/armorcontrol"
						+ ChatColor.BLUE
						+ " --- Shows info about Armor Control");
				sender.sendMessage(ChatColor.GOLD + "/ac help" + ChatColor.BLUE
						+ " --- Shows a list of commands");
				sender.sendMessage(ChatColor.GOLD + "/ac reload"
						+ ChatColor.BLUE + " --- Reloads Armor Control");
				return true;
			}
		} else if (args.length == 4) {
			// /ac add <name> <data value> <level>
			
		}
			

		sender.sendMessage(ChatColor.BLUE
				+ "-----------------------------------------------------");
		sender.sendMessage(ChatColor.RED + "Command not recognised!");
		sender.sendMessage(ChatColor.GOLD
				+ "Type /ac help to get a list of commands.");
		return true;
	}