You find enchant configuration in config files, like this
# This controls the chance an item has to break if it is enchanted.
# Default: 50
EnchantChanceElement = 50
# This is the enchant limit, if set to 0, there will be no limit.
# Example: If this is set to 10, the maximum enchant will be 10.
# Default: 0, 0, 0
EnchantMaxWeapon = 0
EnchantMaxArmor = 0
EnchantMaxJewelry = 0