Define different enchantment max level based on the material of the tool
Addons:
ToolEnchantCondition:
config_error_message: "&c[TE-TEC] An error occured in reading the config."
limit_message: "&c[TE-TEC] The max enchantment level of this enchant (&e%enchant%&c) for this tool (&e%material%&a) is &e%level_max%&c."
max_message: "&a[TE-TEC] The max enchantment level of the enchant (&e%enchant%&a) for this tool (&e%material%&a) is &e%level_max%&a."
no_such_enchant_message: "&c[TE-TEC] No such an enchantment called &e%enchant%&c."
help_messages:
info:
msg: "/te tec : display max enchantment level available for the specified tool."
permission: "tokenenchant.toolenchantcondition.info"
# if the limits are not listed, the default max level from TE would be applied.
limits:
DIAMOND_PICKAXE:
Unbreaking: 10
DIAMOND_SWORD:
Unbreaking: 5