I want to use a command to enchant a weapon multiple levels in a Minecraft server. How can I do this?

  • 1
    -1 The Minecraft End User Licence Agreement (EULA for short) clearly states that it is not allowed to donator perks in terms of "pay to win gear",
    – Ferrybig
    Sep 7 '16 at 21:09
  • @Ferrybig many servers offer extra kits as gifts to the player who donated. Basically they're complimentary
    – Beminfire
    Sep 7 '16 at 22:04
  • @Ferrybig proof?
    – Jim Jones
    Sep 8 '16 at 1:12
  • @JimJones account.mojang.com/terms#commercial "ask for donations (as opposed to direct charges) IF you do not offer the individual donor something in exchange that only he or she can use. You may offer server wide rewards if donation goals are achieved though."
    – Ferrybig
    Sep 8 '16 at 13:32
  • Honestly, why does this question have so many downvotes? It's a good question
    – Daniel G
    Sep 10 '16 at 17:48

Pretty simple:

/give @p diamond_pickaxe 1 0 {ench:[{id:32,lvl:5},{id:34,lvl:5},{id:33,lvl:1}]}

This gives you a diamond pick with Unbreaking 5, Efficiency 5, Silk Touch 1
Here are more enchantment IDs you can use.

If you're using Essentials you can use /enchant <id> <lvl> (e.g. /enchant 33 1 for Silk Touch 1) for example to enchant the item you're currently holding. This way you can upgrade existing items without book/anvil or even overwrite or remove existing enchantments.

PS: Mojang changed their policy regarding pay to play. It is no longer completely forbidden. See here for more info. Pay to win is still forbidden, though.

Not the answer you're looking for? Browse other questions tagged or ask your own question.