Class MultiverseInventoriesApi
java.lang.Object
org.mvplugins.multiverse.inventories.MultiverseInventoriesApi
Provides access to the Multiverse-Inventories API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MultiverseInventoriesApi
get()
Gets the MultiverseInventoriesApi.Gets instance of our DataImportManager api.Gets instance of our InventoriesConfig api.Gets instance of our PlayerNamesMapper api.Gets instance of our ProfileCacheManager api.Gets instance of our ProfileContainerStoreProvider api.Gets instance of our ProfileDataSource api.org.mvplugins.multiverse.core.inject.PluginServiceLocator
Gets the instance of Multiverse-Inventories's PluginServiceLocator.Gets instance of our WorldGroupManager api.
-
Method Details
-
get
Gets the MultiverseInventoriesApi. This will throw an exception if the Multiverse-Inventories has not been initialized.- Returns:
- The MultiverseInventoriesApi
-
getDataImportManager
Gets instance of our DataImportManager api.- Returns:
- The DataImportManager instance
-
getInventoriesConfig
Gets instance of our InventoriesConfig api.- Returns:
- The InventoriesConfig instance
-
getPlayerNamesMapper
Gets instance of our PlayerNamesMapper api.- Returns:
- The PlayerNamesMapper instance
-
getProfileCacheManager
Gets instance of our ProfileCacheManager api.- Returns:
- The ProfileCacheManager instance
-
getProfileContainerStoreProvider
Gets instance of our ProfileContainerStoreProvider api.- Returns:
- The ProfileContainerStoreProvider instance
-
getProfileDataSource
Gets instance of our ProfileDataSource api.- Returns:
- The ProfileDataSource instance
-
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
-