Hello, i have been trying this but for some reason is not working really well. I need to get the name of the item in hand to save it in a data base, and i need to get the item by the name on the data base to put it on the inventory. I have tried this: ItemStack i = p.getItemInHand(); String material = i.getType().toString(); p.sendMessage("name of the material on your hand: " + material); p.getInventory().addItem(new ItemStack(Material.getMaterial(material))); it works in some items but it doesnt work on items such as Conduit, all kind of trapdoors, stripped wook etc. The "String material" created on the code, on these blocks it returns "AIR" when these blocks are registered in MATERIAL.CONDUIT, MATERIAL.STRIPPED_ACACIA_LOG etc. I dont know if thats a bug but if anyone can help me to find other way to do that that would be nice. Thanks for reading. EDIT by Moderator: merged posts, please use the edit button instead of double posting.