No Lore Repair

NoLoreRepair is a repair plugin that works similarly to the /repair command found in Essentials. It allows a player with the permission to repair any item as long as it does not have a specific Lore written in the config.yml. For example, if the server owner specifies the following sentence in the lore field: "Bought from the server store", then all items with that lore (like in the picture below) will be denied the ability to be repaired.

repair

Credits: Thanks to hintss from BukkitIRC for helping me with the development of this plugin.

Permissions

repair.nolore - Allows you to repair items as long as they don't have the specified lore.

Commands

Usage: /repair all - Repairs all repairable items in the player's inventory, ignoreing items with the blacklisted lore.. /repair hand - Repairs the item held by the player, given that it isnt a repairable item or has the blacklisted lore. /repair - Works same as /repair hand.

Aliases: /repair /rp /fix

Config

The config.yml file looks like this:

Lore: Bought from the server store
# The lore given above is used to see if a player is trying to repair that item. Please give the entire lore and not just the first word.
Message: This item is not allowed to be repaired.
# Message sent to the player if he/she tries to repair an item with the specified lore.

Here is an example of how the plugin works/is used:

/repair all command:

repair

If there are no items that can be repaired:

repair

/repair hand command:

repair

Unrepairable Item:

repair

/repair hand command on an item with blacklisted lore:

repair

NoLoreRepair Repository can be found here

This plugin is licensed under CC Attribution-ShareAlike 4.0 International

In very basic terms, Do whatever you want with the code of this plugin, as long as you give credits to the author and/or the plugin itself.

Please leave a comment and tell us what you think of this plugin. We would greatly appreciate it

Made by a member of

LegitPlay.net

Powered By

ReliableSite.net


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    76695
  • Created
    Mar 22, 2014
  • Last Released File
    Mar 22, 2014
  • Total Downloads
    682
  • License

Categories

Members

Recent Files