private void onContextUpdate(ContextUpdateEvent e) {
        e.getSubject(Player.class).ifPresent(p -> requestUpdate(p.getUniqueId()));
    }
Calls {@link Player#updateCommands()} when a players permissions change.
bukkit/src/main/java/me/lucko/luckperms/bukkit/listeners/BukkitCommandListUpdater.java