Package com.github.cc007.headsplugin.api
Class HeadsPluginApi
java.lang.Object
com.github.cc007.headsplugin.api.HeadsPluginApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<HeadsPluginServices>
Get the services provider for this plugin.static Optional<org.bukkit.plugin.Plugin>
Gets the HeadPluginAPI pluginstatic Optional<org.bukkit.plugin.Plugin>
Gets a plugin
-
Constructor Details
-
HeadsPluginApi
public HeadsPluginApi()
-
-
Method Details
-
getPlugin
Gets a plugin- Parameters:
pluginName
- Name of the plugin to get- Returns:
- Optional of the plugin from name
-
getPlugin
Gets the HeadPluginAPI plugin- Returns:
- Optional of the plugin
-
getHeadsPluginServices
Get the services provider for this plugin. These services include things like searching for heads, updating categories, etc.- Returns:
- Optional of the services provider
-