HomeJavaModsRepair Scrolls: Fix Items with a Scroll! [100% CUSTOMISABLE] [NEW TIERS!]
Repair Scrolls: Fix Items with a Scroll!  [100% CUSTOMISABLE] [NEW TIERS!]
ModsJava

Repair Scrolls: Fix Items with a Scroll! [100% CUSTOMISABLE] [NEW TIERS!]

⬇ Download on Spigot
[​IMG]
Repair Scrolls

Give your players scrolls to fix their gear!
Description:
This plugin will add a customisable item called a "Repair Scroll" to your server. Once given to them, players will then be able to drag and drop the scroll to their piece of gear, and BAM, it gets its full durability again. Repair scrolls can have different "fix-percent"s, where they would only heal the specified amount of durability configured, cool right?
This plugin would be a great addition for the RPG servers out there.


Commands and Permissions: (Aliases: /RS)


/scroll help (Permission: RS.ADMIN)
Displays the help page for Repair Scrolls.
/scroll give [type] [player] [amount] (Permission: RS.ADMIN)
Gives a scroll to the command parser, if [player] is not specified. Default amount is 1.
/scroll reload (Permission: RS.ADMIN)
Reloads the configuration files.
/scroll debug (Permission: RS.ADMIN)
Gives the command parser a broken item for testing purposes.
/scroll list (Permission: RS.ADMIN)
Lists all the different repair scroll tiers.

Configuration Files:
Here are the configuration files for customization. They will be installed after you start the server with the plugin for the first time.
Code (Text):


#Do not change this value.
config-version: 1


item:
  options:
    full-durability:
      #When a player attempts to place a scroll when the item placed on already has full durability.
      disable-scroll-usage: true
      send-message: false
      sound:
        enabled: false
        volume: 1
        pitch: 1
        sounds:
        - "ENTITY_BAT_TAKEFF"
    gear-enabled:
      #The gear that a scroll can be placed upon.
      tools: true
      armor: true
      weapons:
        swords: true
        bows: true
      blacklisted-items:
      #Items that are not allowed to be used with a scroll. Please use Bukkit material names.
      - "FLINT_AND_STEEL"
      - "SHEARS"
    sound-options:
      enabled: true
      volume: 1
      pitch: 1
      sounds:
      # Please use Bukkit sound names only.
      - "ENTITY_BAT_TAKEOFF"

scrolls:
  simple:
    name: "&e&lSimple Repair Scroll"
    item-id: 395
    data: 0
    lore:
    - "&7This simple scroll is said"
    - "&7to repair an item."
    - ""
    - "&e&lUsable on:"
    - "   &e&l * &7Armor"
    - "   &e&l * &7Weapons"
    - "   &e&l * &7Tools"
    - "   &e&l * &7Gear"
    - ""
    - "&e&lRepair Percent:&7 30%"
    - "&8Drag n' Drop on item to apply."
    fix-percent: 30
  legendary:
    name: "&6&lLegendary Repair Scroll"
    item-id: 395
    data: 0
    lore:
    - "&7This legendary scroll is said"
    - "&7fully repair an item."
    - ""
    - "&6&lUsable on:"
    - "   &6&l * &7Armor"
    - "   &6&l * &7Weapons"
    - "   &6&l * &7Tools"
    - "   &6&l * &7Gear"
    - ""
    - "&6&lRepair Percent:&7 70%"
    - "&8Drag n' Drop on item to apply."
    fix-percent: 70
  godly:
      name: "&c&lGodly Repair Scroll"
      item-id: 395
      data: 0
      lore:
      - "&7This legendary scroll is said"
      - "&7fully repair an item."
      - ""
      - "&c&lUsable on:"
      - "   &c&l * &7Armor"
      - "   &c&l * &7Weapons"
      - "   &c&l * &7Tools"
      - "   &c&l * &7Gear"
      - ""
      - "&c&lRepair Percent:&7 100%"
      - "&8Drag n' Drop on item to apply."
      fix-percent: 100

messages:
  #All in-game messages, you can have multiples lines. To disable a message, set the first line to "none."
  help:
    - ""
    - "&6&lRepair Scrolls   &8(by @Kyrix)"
    - ""
    - "&e&l/rs give [type] [player] [amount]"
    - "  &o&7Give yourself or a player a repair scroll."
    - "&e&l/rs debug"
    - "  &o&7Give yourself a broken item for testing purposes."
    - "&e&l/rs help "
    - "  &o&7Displays chat help messages."
    - "&e&l/rs list"
    - "  &o&7Lists all the available scroll types."
    - ""
  invalid-player:
    - "&6&lCould not find: &7%player%"
    - "&7&oThe player you are trying to find is either offline or invalid!"
  confirmation:
    - "&7Successfully sent %amount% Repair Scroll to &6&l%player%&7!"
  player-confirmation:
    - "&7You have received a &6&lRepair Scroll&7!"
  invalid-arguments:
    - "&6&lInvalid Arguments!"
    - "&7&oRefer to /rs for command usage help."
  inventory-full:
    - "&7You have received a &6&lRepair Scroll&7!"
    - "&8The item has been put on the ground because your inventory is full."
  full-durability:
    - "&7This item already has full durability!"
  no-permission:
    - "&c&lAccess denied!"
    - "&7You do not have permission to use this command."
  config-reloaded:
    - "&6&lSuccess!"
    - "&7All config files have been reloaded."
  scroll-doesnt-exist:
    - "&c&lThat scroll does not exist!"
    - "&7&oUse /rs list to get a list of all available scrolls."
  only-players:
    - "&7Only players may use this command."
  list:
    header: "&6&lList of all scroll types:"
    format: "&6&l%num% &7%name%"
  debug:
    recieved:
    - "&6&l(!) &7Debug item received."
 
 


Images:
Spoiler: Images
[​IMG]

Notes:

Please do not use the review section to report bugs, the discussion thread is a better place for that. Thank you!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Repair Scrolls: Fix Items with a Scroll! [100% CUSTOMISABLE] [NEW TIERS!] is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 990 times (via Spigot). Download it and open it directly in the game.

Explore more