StandardBooks
StandardBooks
With this Plugin you can hand out a written book on first join (maybe containing the rules) or get other saved books (maybe with admin commands) via command.
Check out the Converter tool for textfiles created by Marcsello ConverterPage
Features
requires Java7
- save books ingame. for this you must hold the book
- books can contain the &0,&1... color codes
- books can contain "§" formatting
- define the book given on first join or turn feature off
- per book permission so your Builders can't get the admin Commandbook
- give a book to an other player
- can override /help and /rules so a defined book is inserted instead (needs sb.help or sb.rules permission)
- hand out a book at first join (delay possible)
Commands
- /sbs save [bookname] | saves the written book in hand with given name
- /sbs list | lists all saved books
- /sbs give [bookname] | gives you the book with the entered name
- /sbs give [bookname] [playername] | gives the book to the player
Permissions
- sb.list | allows to get a list of all saved books
- sb.save | allows to save a new book
- sb.give.bookname | allows to insert the book with the given bookname
- sb.give.other | allows to give a book to an other player
- sb.help | allows to receive the helpbook when /help is typed
- sb.ignorehelp | players with that permission will be ignored when overriding /help
- sb.rules | allows to receive the rules book on /rules
- sb.ignorerules | players with that permission will be ignored when overriding /rules
Change notes
v1.4.1
- fixed incompatibility with bukkits 1.4.5-R1
v1.4
- added delay for first join book (if you want to use it you need a new config file)
- list and give book to player command can now be performed via console
- fixed list command
v1.3
- added feature to give the book to an other player
- fixed help and rules override and added permission to get normal help and rules
- fixed bug writing none as inserted book giving empty book
- fixed bug that a book could not be found when starting with capital
v1.2
- added "§" formatting support
- added possibility to override /help and /rules (needs new config file)
- added sending of plugin metrics to mcstats.org can be turned off in config (needs new config file)
v1.1
- changed command to sbs
- changed the way a book is saved so an enter key will not be a new page (that means you hav to change your books)
- fixed wrong spelled example
- fixed copying 'title: ' and 'author: '
v1.0
- first release
Known Issues
- ???
Converter
Marcsello created a tool to convert textfiles into StandardBokk accepted files check it out:
Planned features
- check if book already in player inventory
- give.all.* permission for all books
- message on help and rules
- Any ideas? let me know
Thanks
Thanks got to blackbinary for hosting our server where I can develop and test my plugins
Thanks to Marcsello for creating the Converter
@Hvarr
Your server running java7?
@BadHaders
Why shouldn't I? I was ask to do it and it's a great way to format a book.
From your mentioned bugs I could only see the one with none. Colors work for me fine after insert the book again.
@Defender0fHyrule
You're right I'll fix this
Why did you use the §? It's impossible to type in minecraft unless you have it on your keyboard
@BlindW4lk3r
Cool plugin! However, I noticed one problem, though. When this plugin is enabled, it always overrides "help" and "rules". If it's not set to override with a book, it will only return what you typed in chat ("/help" or "/rules", respectively), instead of showing you the default help or rules message, which in my case is provided by Essentials.
Well for me at least, colours don't seem to work in the books, unless i'm doing something wrong. I am typing &4Text or any colour code, and it doesn't change, closing and opening the book, evening publishing it, and doing /sbs save {name} then /sbs give {name} still doesn't make colours appear.
I also have a few bugs: Saving a book with any capitals in the name makes it impossible to get a copy. You can type /sbs give none when no books are saved to give yourself a blank book. You can type /sbs give book, to give yourself a blank book. It works with any book in the list that has a comma after it.
@BadHaders
For me they work. the § codes immediately (but only in v1.2) the other after loading the book
How do the colour codes work? They don't appear to be working for me.
@thomascarter
I think it will be updated tomorrow
How long until you will be supporting the § ? Many thanks
@BlindW4lk3r
Cool! Can't wait!
@Darkhand81 I am about to insert this override thing but it can take a few days because i have some family stuff to so this weekend. But it won't take much longer.
@qwerty00011
I wouldn't want to be loaded down with books when I join, you're probably better off making different chapters in one book.
@BlindW4lk3r
I second the 'override the help command' idea! Players are bound to get rid of their starter books and ask for another copy later...That would be a great way to automate the process! I don't like the fact that the help command exposes all of my server's plugins, anyway.
Like you first log in an you could have one for rules and one about the server and one for commands?
@querty00011 What du you exactly mean?
you can save more books and insert them
Maybe an option for more than one book?
sounds cool. my server has alot of differences from vanilla, so maybe people can read instead of being like wtf wheres diamond :)
thanks
If anything's going wrong tell me so I can fix it (I'm not perfect as well) ;)
Also how would i go about updating to java 7? i'm a little bit new to the subject. nevermind i figured it out... thanks for this great plugin!!! :D
that is completely alright, and thanks for the info :D
@MattIsNotMyNameMC
Hi again, if you're having an error it would be nice to show it to me without I can only speculate that your servers running on java6 while my plugin needs java7...
In case of the Kits: I don't believe it's my part to made this work. I can't hack into all available Kit systems outthere and it wouldn't be easy I think until I include my own what I'm not going to do. Sorry for that