Interface PluginManager


public interface PluginManager
The manager that manages plugins.
  • Field Details

  • Method Details

    • fromInstance

      Optional<org.spongepowered.plugin.PluginContainer> fromInstance(Object instance)
      Gets the plugin container from an instance.
      Parameters:
      instance - The instance
      Returns:
      The container
    • plugin

      Optional<org.spongepowered.plugin.PluginContainer> plugin(String id)
      Retrieves a PluginContainer based on its ID.
      Parameters:
      id - The plugin ID
      Returns:
      The plugin, if available
    • plugins

      Collection<org.spongepowered.plugin.PluginContainer> plugins()
      Gets a Collection of all PluginContainers.
      Returns:
      The plugins