I thought I'd make a guide to enchanting for SK89Q's CommandBook plugin. The reason you would need such a guide is because the names for enchantments are different than you'd expect. For example, the efficiency enchantment is DIG_SPEED instead of just efficiency.
The guide is below. Save it in Notepad or TextEdit for quick access!
Commandbook lets you add enchantments to items! You can add an enchantment by putting a vertical bar (|) after the item and damage value. After putting in one enchantment, you can put a colon (:) after it and put the enchantment level.
/i item:damagevalue|enchantment1:level quantity
But what if you want to do multiple enchantments? Just separate enchantments with a comma (,), like this:
The above command would give you one diamond pickaxe with a damage value of 500000 (That basically makes it so that it will never break) and 2 enchantments of your choice. Below is an example of some real enchantments: