@Override
    public void registerMessengerProvider(@NonNull MessengerProvider messengerProvider) {
        if (this.plugin.getConfiguration().get(ConfigKeys.MESSAGING_SERVICE).equals("custom")) {
            this.plugin.setMessagingService(new LuckPermsMessagingService(this.plugin, messengerProvider));
        }
    }
Implements the LuckPerms API using the plugin instance
common/src/main/java/me/lucko/luckperms/common/api/LuckPermsApiProvider.java