Dude nice share u did very good work and i tested this code..!
the results is its working BUT if you have max enchant +15 for armors and max enchant +20 for weapon then if a normal player enchant his weapon more than +15 and he equip it or unequip it then he will get ban!
why ? because you make it like this:
if (i.getEnchantLevel() > Config.ENCHANT_MAX_WEAPON || i.getEnchantLevel() > Config.ENCHANT_MAX_ARMOR || i.getEnchantLevel() > Config.ENCHANT_MAX_JEWELRY)
and the enchant matter for all enchant max possiblites !!! so or you will make all items (weapon, armor, jewelry) max enchant +20(or what ever you want) but the same max in all or dont put this code cause many people will get ban if they have +16 weapon and the max for armor or jewels are +15 max enchant...so they will get ban for nothing at all but for a stupid fault...!