CivcraftImport:Mods/bookworm

|Back

= Bookworm =

This is a plugin that lets you read and write books. This plugin lets you read and write to the actual book items, rather than just affecting bookshelf blocks. The books' text will actually be stored with the book item.

This plugin uses the /bookworm command, but it has the /bw and /write commands as aliases. The in-game help is designed to be, well, helpful. Using the command without any arguments will give you context-sensitive help.

Writing to a Book
To start writing a book, you hold a book in your hand and type /write &lt;title&gt;. You can then use /write &lt;text&gt; to add text to your book. If chat mode is enabled, you can also just chat without using the command to write into the book, as long as you're holding the book. You can use a double-colon :: to create a paragraph. As you write, the plugin will break your text into pages for you.

You can place a book in a bookshelf by left-clicking on the bookshelf with your book in hand. You can get a copy of a book from a bookshelf with left-click, and you can remove a book from a bookshelf with shift-left-click.

You can read a book by holding it and right-clicking the air. You can read a book in a bookshelf by right-clicking the bookshelf.

Commands while Writing
There are some special commands available while writing a book.


 * /write -help : shows this list of commands
 * /write -chat : toggle chat write mode
 * /write -read &lt;page&gt; : read the specified page
 * /write -author &lt;author: sets the displayed author (this is just the displayed author, the real author will stay the same)
 * /write -title &lt;new title&gt; : change a book's title
 * /write -undo : Undo your last write action. Only has one level of undo. Things that can be undone: written text, replacements, erasings.
 * /write -erase &lt;text&gt; : erases the specified text from the book
 * /write -replace &lt;old text&gt; -&gt; &lt;new text&gt; : replaces text
 * /write -eraseall : erases all text from the book
 * /write -get &lt;id&gt; : gets the book with the given ID
 * /write -id : gets the id of the currently held book
 * /write -delete &lt;id&gt; : completely deletes the book with the specified ID

Discussion/Comments
Please refer to the discussion page.