Class MultiverseInventoriesApi
java.lang.Object
org.mvplugins.multiverse.inventories.MultiverseInventoriesApi
Provides access to the Multiverse-Inventories API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull MultiverseInventoriesApiget()Gets the MultiverseInventoriesApi.@NotNull DataImportManagerGets instance of our DataImportManager api.@NotNull InventoriesConfigGets instance of our InventoriesConfig api.@NotNull PlayerNamesMapperGets instance of our PlayerNamesMapper api.@NotNull ProfileCacheManagerGets instance of our ProfileCacheManager api.@NotNull ProfileContainerStoreProviderGets instance of our ProfileContainerStoreProvider api.@NotNull ProfileDataSourceGets instance of our ProfileDataSource api.@NotNull org.mvplugins.multiverse.core.inject.PluginServiceLocatorGets the instance of Multiverse-Inventories's PluginServiceLocator.@NotNull WorldGroupManagerGets 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 @NotNull 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
-