Adding the repair command - Loikas/MinecraftPlugins GitHub Wiki
To enable the repair function for player you first need to create a text file called 'repair.yml' in the ExpandedEnchants folder. After that you are gonna make something that looks like this:

The number is the amount it adds if you have that level of the enchantment. When a level is not specified it will take the cost of the closest lower number.
For example if you have a pickaxe with unbreaking 3 and efficiency 3 it would cost 3500 to repair the item because it takes the level 3 of efficiency which is 1500 and the 2000 from the level 2 of unbreaking because that closest lower value to 3.