Expose plugin API

Discussion in 'Spigot Plugin Development' started by Infuzion, Jul 3, 2015.

  1. How would I go about exposing a plugin API and how would I call it in another plugin? What is the preferred method to do this?
     
  2. Put the plugin with the API in your build path?
     
  3. Use the plugin manager to grab the plugin via getPlugin() method. Then access the API or whatever with that.
     
  4. Thanks! It works perfectly.