Register plugin routes through event handling