well done. Just what I needed. Could you please add: Abilty to toggle mending from villager trades entirely and modify mending value multiplier? eg: 0.5 = half.
Could you please make an issue on github for this?
Also, mind that the plugin can no longer be updated on spigotmc since I started using purpur and its api for features and spigotmc doesn't allow plugins that don't support spigot.