plugins can register for all peer actions