Registers a plugin to be instantiated on program startup/connect by creating a PluginRegistrationEntry and appending it to registeredPlugins.
Priority at which to instantiate the plugin. A lower priority makes it get instantiated before other plugins.
Function pointer to a "constructor"/builder that instantiates the relevant plugin.
See Implementation
Registers a plugin to be instantiated on program startup/connect by creating a PluginRegistrationEntry and appending it to registeredPlugins.