Initialize the library
This page describes how to initialize the library.
Create an InventoryService
InventoryService service = CraftVentoryLibrary.createInventoryService(Plugin plugin);Create an InventoryConfigDAO
// Factory used to load item click actions.
ClickActionLoaderFactory<ConfigurationSection> factory =
FastInventoryLibrary.createDefaultClickActionLoaderFactory();
InventoryConfigDAO dao = FastInventoryLibrary.createDefaultConfigDAO(factory);Example
Last updated