Dealing with item strings is a pain, I know. But as there are so many different ways, amount, data value, enchantment, it was hard to implement that inside a short sentence ;)
JavaDocs: Bukkit Material ENUMs
Examples:
# Swiftness Potion II items: 373~8226 # 5x Colored wool items: 35~4:5
MineCraft Wiki: Data Values => Potions
If you want to add enchantments, you will need to add a pipe ==> |
Examples:
# Diamond Sword with Sharpness LVL 3 items: 276|16~3 # Iron Pick with Efficiency I items: 257|32~1 # Iron Pick with Efficiency I and Sharpness III items: 257|32~1|16~3
http://www.minecraftwiki.net/wiki/Enchantment#Enchantment_Types]Minecraft Wiki Page: Enchanting