This plugin is made for those operators who prefer to build an RPG service or something like that, which provides possibilities to make OP-enchanted items, armors or weapons(netherite hoe with Knockback 696969 yay~), or , remove it. All you need is to put this plugin in your LL-BDS/plugins.
How to use:
Enchant:
/enchantex ench <selector> [optiona:slot] [optional:slotpos] [optional:slotint] <enchantID> <enchantLV>
Remove enchantment:
/enchantex remove <selector> [optiona:slot] [optional:slotpos] [optional:slotint] <enchantID>
For example:
/enchantex ench @s sharpness 500
/enchantex delete @s sharpness
These commands will change the enchantment of the item from mainhand of the targets you selected.
If you insert "slot" at [optional:slot], then you have to provide a position that executes the slot a player or an entity actually have. And if the slotpos executes not only one slot, then you have to insert another number at [optional:slotint] to confirm the accurate slot of the container.
For example:
/enchantex ench @e[type=zombie] slot slot.weapon.mainhand sharpness 500
/enchantex ench @a slot slot.hotbar 0 unbreaking 500
You can use short-words like "mainhand", "head", "inventory" and else instead of "slot.weapon.mainhand", "slot.armor.head", "slot.inventory". There's no diffience.
Attention: <enchantID> supports those IDs that used in command /enchant like sharpness, knockback or power, rather than Numbers in the form from Wikipedia.
If you're using enchantex to enchant an item that has the enchantment you're enchanting, the enchantment will be changed into new settings thar you provide lately. (For example, you're enchanting a sword with Sharpness XX, and you're enchanting it with sharpness V, then it will change into sharpness V)
Bugs that already found:
1. If you force to put a crossbow with quick_charge V or higher to a pillager or piglin, when it's likely attacking, the BDS will crash. It's because the enchantment quick_charge provides 20% off time to reload the crossbow, and quick_charge V or higher provides an unacceptable charging time for BDS. This bug is considered to be impossible to fix by myself.
2. If the server has been installed with LLAC or other anti-cheating plugins, the OP-enchanted items may be changed into common items. If this happens, check your plugins installed.
No more bugs found, and in fact, it's a JavaScript plugin, totally Open Source.