AS written here Plugin types determine which events a plugin can react to. I am now in the process of enabling 2 tasks. First via installer that does a check before update a download id and second I want to add a javascript snipped to the document head in the backend and frontend of the page for a third party api (authentication key).
The events are:
onInstallerBeforePackageDownload
and onAfterRender
As I see it currently I have to create 2 plugins for it. Once a plugin of the type "installer" and once of the type "system".
Is that really the case? I would like to offer the user the possibility to manage everything in one plugin. It seems to be a bit "overkill" to have a plugin that checks the DownloadID before an update and to provide a ThirdParty API Key in JS...