Item Auto Repair

Item Auto Repair 1.1.4

Item Auto Repair
Modifies condition loss and repair rate of items and allows players to auto repair them in inventories.

Demo Video


Support
If you have further questions about the plugin or you need help with the setup, feel free to ask on my Discord https://discord.gg/Sn6pQHGUe3

Permissions
  • itemautorepair.use -- allows adding items to the repair list.
  • itemautorepair.use.type -- allows adding items by type only to the repair list.
  • itemautorepair.material.bypass -- allows repairing items without materials.
  • itemautorepair.manual -- allows repairing items manually.
  • itemautorepair.view.admin -- allows using admin console and chat commands.

Chat Commands
  • /ar view -- displays your repair list.
  • /ar clear -- clears your repair list.
  • /ar refresh -- checks the inventory and removes all lost items.
  • /ar view.type -- displays your repair list by items type.
  • /ar clear.type -- clears your repair list by items type.
  • /ar refresh.type -- checks the inventory and removes all lost items by type.
  • /ar add <slot> -- adds an item to the auto repair list.
  • /ar remove <slot> -- removes an item from the auto repair list.
  • /ar add.type <slot> -- adds an item by type to the auto repair list.
  • /ar remove.type <slot> -- removes an item by type from the auto repair list.
  • /mr <slot> -- repairs an item manually.

Console Commands
  • ar.view.i all -- displays all individual lists of players.
  • ar.view.i <steamId> -- views an individual list of specific player.
  • ar.view.t all -- displays all type lists of players.
  • ar.view.t <steamId> -- views a type list of specific player.

Configuration
C#:
  "RepairConfig": {
    "Plugin - Enabled": true,
    "Limit - Maximum Number Of Items Allowed": 3,
    "Limit - Maximum Number Of Items Allowed By Type": 2,
    "Health - Repair Items When Reaching Health Percentage": 80.0,
    "Repair - Condition Loss Fraction On Each Repair": 0.2
  }

Localization
C#:
 {
  "NoPermission": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>you don't have the permission to use this command</size>",
  "NotEnabled": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>The plugin isn't enabled</size>",
  "WrongCommand": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>you entered a wrong command, available commands are\n{0}</size>",
  "BlueprintMissed": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>you don't have the required blueprint for this item</size>",
  "RepairOnNextUse": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>your <color=#FF8C00>{0}</color> will be repaired in the next use</size>",
  "NotValidSteamId": "{0} isn't a valid SteamId",
  "ItemRepaired": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>item <color=#FF8C00>{0}</color> has been repaired</size>",
  "RequiredItem": "You need {0}{3} of <color=#FF8C00>{1}</color> to repair <color=#FF8C00>{2}</color>",
  "ShowListItem": "<size=12><color=#FF8C00>{0}</color></size>",
  "NoItemInList": "You don't have any items in your Auto Repair list",
  "ShowAllListItems": "<color=#FF8C00>{0}</color> for <color=#FF8CFF>{1} ({2})</color>",
  "ShowAllListItemsWithNoColor": "{0} for {1}[{2}]",
  "NoItemInPlayerList": "There is no item in Auto Repair list for this player",
  "ItemAdded": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>item <color=#FF8C00>{0}</color> has been added to your auto repair list</size>",
  "ItemRemoved": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>item <color=#FF8C00>{0}</color> has been removed from your auto repair list</size>",
  "AutoRepairListLimitReached": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>you can't add more items to your auto repair list</size>",
  "ClearList": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>your auto repair list has been cleared</size>",
  "RefreshList": "<size=13><color=#ffc300>ITEM AUTO REPAIR</color></size>\n<size=12>your auto repair list has been refreshed</size>"
}

Data
C#:
 {
  "PlayerAutoRepairWeapons": {
    "76561198840242302": {
      "IndividualList": [
        {
          "ItemUId": 2732747,
          "ItemId": 1488979457
        },
        {
          "ItemUId": 2732805,
          "ItemId": 1545779598
        }
      ],
      "TypeList": []
    }
  }
}

Information

Author
Dana
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest Release v1.1.4

Released
Oct 3, 2024 at 7:28 PM
Rating
0.00 star(s) 0 ratings


More resources from Dana


Item Auto Repair by Dana
© chaoscode.io Oct 16, 2020

Latest reviews

works great
Dana
Dana
I'm glad it met your expectations