Unbreakable Items 2.0

Details

  • Filename
    Unbreakable.jar
  • Uploaded by
  • Uploaded
    Sep 1, 2014
  • Size
    29.21 KB
  • Downloads
    2,863
  • MD5
    421f480034b8914aa658ff69b7ffc4e5

Supported Bukkit Versions

  • CB 1.7.9-R0.2
  • CB 1.7.2-R0.3

Changelog

Version 2.0

  • Fixed:
    • when shift-clicking to place an unbreakable item in inventory, both items (new and the stack if any) should now still be Unbreakable.
  • Added:
    • now backward compatible with either 1.7.2 or 1.7.9. Was hard, but worth the learning!
    • barding (horse armor) now also protected by "armor" configurations items.

Version 1.6

  • Added
    • Unbreakable on hold: if true, all protected items will become unbreakable when moved to player's hand.
    • Lore unbreakable string: if set, and that string is found in an item's lore, the item will become unbreakable.
      • does not respect world-based controls or player permissions, since item always has that lore string
  • Improved
    • Added ITEM_BREAK sound for when Unbreakable on pickup is triggered

Version 1.5

  • Added more automated features
    • Can now pre-mark items as unbreakable, based on different events. Select the ones you prefer based on server load
      • Unbreakable on spawn: if true, all protected items spawned on ground (ex. when dropped) will become unbreakable.
      • Unbreakable on pickup: if true, all protected items picked up by a player (who has permission) will become unbreakable.
      • Unbreakable on join: if true, all protected & permitted items in a player's inventory will become unbreakable when he joins server or moves worlds.
      • Breakable on leave world: if true, removes all unbreakable tags when a player leaves a protected world to an unprotected one.
        • only effective if Auto fix worldlist is set
    • Can configure automatic protections and enchanting by world. If not set, both default to all worlds.
      • Auto fix worldlist: list of worlds in which auto-fixing by event and/or item type is active
      • Enchanting worldlist: list of worlds in which Unbreakable enchanting of items or books is permitted.

Version 1.2

  • Added Also repair config flag which if set to false turns off repair of items when making unbreakable.

Version 1.1

  • Updated to 1.7.9-R0.1 release. NOT backward compatible at this point so must use that version of Bukkit with this version.

Version 1.0

  • Fixed:
    • avoid anvil crash when placing Unbreakable enchanted item
  • Added:
    • write of default config if none
    • code to copy new lang-xxx.yml when added to jar
    • book lore now translatable
  • Changed: enchant table mechanics
    • Made Unbreakable rarer on enchant table, similar to fiery arrows
    • Don't allow Unbreaking with Unbreakable

Version 0.9.2

  • Fixed: removed some chatty log messages

Version 0.9.1

  • Fixed:
    • Server reload caused exception with Unbreakable enchant..
    • unbk command worked with unrepairable items.

Version 0.9

  • Added:
    • unbk command for command-line enchant.
    • New permissions checks on each type of enchant
    • Deduct XP for enchants, unless creative
  • Fixed:
    • Now works with Bukkit 1.7.2-R0.3

Version 0.8

  • Added:
    • Enchantment table support
      • requires 25 levels min
      • comes up 1/n times
    • Anvil support
      • if you enchant a book, you can use it on an anvil
  • In Work
    • permission check for enchantment
    • command-line enchant

Version 0.7

  • Added:
    • mulitple languages support using LanguageAPI
    • softer error handling if not version 1.7.2

Version 0.6

  • Added: permissions support
    • permission unbreakable.armor (default true) that if false won't make armor unbreakable
    • permission unbreakable.weapons (default true) that if false won't make swords or bows unbreakable
    • permission unbreakable.tools (default true) that if false won't make all other repairable items unbreakable

Version 0.3

  • Added: configurable protections
    • Config item Protect armor (default true) that if false won't make armor unbreakable
    • Config item Protect weapons (default true) that if false won't make swords or bows unbreakable
    • Config item Protect tools (default true) that if false won't make all other repairable items unbreakable

Version 0.2

  • Added:
    • Config item to disable to-player message on making an item unbreakable, Message on making unbreakable
    • If you don't want a message, make a plugin/Unbreakable directory and put a config.yml file there with "Message on making unbreakable: false"
    • default: true

First release

  • Requires Bukkit 1.7.2-R0.2. Will crash without it.
    • Yes, future intent to make it fail nicely with reflection
  • Everything protected automatically.
  1. Some other plugins don't respect the new Unbreakable tag.
  1. Unbreakable tag doesn't appear to stick through server stop/starts/saves. Known Bukkit issue. Vote it up here.

Also doesn't copy when right clicking to place; suggestion: ONLY left-click with your Unbreakable items.

Placing in an anvil an item enchanted on an enchanting table with Unbreakable will crash the client. :(

Doesn't automatically protect horse armor (barding), though you can enchant it.