Velocity icon indicating copy to clipboard operation
Velocity copied to clipboard

API to determine plugin providing a certain class

Open A248 opened this issue 3 years ago • 1 comments
trafficstars

It would be useful for Velocity to provide a method that allows determining which plugin is providing a certain class. This is helpful especially in debugging classpath conflicts.

The Bukkit API provides this functionality with JavaPlugin.getProvidingPlugin, though I of course trust the Velocity API to do better than a static method on JavaPlugin. A new method in PluginManager would do well for the Velocity API.

A248 avatar Nov 30 '21 21:11 A248

Depending on how we handle things going forward in Polymer, this will end up being an added feature anyway for Plugin space capsulation to work

Xernium avatar Nov 30 '21 22:11 Xernium