For example, your Unbreaking enchant might have its max level set to 20, but you can define material based max enchant levels. Say, the max enchant level is limited to 10 for diamond pickaxe, and the max enchant level is limited to 5 for the diamond sword.
To install this addon, just place TEAddon-ToolEnchantCondition-x.x.x.jar in 'plugin/TokenEnchant/addons' folder and restart the server or do '/te reload'.
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 <enchantment> <tooltype> : 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