Version a0.3

Details

  • Filename
    ArcaneBooks.jar
  • Uploaded by
  • Uploaded
    May 11, 2013
  • Size
    105.88 KB
  • Downloads
    297
  • MD5
    38700d3df016b2176788aba65ae9a25c

Supported Bukkit Versions

  • CB 1.5.2-R0.1

Changelog

NOTE: I've noticed that a number of people have downloaded this version despite the next version which implements the central feature of this plugin. I can only presume that if you're one of those people, you're downloading this version rather than a later one because you only want a plugin that lets you store experience levels in bookshelves. I'd like to point out that you can effectively disable the spell-casting side of the plugin by removing all spell effects from the SpellEffects file and all spellwords from the SpellWords file. I'm not going to add any features to this plugin that are not disableable in a similar way.

a0.3

  • Rearranged innards of levels registry for better performance.
    • Now sorted (using quicksort)
    • Now searches using binary search (as opposed to linear)
    • Permissions are now handled outwith the mana registry.
  • Implemented a C#-style event system. Event and EventListener are at puppy.hanii.bukkit.arcanebooks.MiscObjects.Events - see the javadoc
    • Added events ExpStorage.LevelsStored, ExpStorage.LevelsUnstored, and ExpStorage.LevelsDrained.
    • This is mostly for my own personal use, but it'll be handy if anyone wants to hook into my plugin in the future. Will implement bukkit events in the future.
  • Changed default manastores to bookshelves being able to store 2 levels each instead of 5.
  • Replaced separate CSV-file-handling systems with one generic one.
  • Added permission:
    arcanebooks.manastores.break (Required to break blocks containing mana)

This should be the last version before I have the book interpreter implemented.

Left some bugtesting code that messaged the console in.

The sorter/searcher for blocks containing XP sorts/searches even when there are no blocks containing XP, causing the console to be spammed with indexoutofbounds exceptions. Temporary work-around is to simply store a level in a block somewhere so the sorter/searcher isn't working with an empty set of data.

This also occurs when someone tries to store a level in a block for the first time. Temporary work-around for this is to create a dummy record in the ManaStores.csv file. copy + paste the following text into the manastores.csv file.

WorldName,XCoOrdinate,YCoOrdinate,ZCoOrdinate,LevelsStored
"world",0,0,0,1