Class MultiverseInventoriesApi

java.lang.Object
org.mvplugins.multiverse.inventories.MultiverseInventoriesApi

public final class MultiverseInventoriesApi extends Object
Provides access to the Multiverse-Inventories API.
  • Method Details

    • get

      @NotNull public static MultiverseInventoriesApi get()
      Gets the MultiverseInventoriesApi. This will throw an exception if the Multiverse-Inventories has not been initialized.
      Returns:
      The MultiverseInventoriesApi
    • getDataImportManager

      @NotNull public DataImportManager getDataImportManager()
      Gets instance of our DataImportManager api.
      Returns:
      The DataImportManager instance
    • getInventoriesConfig

      @NotNull public InventoriesConfig getInventoriesConfig()
      Gets instance of our InventoriesConfig api.
      Returns:
      The InventoriesConfig instance
    • getPlayerNamesMapper

      @NotNull public PlayerNamesMapper getPlayerNamesMapper()
      Gets instance of our PlayerNamesMapper api.
      Returns:
      The PlayerNamesMapper instance
    • getProfileCacheManager

      @NotNull public ProfileCacheManager getProfileCacheManager()
      Gets instance of our ProfileCacheManager api.
      Returns:
      The ProfileCacheManager instance
    • getProfileContainerStoreProvider

      @NotNull public ProfileContainerStoreProvider getProfileContainerStoreProvider()
      Gets instance of our ProfileContainerStoreProvider api.
      Returns:
      The ProfileContainerStoreProvider instance
    • getProfileDataSource

      @NotNull public ProfileDataSource getProfileDataSource()
      Gets instance of our ProfileDataSource api.
      Returns:
      The ProfileDataSource instance
    • getWorldGroupManager

      @NotNull public WorldGroupManager getWorldGroupManager()
      Gets instance of our WorldGroupManager api.
      Returns:
      The WorldGroupManager instance
    • getServiceLocator

      @NotNull public org.mvplugins.multiverse.core.inject.PluginServiceLocator getServiceLocator()
      Gets the instance of Multiverse-Inventories's PluginServiceLocator.
      You can use this to hook into the hk2 dependency injection system used by Multiverse-Inventories.
      Returns:
      The Multiverse-Inventories's PluginServiceLocator