Openfire takes the plugin name from the metadata of the plugin itself.
It is currently possible to install two plugins with same name, if they have different jar file versions. e.g.
Will cause "example-plugin" to be loaded twice. Openfire should only load one of those plugins.