Use the hammer or toolgun to display all insufficient resources required to repair an item, building or vehicle to full health.


Item names can be changed by adding the corresponding item shortname to a ClearRepair language file. To help find item shortnames for the items you would like to change enable the showShortname config option.
Note: Item names are only changed within the ClearRepair plugin.
Language commands
clearrepair.generate_lang (Server only)
Generates a list of all english item names used by rust. Saved to /oxide/data/ClearRepair/GeneratedLang.json.
clearrepair.check_lang <two-letter language code> (Server only)
Check loaded translations for specific language. Ex: clearrepair.check_lang en


Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- clearrepair.use -- Allows player to use if usePermission is enabled in configuration
Configuration
The settings and options can be configured in the ClearRepair file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.- chatIconID: SteamID for rust chat icon
- defaultChatNotification: Display default insufficient resources chat notification
- showShortname: Display entity or item shortname (used for translations)
- itemFoundColor: Color if player has item repair amount in inventory
- itemNotFoundColor: Color if player does not have item repair amount in inventory
- usePermission: Restrict plugin to a permission
Localization
The default messages are in the ClearRepair file under the lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.- RepairItemName:
- {0} = name of item or building being repaired
- ItemAmount:
- {0} = name of item
- {1} = config.itemFoundColor or config.itemNotFoundColor
- {2} = total required to repair
Item names can be changed by adding the corresponding item shortname to a ClearRepair language file. To help find item shortnames for the items you would like to change enable the showShortname config option.
Note: Item names are only changed within the ClearRepair plugin.
Language commands
clearrepair.generate_lang (Server only)
Generates a list of all english item names used by rust. Saved to /oxide/data/ClearRepair/GeneratedLang.json.
clearrepair.check_lang <two-letter language code> (Server only)
Check loaded translations for specific language. Ex: clearrepair.check_lang en