✦ JetsRepairTokens ✦ [1.8-1.20] SUPPORTED! ✦ Repair by certain durability! ✦ icon

✦ JetsRepairTokens ✦ [1.8-1.20] SUPPORTED! ✦ Repair by certain durability! ✦ -----

Repair tools using tokens with predefined durability! (Very Customisable!)




[+] 1.21.4 Support
----------, Jan 12, 2025

[+] 1.21 Bug Fix
----------, Jul 30, 2024

[+] Support for 1.21
[+] Fix a bug where a RepairToken would give an item Silk Touch
----------, Jul 20, 2024

[+] Added support for 1.20.6
----------, Jun 17, 2024

[+] Fixes the plugin working on 1.20.4
----------, Feb 24, 2024

[+] Fixes 1.20.4 NBT issues
----------, Feb 1, 2024

[+] Fixed support for 1.20.4
----------, Jan 8, 2024

[+] Fixs a bug with tokens if % repair is the same as a normal repair
----------, Aug 23, 2023

[+] Added support for 1.20
----------, Jun 27, 2023

[+] Added the ability to add custom model data to the repair token (as well as the item being repaired)

Code (Text):

RepairItems:
  Repair1: #The name of the item (used in the give command)
    item: NETHER_STAR #Must be a valid material (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)
    data: 0 #Used for further material data (Not needed for 1.13)
    repairDurability: 10 #The amount that it will repair the items durability by
    name: "&eRepair Token &7(Tier I)" #Items name
    lore: #Lore of the item
      - "&7Increase an items durability by"
      - "&c%DURABILITY%"
      - "&7Drag this item onto another to repair it!"
    setGlow: true #Whether you want the item to have a glow
    spawnParticles: true #Whether you want a helix to show
    permission: "none" #Whether you want a permission for it to be useable
    sound: BLOCK_NOTE_BLOCK_PLING # >>>> USE BLOCK_NOTE_PLING if on 1.12.2 !!! <<<< The sound to play, simply type NONE if you wish a sound not play
    customModelData: 0 # 1.13 + Custom model data on the RepairToken itself
    customModelDataOfItemBeingRepaired: 0 # 1.13 + Whether the item being repaired needs custom model data
 
----------, Jan 29, 2023

[+] Added support to repair items with specific custom model data, to modify this add to config.yml this line:

Code (Text):

...
RepairItems:
  Repair1: #The name of the item (used in the give command)
    item: NETHER_STAR #Must be a valid material (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)
    data: 0 #Used for further material data (Not needed for 1.13)
    repairDurability: 10 #The amount that it will repair the items durability by
    name: "&eRepair Token &7(Tier I)" #Items name
    lore: #Lore of the item
      - "&7Increase an items durability by"
      - "&c%DURABILITY%"
      - "&7Drag this item onto another to repair it!"
    setGlow: true #Whether you want the item to have a glow
    spawnParticles: true #Whether you want a helix to show
    permission: "none" #Whether you want a permission for it to be useable
    sound: BLOCK_NOTE_BLOCK_PLING # >>>> USE BLOCK_NOTE_PLING if on 1.12.2 !!! <<<< The sound to play, simply type NONE if you wish a sound not play
    customModelData: 0 # 1.13 + Whether the item being repaired needs custom model data on it, set to 0 to disable
 
----------, Jan 27, 2023

[+] Added support for 1.19
----------, Jul 4, 2022

[+] Fixed a logical bug which meant Items could be repaired by the wrong amounts
----------, May 5, 2022

[+] bug fix for 1.18.2
----------, Mar 6, 2022

[+] 1.18 Support
----------, Dec 21, 2021

[+] 1.17 bug fix
----------, Aug 15, 2021

[+] Repair tokens with custom model data from another plugin would not be classed as a repair token, now they are
----------, May 3, 2021

[+] Repair tokens with custom model data from another plugin would not be classed as a repair token, now they are
----------, May 3, 2021

[+] Glow enchant was not being applied to items, now it is if its set in config
----------, Feb 12, 2021

