so im an admin on a server and i want to make some sort of "god-shop" where players can buy enchantments above regular enchantment level caps, ie: sharpness X or fortune V etc.
i understand there are probably plugins that will allow this but are there ingame commands i can use to enchant a book with these? and if so how do you correctly execute the command?
so im an admin on a server and i want to make some sort of "god-shop" where players can buy enchantments above regular enchantment level caps, ie: sharpness X or fortune V etc.
i understand there are probably plugins that will allow this but are there ingame commands i can use to enchant a book with these? and if so how do you correctly execute the command?
I think you'd have to give them the enchanted item, anvils won't accept OP enchantments (without plugins or something).
/give @p diamond_sword{Enchantments:[{id:"minecraft:sharpness",lvl:10},{id:"minecraft:unbreaking",lvl:10}]} 1
to give the closest player a sword with sharpness 10 and unbreaking 10 for instance.
https://minecraft.gamepedia.com/Commands/give
Just testing.