private void onUserDataRecalculate(UserDataRecalculateEvent e) {
        User user = ApiUser.cast(e.getUser());
        this.plugin.getBootstrap().getPlayer(user.getUniqueId()).ifPresent(p -> refreshAutoOp(p, false));
    }
Implements the LuckPerms auto op feature.
bukkit/src/main/java/me/lucko/luckperms/bukkit/listeners/BukkitAutoOpListener.java