BookWorm
This is a plugin that lets you read and write books. There are other similar plugins available, but this one is a bit different. 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. In order for this to work, I have made it so books are not stackable.
Minecraft Built-In Written Books
Since Minecraft version 1.3, written books have been built into the game. They have a nice GUI and work well enough for most players and servers. This plugin was created long before that. It is still available and maintained mostly for those servers who still want to keep their old books intact, and for a few who prefer this version over the official books.
I will most likely continue to support this plugin as long as there are those who still use it, but I will not be adding any new features. Any new releases will simply be bug fix updates.
If you are looking for a plugin that enhances the functionality of Minecraft's built-in books, there are many plugins available. Here is just a small selection:
- SwissBook - Adds several features, such as editing already written books and creating a server manual
- BookShelf - Allows placing books in bookshelves
- BookRules - Create a rule book
- BookShop - Allows players to publish and sell their books
Links
Installation and Configuration
Simply copy the jar file into your plugins folder and run your server. Optionally, you can also install the Spout plugin. Adding Spout will allow SpoutCraft users to see book titles on the book tooltip and read books in a GUI instead of in the chat area. Spout is not required for this plugin to work.
View the Configuration page for information about the various options in the config.yml file. View the Permissions page to see the permission nodes this plugin has available.
Usage Statistics
This plugin uses a system to keep track of its usage statistics. This is the same system used by other plugins such as LWC and Vault. Every half hour it "calls home" and reports some basic usage information, like how many players are online, how many pages have been read, and how many lines have been written. You can see the graphs here:
http://metrics.griefcraft.com/plugin/BookWorm
If you would like to opt out, you can do so by setting the enable-usage-stat-collection option to false in the config file.
Usage
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.
To start writing a book, you hold a book in your hand and type /write <title>. You can then use /write <text> 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.
When creating a copy of a book, by default the plugin creates a "fake" copy. Any changes made to the original will also show up in the copy, and any changes made to the copy will show up in the original. This includes adding new text, changing the title, erasing text, or any other modification. You can change this behavior by setting the make-real-copy option in the configuration file to true. If you choose to do this, you should be aware that each copy will then take up hard drive space, and "book space". There is a current limit of about 32,000 books.
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.
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 <page> : read the specified page
- /write -author <author: sets the displayed author (this is just the displayed author, the real author will stay the same)
- /write -title <new title> : 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 <text> : erases the specified text from the book
- /write -replace <old text> -> <new text> : replaces text
- /write -eraseall : erases all text from the book
- /write -get <id> : gets the book with the given id
- /write -id : gets the id of the currently held book
- /write -delete <id> : completely deletes the book with the specified id
Videos
My original (somewhat outdated) tutorial video:
A review by zSistine:
Recent Changes
You can view the full change log here.
If someone has a colored name, will this work? (since it uses displayname and my name technically looks like this: &agabriel11798 in-game)
Love the mod
@MontegroDK
It's compatible. Most plugins should be compatible, there weren't many changes.
Is this compatible with 1.2.4 yet? Or do we have to wait for an update?
Maybe you could add the ability to write on paper so as to make notes...
I've registered just to ask: why do you use ASCII for text files saves? Some guy has already told you about non-Latin letters issue, but you haven't changed text files encoding since then. Is it such a difficult operation to edit one-two lines of code?
I suppose they've mentioned a few times that custom blocks are one of the first things they want to implement, so I can dig it.
Also, how about them 1.2.4 chat changes! Good times.
@dockter
There is already a Spout reading GUI.
@Montpelier
I don't know, but I don't have plans to add this any time soon. I'd rather wait and see what comes of the Minecraft API itself.
Is Spout far enough along that it supports custom blocks yet? Visual indicators for shelf with/without book is my suggestion if so. I guess the default texture counts as book present, so... I don't know. Still. DO IT.
Any plan to add a Spout enabled GUI?
@Doglok
You could remove copy permissions for everyone.
was wondering if there will be a Config entry that will disable the hole copy book thing
I love this plugin but I think it would fit better if you stored a book then retrieved that same book instead of default copying it
either way its a nice plugin (great) plugin to have for those rainy days.
thanks
@nisovin
Thanks, and now the server I play on is using this now!
@nisovin
Thanks :)
@Videogamenut101
Yes, the copy will also be updated, unless you set the make-real-copy option to true.
The server I play on is wondering if they should get it, but they want to know one thing. If someone made a book, put it in a bookshelf and someone took a copy, and if the author edited that book, would the person with the copy get his book updated too?
EX:/
P1: Writes Book and puts into bookshelf
P2: Takes a copy
P1: Makes a change to book
P2: Update?
@rellac
You can open up the jar and modify the plugin.yml file if you want. You have a good point though, I'll remove the /w as an alias for the next version.
Is ther eany way to remove the /write command? I like having my /w command for pming and /bw for books.
@nisovin
I was pretty sure I clicked the right link O_O But for some reason, it looks like I really ran 1.10 :O So yeah, I misclicked, somehow. Weird.
Thx for the support! One rarely sees that much help :)
@BSEUNHIR
Version 1.11 should have worked fine. Are you sure you weren't running 1.10?