Bastian/bstats-metrics

Duplicate plugin names

Bobcat00 opened this issue · 1 comments

I discovered the hard way that bStats does not allow duplicate plugin names. It appears the data sent includes the plugin name field, which is not unique.

I don't know how easy it would be change, but if the plugin main field can be used with plugin.getDescription().getMain() that would provide the fully qualified name of the plugin's main class. Plugin authors would then register on the bStats site with the full name, e.g., org.bstats.bukkit.Metrics. This would avoid plugin name conflicts.

Something similar is already planned: Bastian/bStats#40 (comment)