In a plugin, how would one check the items in a chest, or when an item is placed in a chest, execute an action? Events?
http://jd.bukkit.org/doxygen/d6/da9/interfaceorg_1_1bukkit_1_1inventory_1_1DoubleChestInventory.html Check Item in chest; chest.contains(); Get items in chest; ItemStack[] is = chest.getContents(); http://jd.bukkit.org/doxygen/d9/d42...vent_1_1inventory_1_1InventoryClickEvent.html Get the current item being placed in chest; ItemStack is = chest.getCurrentItem();