Plugins are connected to the messages (server side) so if your portal is executing a message (for example a plugin on creation of an account) plugin will be executed.