Oh, FFS, got my error.
In server, it's $app->plugins->registerEvent
In interface, it's $app->plugin->registerEvent
And in case someone else wants to go on plugins: ispconfig stores your plugins in the session, onLoad will only be called once per session.
That's quite a useful piece of information - happy cookie deleting!