LinkedBookShelf
About
This plugin allows bookshelves to be linked to adjacent blocks that contain an inventory. When a player right clicks on a bookshelf, if there is a block touching it that has an inventory then that blocks inventory will be opened to the player.
This allows players to create usable bookshelves which can seemingly store items just by placing, for instance, a chest behind a bookshelf.
This approach is simple and does not require the use of database to serialize objects stored in a bookshelf. Additionally, if usage of the plugin were to be discontinued on a server then the player's items are still safe in the chests the bookshelves are linked with. Since the plugin does not touch the stored items, they are future proof from loosing added meta data in future versions of Minecraft that might not be explicitly handled by a plugin that would need to serialize inventory data.
Hide chests adjacent to bookshelves, right click bookshelf to open:
Chests below bookshelves will open even if they normally wouldn't:
Sneak clicking on a linked bookshelf works the same way it would for a normal container, allowing you to build onto existing bookshelves. The plugin sends out an event before opening the linked container. This event can be cancelled by other plugins that are meant to protect containers from other players.
Configuration
- check_faces - Which block faces and the order to check for linked inventory holder blocks
- valid_holders - Which types of inventory holder blocks can be linked to a chest
See the default config file for more information.
Commands
No commands
Permissions
Use "linkedbookshelf.use" to enable or disable access to this plugin.
It seems that LinkedBookShelf broke, possibly with Minecraft 1.6.4 update (Spigot, build #1109).
It certainly is not working on my server, but I can't fathom why it wouldn't since the whole concept that you have going on here is brilliant in it's simplicity. If I find out more what's going on I will open a ticket. I have to do some testing on my local test server to see if it's some plugin that's causing this or the 1.6.4 update. But nothing new has been added, so .. hm.
Just a little heads up.
This is awesome man, thnx!
@S1lverK3y
The plugin does not modify any blocks, it just serves as an aesthetic helper. So yes you should be able to see the renamed chest just as if you opened it directly.
Awesome idea! Will this support renamed chests behind bookshelves for 1.5 too?