@Override
    protected void registerCommands() {
        this.commandManager = new StandaloneCommandManager(this);
        this.bootstrap.getLoader().setCommandExecutor(this.commandManager);
    }
LuckPerms implementation for the standalone app.
standalone/src/main/java/me/lucko/luckperms/standalone/LPStandalonePlugin.java