[+] Repair tokens are no longer re-nameable in Anvils
[+] You can now set 'none' for messages in config.yml, to disable them
[+] Basic metrics added, see main page for info
----------, Feb 9, 2021

[+] Fixed issues with 1.16 items
----------, Jul 26, 2020

[+] Added support for 1.16
[+] Cleaned up abit of error checking code
----------, Jul 8, 2020

[+] Rebranded to JetsRepairTokens You will need to transfer your files located in plugins/RepairTokens to plugins/JetsRepairTokens
[+] Added new command, /repairtokens about
[+] You can now repair by a %, I.E if you want to repair by 10% rather than 10 durability, simply put a % after the durability in config.yml, example:
Code (Text):

Repair2:
  item: NETHER_STAR
  data: 0
  repairDurability: 50% #You can also do %, so this will repair the item by an additional 50% //NEW FEATURE
  name: "&eRepair Token &7(Tier II)"
  lore:
    - "&7Increase an items durability by"
    - "&c%DURABILITY%"
    - "&7Drag this item onto another to repair it!"
  setGlow: true
  spawnParticles: true
  permission: "none"
  sound: BLOCK_NOTE_BLOCK_PLING
 
----------, Apr 15, 2020

[+] Fixed a NPE occurred if throwing a repair token outside an inventory
----------, Dec 8, 2019

[+] You can now set it so repair tokens require a permission to use, example:

Code (Text):

Repair2:
  item: NETHER_STAR
  data: 0
  repairDurability: 50
  name: "&eRepair Token &7(Tier II)"
  lore:
    - "&7Increase an items durability by"
    - "&c%DURABILITY%"
    - "&7Drag this item onto another to repair it!"
  setGlow: true
  spawnParticles: true
  permission: "none"
  sound: BLOCK_NOTE_BLOCK_PLING
 
----------, Oct 28, 2019

[+] Tokens will now use NBT Tags to store durability data, compared to relying on the lore not changing @Sahrotaar
----------, Feb 12, 2019

IMPORTANT: YOU MUST ADD THE FOLLOWING LINE TO YOUR config.yml, if updating.

Code (Text):
#Should repair tokens be stackable?
Stackable: true
 

[+] Added the ability to customise whether items are stackable or not. Note if you give players a stack of tokens, they WILL Be stackable.
----------, Nov 7, 2018

[+] Fixed a Null Pointer Exception that was being thrown quite often.
----------, Nov 4, 2018

[+] Fixed an error that occurred while performing commands
[+] Modified configuration file to support 1.13 by default
----------, Aug 24, 2018

[+] Players will not be able to use Repair Tokens in Crafting Recipes (Thanks @Bunny_Magic for reporting this)
----------, Aug 8, 2018

[+] Fixed a bug that caused the RepairToken not to be consumed on some servers (Thanks @darkblazeman)
----------, Jun 4, 2018

Note: If you are updating from a previous version, please add
Code (Text):
spawnParticles: true #Whether you want a helix to show
to each of your repair items, an example is shown at the bottom.

[+] Added the ability to spawn particles when a token is consumed. Currently the particle effect and type is not configurable however will be in a soon-to-come update :)

Example:
Code (Text):
#Repair Items
RepairItems:
  Repair1: #The name of the item (used in the give command)
    item: NETHER_STAR #Must be a valid material (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)
    data: 0 #Used for further material data
    repairDurability: 10 #The amount that it will repair the items durability by
    name: "&eRepair Token &7(Tier I)" #Items name
    lore: #Lore of the item
      - "&7Increase an items durability by"
      - "&c%DURABILITY%"
      - "&7Drag this item onto another to repair it!"
    setGlow: true #Whether you want the item to have a glow
    spawnParticles: true #Whether you want a helix to show ### NEW LINE ####
    sound: BLOCK_NOTE_PLING #The sound to play, simply type NONE if you wish a sound not play
 
----------, May 17, 2018

[+] Fixed an incorrect message from being displayed when the server was starting up
[+] Swords are now added in the config.yml by default
----------, Apr 28, 2018

Resource Information
Author:
----------
Total Downloads: 236
First Release: Apr 25, 2018
Last Update: Jan 12, 2025
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings