@Override
	public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
		plugin.toPlayer = args[0];
		this.toPlayer = plugin.toPlayer;
		String prefix = CreeperWarningMain.chat.getPlayerPrefix((Player) sender);
		prefix = CreeperWarningMain.replaceChatColors(prefix);
		BufferedReader br;
		try {
			br = new BufferedReader(new FileReader(plugin.warnLog));

			String line;
			String[] line2;
			int q = 1;
			while ((line = br.readLine()) != null) {
				line2 = line.split("\\|");
				if (toPlayer.equalsIgnoreCase(line2[0])) {
					sender.sendMessage(ChatColor.AQUA + "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-");
					sender.sendMessage(ChatColor.BLUE + "Warning Number: " + ChatColor.RED + q);
					sender.sendMessage(ChatColor.BLUE + "Warned Player: " + ChatColor.RED + line2[0]);
					sender.sendMessage(ChatColor.BLUE + "Reason: " + ChatColor.RED + line2[1]);
					sender.sendMessage(ChatColor.BLUE + "Issuer: " + prefix + line2[2]);
					sender.sendMessage(ChatColor.BLUE + "Time of warn: " + ChatColor.RED + line2[3]);
					q++;
				}

			}
			q = 1;
			br.close();
		} catch (Exception e) {
			////e.printStackTrace();
		}
		return true;
	}