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.
-
View User Profile
-
Send Message
Posted Nov 14, 2011Nice plugin!
-
View User Profile
-
Send Message
Posted Nov 11, 2011Thanks a lot for this plugin. some people may not appreciate how much this can be used for. it could be used as an in game news system, or for rpg purposes and many other things.
Thanks for developing such an awesome plugin :D
-
View User Profile
-
Send Message
Posted Oct 31, 2011Thank you!
-
View User Profile
-
Send Message
Posted Oct 26, 2011Can we get "Write-on-paper" feature please :(?
-
View User Profile
-
Send Message
Posted Oct 25, 2011@Wilko343
Read a book like normal. It requires SpoutCraft.
-
View User Profile
-
Send Message
Posted Oct 25, 2011How to see the GUI?
-
View User Profile
-
Send Message
Posted Oct 22, 2011The spout GUI is an amazing feature! Thanks!
-
View User Profile
-
Send Message
Posted Oct 22, 2011Thanks nisovin for updating the plugin! I know many server owners utilize it, its a core feature on my server for players that donate!
Bookworm is a great clever plugin that allows people to write text in books. I even heard that there are similar gameplay features like this on 1.9! Truly special, my friend. Keep up the good work!
-
View User Profile
-
Send Message
Posted Oct 3, 2011Have you thought about adding support for accessing mobi or epub books? Allow the plugin to link a book to a mobi or epub book stored on the server?
-
View User Profile
-
Send Message
Posted Sep 26, 2011How we can see a ''book'' whit spout ?
-
View User Profile
-
Send Message
Posted Sep 8, 2011i addit it for other people that alreadt read it i'm not going to post ea 1minut a new post.
-
View User Profile
-
Send Message
Posted Sep 7, 2011@Qismyname Please, for the sake of the dev, if you're going to edit your post to update your findings, erase the questions you've already figured out for yourself. It'll save him some frustration x). And please see my post below; I pointed out many of the same things.
@nisovin Thanks for the help. I understand why the delete might be more complicated - something like, you'd like to configure the plugin to recycle and reuse the indexes of deleted books, yeah? Or even make it so that if there are more books after the removed book's ID, all their references are decremented so that the plugin just keeps adding new ones to the end of the list. The latter being somewhat pointless, but technically more organized.
Heh anyway, just taking a stab at understanding what makes book deletion trickier. There's also everything you'd have to do if "real copies" is disabled. I guess it'd mean removing the data for all the bookshelves with that book in it, and clearing all instances of it in player inventories and etc., huh? Yeah, that'd be kinda annoying to script right. e_e;
As you can see, I'm not the only one who'd like to be able to see the command list/help while not holding a book. It's simply a matter of convenience, and one I'm pretty sure isn't so tough to make happen. xP
Ah I see, I'd just seen so many other surprising instances in inventory management where the server kicks in and keeps you from doing stuff, that I'd assumed stacking could be managed server-side too. If it's client-side like that, nothin' you can do. Sorry for bothering you about it!
I apologize for missing the config page, too. Just me being a retard @.@. Thanks again for the help!
P.S.: make-real-copy isn't described on the config page, but pretty sure I get the gist of it
-
View User Profile
-
Send Message
Posted Sep 7, 2011What is the command for the ingame help?
i use : /w help - i make a book with name help! /w commands - i make a book with name commands! i cant use any commands with a book in my hand that will start a new book and i cant use the commands without a book in my hand,
Can you make a command list here?
How do i close a book from more Text?
Added after 10 sec!
Damm i need to ready the topic beter -.-
Help command "/w" and "/w -help"
ow now your useing spout anyway cant you make a GUI for the books?
Note: When useing the /w -eraseall command with the book in your hand you cont remove the title!
Added After 5 min!
Useing FTP you can destray books easy, and rename them also change the name of the maken for RPG Purpuses :)
Nice job! 9/10 (make the /w and /w -help useable without a book!
-
View User Profile
-
Send Message
Posted Sep 7, 2011Great i got spout so let me give it a try :D
-
View User Profile
-
Send Message
Posted Sep 6, 2011@Saber_Mage
The eraseall option is not intended to completely delete the book. I have plans to add a deletion option, but it isn't high on my priorities. It is not as simple as it may seem at first glance.
The help and other command options are built this way on purpose. If you're not holding a book, you can't use those commands anyway.
The anti-stacking code is about as good as it's going to get without creating some kind of client-side mod (which I won't be making unless Spout adds some kind of support for this). It's performing the right behavior, and it isn't checking too late either. The problem is the client does its own thing because it assumes books can stack.
Your questions about the config options can be answered by looking at the Configuration page.
-
View User Profile
-
Send Message
Posted Sep 6, 2011Just tried it out, and this plugin is indeed quite sweet 8D. A few questions/concerns:
- /bw -eraseall clears the contents of the book, but doesn't clear the book's item alias - Any unwritten books in your inventory change their item alias to whatever you titled your last book - If you have more than one different book in your inventory, eraseall removes the book's main text, but does not clear the book entirely (leaves title and byline intact) - The -help and all other -commands can't be called unless you're holding a book that has been titled - Anti-stacking of written books works great for the most-part! If you shift+click to stack, it appears to work until you exit the given menu, where the books will then "expand" into their individual entities, overflowing back into your inventory if e.g. there wasn't space in the chest or whatever. As if it's performing the right behavior, just checking too late. - There doesn't seem to be a way to completely remove a book from memory without editing the plugin's server-side files.
The basics of this plugin work wonderfully. If you could work out this simple (sounding >_>) bugs, it'd be flawless. =D
Ah, and questions:
- "Book info achievement" is enabled, but I haven't seen a sign of it. What is it exactly? - What file names is "use full file names" pertaining to? - Require book to copy copies text from a bookshelf into an empty book in your hand, I assume? - What's a "real copy?" (rather, what does "make-real-copy" modify?) - What exactly are the "clean interval" and "remove delay?"
I'm sure they all seem like obvious answers to you, but when we're left to guess, please understand that there are a great variety of incorrect answers we could come up with for ourselves. xP
-
View User Profile
-
Send Message
Posted Sep 6, 2011@Qismyname This feature is already available. It requires the Spout plugin and the SpoutCraft client to function.
-
View User Profile
-
Send Message
Posted Sep 6, 2011Can you make a name for the book like:
Book - History of name and you see this if you get your mouse over it ?
-
View User Profile
-
Send Message
Posted Sep 6, 2011Empty books are still stackable.
-
View User Profile
-
Send Message
Posted Sep 6, 2011Also, I wonder: I've heard that forcing the ink dyes past their default 0-15 data value range causes their appearance to cycle through that of all the other items. If it's possible to do this with Bukkit or maybe Spout, perhaps you could use a "book" with the item ID of ink dye as the written-in, unstackable books, and empty books could be plain and remain stackable. I just suggest this because, keeping books from being stackable could make it more of a pain to mass-craft bookshelves. They're already pretty tricky to make, y'know =P.