@Override
    protected void registerPlatformListeners() {
        this.connectionListener = new VelocityConnectionListener(this);
        this.bootstrap.getProxy().getEventManager().register(this.bootstrap, this.connectionListener);
        this.bootstrap.getProxy().getEventManager().register(this.bootstrap, new MonitoringPermissionCheckListener(this));
    }
LuckPerms implementation for the Velocity API.
velocity/src/main/java/me/lucko/luckperms/velocity/LPVelocityPlugin.java