LinkedBookShelf

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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: Hide chests adjacent to bookshelves, right click bookshelf to open

Chests below bookshelves will open even if they normally wouldn't: 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.

Source Code

LinkedBookShelf @ GitHub


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit