Some Spigot plugins, like EssentialsX, interfere with the selectors of some commands (the @p that you are trying to use for example). You can set it in the config to not mess with them. Or if you're just wanting to give it to certain players without needing a command block that does @p, you can just use player names in its place.
Sorry for the late reply, I've been away for a while.
Edit: Here's a document that I made a while ago when I was helping with a possibly similar issue on a server I play on. If this is the same problem, doing this should prevent any future issues with this. https://docs.google.com/document/d/19c_ex4f3v2LVu9rUFuZ2W9nn6n7sPCGMAhUktGngqjw
(Pardon the name, we had been trying to fix it for days)
# Allow 'unsafe' enchantments in kits and item spawning.
# Warning: Mixing and overleveling some enchantments can cause issues with clients, servers and plugins.
unsafe-enchantments: false
here set it to
# Allow 'unsafe' enchantments in kits and item spawning.
# Warning: Mixing and overleveling some enchantments can cause issues with clients, servers and plugins.
unsafe-enchantments: true
I need help with enchanting items with a higher value than allowed in game. (ie a stick with knockback 10)
I have tried enchantment generators before, but when i tried them in-game, it just gave me the normal item without enchantments.
If you have any idea on how to stop this, please reply.
/give @p stick{Enchantments:[{id:"minecraft:knockback",lvl:10s}]}
Doesn't work. I'm running on 1.13 btw.
Are you running Spigot or something similar?
Check out my mod! You can find it on CurseForge here:
https://www.curseforge.com/minecraft/mc-mods/the-spookjams-mod
Yeah, it's on a private server
Some Spigot plugins, like EssentialsX, interfere with the selectors of some commands (the @p that you are trying to use for example). You can set it in the config to not mess with them. Or if you're just wanting to give it to certain players without needing a command block that does @p, you can just use player names in its place.
Sorry for the late reply, I've been away for a while.
Edit: Here's a document that I made a while ago when I was helping with a possibly similar issue on a server I play on. If this is the same problem, doing this should prevent any future issues with this.
https://docs.google.com/document/d/19c_ex4f3v2LVu9rUFuZ2W9nn6n7sPCGMAhUktGngqjw
(Pardon the name, we had been trying to fix it for days)
Check out my mod! You can find it on CurseForge here:
https://www.curseforge.com/minecraft/mc-mods/the-spookjams-mod
u can set dangerous enchant to true
# Allow 'unsafe' enchantments in kits and item spawning.
# Warning: Mixing and overleveling some enchantments can cause issues with clients, servers and plugins.
unsafe-enchantments: false
here set it to
# Allow 'unsafe' enchantments in kits and item spawning.
# Warning: Mixing and overleveling some enchantments can cause issues with clients, servers and plugins.
unsafe-enchantments: true