Excluded Matches

Prevent specific items from appearing in the repair menu

ExcludedMatches is an array of patterns that prevent matching items from appearing in the repair menu entirely. Items that match any pattern in this list cannot be repaired.

{
  "ExcludedMatches": [
    "*_State_Filled_Water"
  ]
}

If ExcludedMatches is omitted from the config, the plugin uses the built-in default shown above. If it is present but empty, no items are excluded.


Pattern Matching

Use * as a wildcard character. Patterns are matched against the full item ID.

Pattern
Matches

*_State_Filled_Water

Any item ID ending with _State_Filled_Water

Tool_Pickaxe_*

Any item ID starting with Tool_Pickaxe_

*_Cursed

Any item ID ending with _Cursed

Weapon_Sword_Legendary

Exactly Weapon_Sword_Legendary only

Patterns are evaluated in order. As soon as one pattern matches, the item is excluded. The remaining patterns are not checked.


Default Value

When the plugin generates a fresh config, ExcludedMatches is set to:

This prevents filled water containers from being repaired, as their durability represents a fill level rather than physical condition.


Complete Example

In this example, all filled water containers, the legendary pickaxe specifically, and any cursed weapon are excluded from the repair menu.

Last updated