BookShelf V3.4

Details

  • Filename
    BookShelf.jar
  • Uploaded by
  • Uploaded
    Mar 3, 2014
  • Size
    72.67 KB
  • Downloads
    1,605
  • MD5
    da2a42b8d0f8b7c085fafc179c365a89

Supported Bukkit Versions

  • CB 1.7.2-R0.3

Changelog

  • Updated to 1.7.2-R0.3
  • Sped up the conversion from database version 2 to database version 3. I'm sorry for those of you who had to wait 5 hours. :(
  • I believe I fixed the InventoryClickEvent errors some of you were finding.
  • Added shelf ownership!! The player who places the shelf is automatically the owner of a shelf, along with all ops.
    • Use /bssetowners Owner1 [Owner2] [Owner3] ... to set owners of a shelf. (Uses permission bookshelf.setowners)
    • Use /bsaddowners Owner1 [Owner2] [Owner3] ... to add owners to a shelf. (Uses permission bookshelf.addowners)
    • Use /bsremoveowners Owner1 [Owner2] [Owner3] ... to remove owners from a shelf. (Uses permission bookshelf.removeowners)
    • Use /bsgetowners to see owners of a shelf. (Uses permission bookshelf.getowners)
    • Add the owner "all" to your owners to allow all players to access the shelf (assuming they have WorldGuard/Towny/LWC permissions)
  • Added new "Donate" shelf type; The way it works is all players who are not the owner of the shelf can place books/paper/etc into the shelf but not remove any items, and the owner can add/remove from the shelf. Good for submitting approvals to a library or something.
    • This adds a new donate shelf flag to Towny.
    • This uses the CHEST-ACCESS flag in WorldGuard.
    • This uses the command /bsdonate or /bsd (Uses permission bookshelf.donate. Op and owner default)
    • When changing a shelf to a donate shelf, it will take the name "Donation " + Your default shelf name in config. For example, "Donation BookShelf". You can change this with /bsname or /bsn.
  • Owners of shelves can now add/remove from donate, unlimited, and shop shelves without having to toggle them back to normal shelves! Unfortunately this means you cannot get unlimited copies of a book from your own shelf (yet).
  • I was not able to find any WorldGuard bugs. Maybe I fixed them with the new ownership system, but I'm sorry if I missed it. I tested all kinds of situations with WorldGuard and followed all the bug reports I have received about problems with the flags, etc. But every time I tried, there was never a time when you could open a chest and not open a shelf. If you ever encounter a scenario when you set the correct flags yet players still cannot access shelves when they CAN access chests, please PM me or make a ticket explaining how you have your regions set up so I can replicate it. Thanks!!!

Quick recap:

  • Nothing was added to the main config.
  • Added donate shelf permissions to the towny config. They should appear automagically when you update.

Added Permissions:

  • bookshelf.setowners
  • bookshelf.addowners
  • bookshelf.removeowners
  • bookshelf.getowners
  • bookshelf.donate

Changed Permissions:

  • bookshelf.unlimited is required for a player to turn their shelf into an unlimited shelf. They must also own the shelf. Ops own all shelves. (Default Ops)
  • bookshelf.toggle is required for a player to toggle their shelf. They must also own the shelf. Ops own all shelves. (Default Everyone)
  • bookshelf.shop is required for a player to turn their shelf into a shop. They must also own the shelf. Ops own all shelves. (Default Everyone)
  • bookshelf.name is required for a player to name their shelf. They must also own the shelf. Ops own all shelves. (Default Everyone)
  • bookshelf.donate is required for a player to turn their shelf into a donation shelf. They must also own the shelf. Ops own all shelves. (Default Everyone)
  • bookshelf.setowners is required for a player to set owners of their shelf. They must also own the shelf. Ops own all shelves. (Default Everyone)
  • bookshelf.addowners is required for a player to add owners to their shelf. They must also own the shelf. Ops own all shelves. (Default Everyone)
  • bookshelf.removeowners is required for a player to remove owners from their shelf. They must also own the shelf. Ops own all shelves. (Default Everyone)
  • bookshelf.getowners is required for a player to get a list of owners of their shelf. They must also own the shelf. Ops own all shelves. (Default Everyone)

Added Commands:

  • /bssetowners
  • /bsaddowners
  • /bsremoveowners
  • /bsgetowners
  • /bsdonate or /bsd

Things I am working on:

  • WorldGuard (I need more info! Read above.)
  • GriefPrevention (I'm really sorry I didn't get this in this time. I said I would but I didn't :[ )
  • Some kind of better permission system.

Let me know if you have any more suggestions or bug reports!! :)

* I was not able to find any WorldGuard bugs. Maybe I fixed them with the new ownership system, but I'm sorry if I missed it. I tested all kinds of situations with WorldGuard and followed all the bug reports I have received about problems with the flags, etc. But every time I tried, there was never a time when you could open a chest and not open a shelf. If you ever encounter a scenario when you set the correct flags yet players still cannot access shelves when they CAN access chests, please PM me or make a ticket explaining how you have your regions set up so I can replicate it. Thanks!!!