BookText
BookText
Most needed information, inside a book!
Download Latest version!
For older downloads visit this page
Features:
- Gives the book to a new player on the server.
- Configurable Title and Author.
- Define your own text inside the book, e.g. Rules, Commands or even website!
- All the color codes including Bold, matrix(random) and italic!
- Permissions Support.
- Commands to see/set the title, author.
- Lightweigth.
Commands & Permissions
Example config.yml
book: title: Commands author: Admin page: Commands*n*&7/spawn*n*/home*n*/warp*n*&lAdmin Commands*n*&5/ban*n*/kick pages: 3 page1: You can edit*n*These &9Pages page2: And add &lColour tags&4 to&m them! page3: Add approximately up to 1000 pages!
*n* - new line &num-letter - color codes pages: Amount of pages you want to use! Do not exceed amount of defined pages, for example if you got 5 defined pages do not enter 20 pages, otherwise it will throw an error.
TODO:
Allow more than 1 page
- Command to view/set the page
- Add reset (&r)
- Add OP system.
Permission nodes
Command to set/see the author
Command to set/see the title
- More books
Known Bugs:
- A page starting with a color throwns an error
FAQ:
Q: What is a *n*?
A: It is a new line sign.
Q: How to create a second page?
A: Yes, it can make unlimited amount of pages unless bukkit or minecraft blocks it.
Q: I get an error in the console, what should I do?
A: Create a ticket and paste the error there.
Changelog:
Version 0.2:
- Added commands to spawn a book, edit the author and title and more!
- Added permissions system
Version 0.2 Beta:
- Updated plugin to bukkit 1.4.2-R1
Version 0.3:
- Added unlimited amount of pages
- Updated plugin to bukkit 1.4.2-R2
Useful links:
Color Codes:
http://www.minecraftforum.net/topic/1485009-bukkit-colour-codes/
@RustyDagger
No offense, but you sound aggressive o.O My laptop shutdown in the middle of editing page 22, twice, and I still finished 47 pages in the end. One page doesn't take you hours, sir.
God dam it I was editing the start of page 2 and forgot to put a ' at the start of the line because I had a color code not only did it make an error It empty the whole file can you please stop it emptying the dam file Just lost hours of work..
@RustyDagger
Ok, sorry about that. I will change this in the new update of the plugin.
Can you please remove the Version number from the Jar file Name its not needed and causes issues.
Why?
Simple say a server admin is updating the plugin and Just drags and drops in a FTP window normally most jar files just overwrite the old one but because of the name difference created by the version number this plugin will not overwrite and will require manual removal of the OLD version if a server owner forgets to do this there will no doubt be errors involved and you may get bug reports that waste server admins time and your own time.
@AJAW132
Yes, I want a command like '/booktext add' to add a book into config.
@notif
Do you mean the first line to be in quotes? That is not a bad idea actually. I am not sure if it would work as expected. Will check that today.
To fix the bug with the & sign at the beginning, and allowing for other characters, you can put the page entry in double quotes:
page5: "&6Hello, fellow kinsman"
@notif
Do you mean the colour type reset? I wasn't sure if this was a color code. Does it reset the color or something?
EDIT: Don't worry about it, I've done it already. This will be in the next release. You can reset it by changing the color to black or white.
The &r reset code doesn't appear to work, however it does reset on a new line.
page1: -<] &6&lTenets &r[>-*n*&r&41. &lNo griefing*n*&r&42
@nhoclesnar
I'll add this to TODO list, it's a great idea. So you want a command to get a existing book to a config?
@Dalez
Why don't you update to java 7?
@RustyDagger
Yes, thanks for that :)
Any way you can compile this against Java 6? This plugin doesn't work unless you have 7 :(
Nice work Glad to see this coming alone Its to the point where I think i can use it now.
Can't wait for Multi Book support Will be super awesome :D
Also another typo for you.
Yes, it can make unlimited amount of pages unless bukkit or minecraft bloks it.
Should be
Yes, it can make unlimited amount of pages unless bukkit or minecraft blocks it.
Awesome. One question: Is there a command to add a book written in game into this plugin? It takes a long time to transfer all the content from my old book to this new config.
New version, /booktext spawn command fails:
http://hastebin.com/kofihoduja.coffee
I opened a ticket as well.
Thanks!
@nhoclesnar
It's done, wasn't really that hard but finally done it with a help of a new plugin dev. Please read changelog for new changes.
I really can't wait for 'Allow more than 1 page' feature. Please hurraay :)
@ferrybig
That's exactly what I did, it works perfectly :) But I think he meant that most book plugins did not have these features.
@Darkhand81
cant you de player.hasJoinedBefore() to see if a player entered the server for first time?
Hope this one sticks around! There have been a few book plugins since 1.3 came out that either died off right away or weren't quite feature-rich enough.
Based on problems the other plugins had, we need:
Thanks for your efforts!
@RustyDagger
Yes, I will correct this now.
EDIT: Btw, I am working on ability to make up to 50 pages now.