Allows players to repair their entire base

Supported Games
works with

Allows player to repair their entire base by hitting part of the building with the hammer.

Permissions

  • baserepair.use - allows players to use base repair
  • baserepair.nocost - allows players with permission to not have to pay for repair
  • baserepair.noauth - allows players with permission to not have to be authed on the TC in order to repair
  • noescape.raid.repairblock - blocks repair while raid blocked (Requires NoEscape plugin)
  • noescape.combat.repairblock - blocks repair while combat blocked (Requires NoEscape plugin)

Chat Commands

  • /br - toggle base repair on and off

Configuration

{
  "Number of entities to repair per server frame": 10,
  "Default Enabled": false,
  "Repair Cost Multiplier": 1.0,
  "How long after an entity is damaged before it can be repaired (Seconds)": 30.0,
  "Chat Commands": [
    "br"
  ]
}

Localization

{
  "Chat": "<color=#bebebe>[<color=#de8732>Base Repair</color>] {0}</color>",
  "NoPermission": "You do not have permission to use this command",
  "RepairInProcess": "You have a current repair in progress. Please wait for that to finish before repairing again",
  "RecentlyDamaged": "We failed to repair {0} because they were recently damaged",
  "AmountRepaired": "We have repair {0} damaged items in this base. ",
  "CantAfford": "We failed to repair {0} because you were missing items to pay for it.",
  "MissingItems": "The items you were missing are:",
  "MissingItem": "{0}: {1}x",
  "Enabled": "You enabled enabled building repair. Hit the building you wish to repair with the hammer and we will do the rest for you.",
  "Disabled": "You have disabled building repair."
}
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.