Package com.velocitypowered.api.plugin
Interface PluginContainer
public interface PluginContainer
A wrapper around a plugin loaded by the proxy.
- 
Method Summary
Modifier and TypeMethodDescriptionReturns the plugin's description.Returns an executor service for this plugin.default Optional<?>Returns the created plugin if it is available. 
- 
Method Details
- 
getDescription
PluginDescription getDescription()Returns the plugin's description.- Returns:
 - the plugin's description
 
 - 
getInstance
Returns the created plugin if it is available.- Returns:
 - the instance if available
 
 - 
getExecutorService
ExecutorService getExecutorService()Returns an executor service for this plugin. The executor will use a cached thread pool.- Returns:
 - an 
ExecutorServiceassociated with this plugin 
 
 -