public boolean execCpwQuery(String user, String newPass, boolean admin) {
		Connection conn = plugin.getDbCtrl().getConnection();
		PreparedStatement ps = null;

		try {
			String sql = String.format("UPDATE `%s` SET `password` = ? WHERE `id` = ?",
					plugin.getDbCtrl().getTable(Table.ACCOUNT));
			ps = conn.prepareStatement(sql);
			ps.setString(1, plugin.getPwdHndlr().hash(newPass));
			ps.setInt(2, player.getAccountId());
			ps.executeUpdate();
			response = admin ? "admin.changepw.success" : "changepw.success";
			return true;
		} catch (SQLException e) {
			xAuthLog.severe("Failed to change password for player: " + user, e);
			response = admin ? "admin.changepw.error.general" : "changepw.error.general";
			return false;
		} finally {
			plugin.getDbCtrl().close(conn, ps);
		}
	}