@Override
    protected void registerPlatformListeners() {
        this.connectionListener = new SpongeConnectionListener(this);
        this.bootstrap.registerListeners(this.connectionListener);
        this.bootstrap.registerListeners(new SpongePlatformListener(this));
    }
LuckPerms implementation for the Sponge API.
sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java