Reequip

What it does

If an item breaks (Tools or Armor) or you run out of blocks while placing Reequip will search your inventory for a suitable replacement and automatically equip it for you. No more accessing the inventory during a fight because your sword broke or while farming cobble with a stone pickaxe!

 

How it works

Supported are any Tools and all placeable blocks (main and off hand). Reequip is automatically disabled as long as the player is in creative mode.

Tools & Armor

If a tool or an armor of yours breaks, any tool/armor of the same type will be automatically equipped, preferencing the material that you had previously equipped but not limiting to it. So for instance your stone pickaxe breaks and you have another one in your inventory it will be equipped. If you don't have a stone pickaxe but a diamond and an iron one, the diamond one will be equipped. The order of replacement is

  1. Previously equipped material
  2. Diamond
  3. Iron
  4. Gold
  5. Wood (Armor: Leather)
  6. Chainmail (Armor only)
  7. Turtle (Helmet only)

Items without materials (Lighters, Shields, etc.) will ignore the material and simply search for the same item type.

 

Blocks

Upon placing the last block of a stack, your inventory will be searched for any stacks of the same material and equip one (searched by the order of your inventory).

Permissions

  • reequip: Parent for all Reequip permissions. Grants all of them
  • reequip.use: Allows the usage of the reequip function. Give/Take this to enable players using this plugin
  • reequip.toggle: Allows players to toggle the reequip function on and off. Give/Take this to allow players the usage of the /reequip command

Commands

  •  /reequip: Toggles the reequip function on/off for the player that sent the command

 

 

Github
https://github.com/Shmobi/Reequip

Special thanks for help during plugin development go to b8148263

 


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit