Shelf-It!
Shelf-It!
With Shelf-It you can store whatever you please in any bookshelf with a simple right click! Shelf inventories are saved, and can be set to just give copies of their contents like a "free" sign. Bookshelves can also be set up as Vault-based shops.
Features
- Bookshelves store only what you want! Shelf-It lets you decide what can and can't store in bookshelves.
- Chest-style inventories with configurable number of rows
- Switching to fewer rows later is no problem, as bookshelves automatically adjust size to accommodate their inventory!
- Individual bookshelves can have unique titles and number of rows!
- All contents are dropped when destroyed
- Shelves keep the correct contents, even when moved by pistons!
- Bookshelves' contents are saved to a .yml file for easy reading and modifying!
- Bookshelves can be set to give infinite copies of their contents or setup as a shop
- Configurable bookshelf inventory names that support color codes
- Multiple players can access the same shelf at the same time
- Limit players to accessing shelves from the side only [Configurable]
- Supports use of WorldGuard and Towny regions to limit shelf access [Configurable]
- LWC compatible
- Includes simple locking command for basic access protection
- Protection to prevent shelf destruction via fire and explosions [Configurable]
Usage
[Video tutorial courtesy of Wukkit]
To open a bookshelf right-click it with your bare fist or while holding a non-place-able block/item. Shelves can be used to store any item listed in the config file. All data is saved to BookshelfData.yml in Shelf-It's plugin folder.
Breaking a bookshelf yields its regular drops plus anything that was stored in it. Only players with the "shelfit.admin" permission can break "free" type shelves. Shop shelves may only be broken by their owner or by players with the "shelfit.admin" permission
Concerning Future Updates
Development for this plugin is currently inactive for the foreseeable future, though I would love to start again if I ever got the chance. If I become aware that this plugin no longer functions with current builds of bukkit and minecraft I will update this page to reflect that.
A sincere thank you to everyone who used and/or gave feedback for this plugin. It was a pleasure while it lasted.
If you enjoy this plugin and want to say thanks, some
caffeine
is always welcome :D
Check out my other plugins!
Feel free to leave comments and suggestions! PM me if you would like to submit a video tutorial!
update to 1.7 please! :)
@Karim_NexusNode
Not a problem, glad to be of service!
I will be donating soon! Thank you!
@CommodoreAlpha
Thank you for your kind words. User interest like yours is what makes continued plugin development worthwhile.
Thank you for sharing Shield with me. I have looked several times for something like it, but somehow never knocked into it. I will most definitely look into incorporating Shield into ShelfIt.
I'd just like to say, thanks for the continued support you've been giving for this plugin!
Instead of supporting multiple protection plugins to block unauthorised bookshelf access, couldn't you just use Shield instead? It's kind of like region-protection-API that acts like a Vault, but for protection-region plugins. That means you can just hook into that plugin, and automatically hook into all majour protection plugins Shield supports (barring LWC, because that's not a region-protection plugin; but LWC cancels all interact events anyhow).
@AxelDios
Thank you for letting me know that this issue has persisted. I have a feeling these bugs stem from another plugin and the bukkit dev build not playing well with each other after the reload, but just in case that is not what is going on, there are a few things we could look into.
Reply here or pm me the contents of your ShelfIt config file, and let me know if these problems are effecting every bookshelf on your server, or just certain types like free/display bookshelves.
On your end of things, I would recommend running a test server with as few plugins as possible (ideally just ShelfIt) and seeing if the problems persist.
I am grateful for your continued efforts and patience. I look forward to your response.
Same two problems with that build of Bukkit and the most current build: 1.7.2-R0.1 (Build #02959), released 12/15/2013.
@AxelDios
Using this bukkit dev build and ShelfIt v1.3.5, I was unable to reproduce this bug, and everything worked correctly.
I would recommend updating to the bukkit dev build I have linked to, as that should resolve the issue. If you are already using that specific build, or switching to it does not resolve the situation, please let me know so I may further assist you.
Thank you for your time and patience.
Colors work fine until I /reload my plugins, then the colors stop working and where the color code should it shows a question mark and the code.
Also after the reload the books taken out of a bookcase and put into inventory thinks you are putting an item into the bookcase and tells you you can't place that type of item into the bookcase.
Using Shelf-It 1.3.5 and the current dev build of CraftBukkit 1.7
@xDizasterCYx
Very Strange. To be clear, you are looking at a bookshelf that either is a shop or contains at least one allowed item, and when you issue the command "/si setlocked", the server replies with "un gato!"? If that is the case I really have no clue what is going on and must assume some other plugin is butting in as I have not coded a "un gato!" error message into Shelf-It.
As for the second issue, that is the intended behavior. In regular minecraft when you break a bookshelf it gives you three books. Shelf-It gives you those three books plus whatever was stored inside the bookshelf.
I hope this information has been helpful, and if you find out anything more, please let me know. As always, I am very grateful for your patience and appreciation. Thanks again.
found some bugs:
locking isnt working, when i try to lock is saying to me that: un gato!
i put 1 book in bookshelf but when i destroy the bookshelf i got 4 books
I'm very glad to have been of help. I apologize that I was somewhat slow coming in my responses, but I've had a bit of the flue the last couple of days.
I will continue to think of a good way to implement limiting what bookshelves can be used as storage.
It works fine now. Thank you! :)
@Th3Z0n3
For this to occur normally, you would have had to specify,
" World Type Defaults:
[the name of your world]: free "
In the config file. If this is not the case, and items are still duplicating, please pm me the contents of your BookshelfData.yml file, which is located in ShelfIt's plugin folder.
Every bookshelf duplicate my stuff. Your description says: Bookshelves can be set to give infinite copies of their contents
But where can i disable it? It seems that there is no option for this.
@Th3Z0n3
Thank you very much for the lockette information. Is just one shelf duplicating things, or are they all doing it?
Thanks again for your patience.
I'm running Bukkit 1.6.2 R1.0 with Shelf-It! v1.3.5
Sorry, i've tried apples but i can't put apples in shelfs. Thats why they disappear. This works fine. But i got a new problem. The stuff that i put in the shelf is unlimited. So how can i disable it?
Btw: This plugin works fine with Lockette if you add the bookshelf as a container in Lockette config ;)
@Th3Z0n3
Sorry Shelf-It is giving you trouble. Currently it is not possible to use just one bookshelf.
As for the disappearing items, what items are disappearing? Have you allowed that item in shelves? When you say next time do you mean the next time you check the shelf, or after a server restart? What version of Shelf-It and Bukkit are you running?
With that information I should be able to help you out. Thank you for letting me know of this issue.
Is it possible to use only one bookshelf? Because i plan to use it as a secret bookshelf in a library.
Edit: Items disappear if i put them into a booshelf and try to access them next time
@xDizasterCYx
Thanks again for the feedback. I've begun work on the improvements you suggested.
@MaxKoopmansNL
At this time I am not planning to integrate with GriefPrevention, but I may in the future. I really wish there was a Vault equivalent for protection plugins. Thank you for letting me know there demand for supporting that plugin.