@Override
    protected void setupSenderFactory() {
        this.senderFactory = new BukkitSenderFactory(this);
    }
LuckPerms implementation for the Bukkit API.
bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java