So I made a new custom enchant...
And I don't know how to apply the enchantment on a tool
And I don't know how to apply the enchantment on a tool
Code:
on skript load:
register a new custom enchantment with id name "Replanish"
set {_enchantment} to "Replanish" parsed as custom enchantment
set max level of {_enchantment} to 1
set rarity of {_enchantment} to 0.01
set accepted items for {_enchantment} to "Hoe"
set lore name of {_enchantment} to "Replanish"
command /ce [<text>]:
permission: op
trigger:
if arg-1 is "Replanish":
enchant player's held tool with {_enchantment}
send "&2You enchanted your tool with Replanish" to player