Package com.velocitypowered.api.plugin
Interface PluginContainer
-
public interface PluginContainerA wrapper around a plugin loaded by the proxy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PluginDescriptiondescription()Returns the plugin's description.default @Nullable Objectinstance()Returns the created plugin if it is available.
-
-
-
Method Detail
-
description
PluginDescription description()
Returns the plugin's description.- Returns:
- the plugin's description
-
instance
default @Nullable Object instance()
Returns the created plugin if it is available.- Returns:
- the instance if available
-
-