Introduction
Welcome to the Repair Workbench plugin documentation

Edit worldFolder/mods/BjornV_RepairBench/config.json to customize the plugin.
Basic Settings
DefaultRepairCost
The default repair cost settings apply to all items unless overridden by a custom repair cost pattern.
ItemId / ResourceTypeId
The material used for repairs. Only one can be used per definition.
ItemId - Use specific ingredient items:
Ingredient_Bar_IronIngredient_Sticketc.
ResourceTypeId - Use resource types:
Wood_TrunkStoneetc.
Default: "ItemId": "Ingredient_Bar_Iron"
Quantity
How many of the material to charge for repairs.
Default: 2
ScalingFactor
Multiplier for cost based on damage.
0.0= Fixed cost regardless of damage1.0= Cost scales with damage (default)2.0= Double scaling
The formula for calculating the final cost using the scaling factor:
RepairMaxDurability
Controls whether repairs can restore permanent durability loss.
Default: true
true= Repairs restore both current and maximum durabilityfalse= Repairs only restore current durability
Custom Repair Costs
Define custom costs for specific item patterns:
Match Patterns
Patterns use * as a wildcard to match item names:
*Adamantite*= Any item with "Adamantite" in the name*Wood*= Any item with "Wood" in the nameTool_Pickaxe_*= All items starting with "Tool_Pickaxe_"*_Sword_*= Any item containing "Sword"
Per-Pattern Overrides
Each pattern can override the default settings with optional fields:
ItemIdorResourceTypeId- The material to charge (required, only use one)Quantity- Override the default quantity for this patternScalingFactor- Override the default scaling factor for this patternRepairMaxDurability- Override the default permanent repair setting for this pattern
If optional fields are omitted, the pattern will use the values from DefaultRepairCost.
Example using default settings:
Example with custom overrides:
Example using ResourceTypeId:
Excluded Matches
Prevent specific items from being repaired:
Patterns use the same wildcard matching as custom repair costs. Excluded items will not appear in the repair menu.
Default: ["*_State_Filled_Water"]
Resource Type IDs
Common resource types that can be used with ResourceTypeId:
Note: This is a partial list. The exact available resource types may vary by game version. If you need a specific resource type ID, check your game's data files or mod documentation.
Wood_Trunk- Wood logs/trunksStone- Stone resourcesMetal_Ore- Metal oresClay- Clay resourcesSand- Sand resources
Example Configuration
Default Configuration
If no config file exists, the plugin will automatically create one with these defaults:
DefaultRepairCost:
ItemId:
Ingredient_Bar_IronQuantity:
2ScalingFactor:
1.0RepairMaxDurability:
true
CustomRepairCosts: Includes patterns for Adamantite, Cobalt, Thorium, Iron, Copper, and Wood items
ExcludedMatches:
["*_State_Filled_Water"]
Reload Configuration
After editing the config file, reload it without restarting the server:
Or restart the server to apply changes.
Last updated