How can I give vote-rewards, random ench books?

Discussion in 'Server & Community Management' started by Nescu, Feb 10, 2020.

  1. Hello!

    I'd like to give random ench. books are rewards for voting!
    How can I do so?

    Material: 'DIAMOND'
    Amount: 2
    - 'say hello'
    Player: 'Thanks for voting!'

    This is the code for rewards. Any help please?
  2. Like, what plugin are you using??
    • Winner Winner x 1
  3. VotingPlugin, NuVotifier
  4. You could always use a give command if you have something like essentials. Basically give an enchantment boom using the give command cause that plugin doesn’t seem to support enchanting book
    • Winner Winner x 1
  5. I do have essentials. Do you happen to know that command? I can't seem to find it anywhere and I've been struggling to figure it out .
    Much appreciated
  6. Code (Text):
    /give player minecraft:enchanted_book 1 unbreaking:5
    This should work
    • Agree Agree x 1
  7. thank you!
  8. If you don't mind adding an extra step, you can create vouchers that have different chances of obtaining each tier enchantment.