I figured that the next step would be to simply find the break trigger in the plugin code and change it from 0 to max durability
This is doable, but you'd also have to change the plugin's way of dealing with durability damage. Almost all durability changes are set to decrease. My plugin does not change the trigger, but instead, what happens to the item once the trigger is hit.
(The "break Trigger" is fairly easy to find. Just look up any function that calls durabilityBreakItem and you'll have your triggers. There's more than one.)
I would suggest instead of trying to rework the durability to increase, find a story reason why decreasing is desired.
For example, every weapon has a "Temperance Resistance" level and they can only evolve once that resistance is eroded.
* Increase the number of upgrade slots on the weapon.
* Give the player a selection of upgrade items.
* change the name of the item to "itemName (Upgrade Available)" and highlight it in the inventory so the player knows it's ready to be upgraded.
From within the custom break tags:
item.upgradeSlots += x; (x is the amount of slots you want to increase)
item.name = item.name + " (Upgrade Available)"; (Note the space near the beginning of the quotes.)
The item selection is beyond the scope of both mine and YFs plugin, so you'd have to do edits or have someone make that part for you.
That said, if you want the weapon to change into another predetermined one, you can do that with the notetag
<DurabilityScrap: a, b, c, d>
on weapon/armor notes.
a is the type. (1 = item. 2 = weapon. 3 = armor)
b is the item's id in the database.
c is the amount of the salvaged item.
d is the percentage chance from 0 to 100.
I know this isn't fully the answer you wanted, but I hope it can get you going in the right direction.
If you need more that, again, you'll need to seek assistance.