public boolean onCommand(CommandSender sender, Command command,
			String label, String[] args) {
		if (!plugin.hasPerm(sender, "mute", true)) {
			sender.sendMessage(ChatColor.YELLOW
					+ "You do not have permission to use /" + label);
			return true;
		}

		if (args.length == 0)
			return false;

		if (plugin.playerMatch(args[0]) != null) {
			Player player = plugin.getServer().getPlayer(args[0]);
			String pName = player.getName();
			UserTable ut = plugin.getDatabase().find(UserTable.class).where()
					.ieq("userName", pName).findUnique();

			if (ut.isMuted()) {
				ut.setMuted(false);
				plugin.getServer().broadcastMessage(
						ChatColor.YELLOW + player.getDisplayName()
								+ " has been unmuted.");
			} else {
				ut.setMuted(true);
				plugin.getServer().broadcastMessage(
						ChatColor.YELLOW + player.getDisplayName()
								+ " has been muted.");
			}
			plugin.getDatabase().save(ut);

		} else {
			sender.sendMessage("Player could not be found.");
		}
		return true;
	}