Got a question that the wiki doesn't answer? Ask on the forum (preferred), or join us on IRC.

BeastNode MC-Market.org

CraftBook/Readable bookshelves

From EngineHub.org Wiki
Jump to: navigation, search

Readable bookshelves make bookshelves "readable" on right click. Lines of text read from the bookshelves file will be printed to the player's chat on each right click, simulating usage of the bookshelf.

Usage

Readable bookshelf.png

To use a bookshelf simply right click it. In the configuration it is possible to require certain sneaking states, as well as disabling the bookshelf working when the player is holding a block. Both of these are to make it less annoying for players who wish to build.

Customizing the lines

A default collection of quotations is provided in the books.txt file that comes with the CraftBook download. It is found in plugins/CraftBook/

You can add new lines, remove lines, or replace the entire file altogether. Each line of text is one "book." The file can be as big or as small as you want it to be.

Permissions

Permission Node Effect
craftbook.mech.bookshelf.use Allows use of Readable Bookshelves.

Configuration

Configuration Node and Path Default Value Effect
mechanics.bookcase.enable false Enable readable bookshelves.
mechanics.bookcase.read-when-sneaking no Enable reading while sneaking.
mechanics.bookcase.read-when-holding-block false Allow bookshelves to work when the player is holding a block.

Navigation menu