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
any update on the request?
@rangewonk
TCGM asked something like this before but no it's not possible.
is there a way to make it give them 2 or more books on first join?
@Wreyth
I'll have a look at this but I promise nothing
would it be possible for you to add a command to remove a book from some ones inventory by name of the saved book? such as /sbs take [Bookname] [Player]? i would like to use this plugin for giving books with quest descriptions then when the quest is done by command remove the book from the players inventory.
@ntrixter
You are right I had to change the way I get my booklist and forgot to change this command will fix it next time.
@TCGM
That is not possible with my plugin
How would I have a person spawn with, say, 4 different books?
When I use the ( /sbs list ) command I get:
[StandardBooks] [Ljava.lang.String|@28920691
And the @ number changes everytime. But the Save and Give commands still work.
@Zectric
No sorry not without looking more for this ;) but I know that you must start your server explicit with Java7.
@BlindW4lk3r
I knew you would say that :P
To answer your question I don't know i know I downloaded Java 7, but I don't know if the server is running on Java 7, do you know any way to check? Thanks
Zec
@Zectric
And once again I have to ask you: Is your server running with Java7? My plugin contains Code only available in Java7 so it will not work on older versions.
Hey this looks like exactly the plugin I need, but when I try it, i get this error:
What can I do to fix this?
I really don't know why at our server it is working. What permission plugin are you using?
permissions aren't working correctly, sir. /sbs save is working with * permissions, but that's all. /sbs give isn't working at all with * (op) permissions.
@thodiral
It would not work they would just get a message, that they don't have permissions.
@wyndkin
I must change the way I am doing that but I'm not sure if I can do something like that
@wyndkin
I'm not sure if this would work,
but why not just giving the admins the negative permission node, -sb.help?
Would it be possible to add some kind of admin opt-out permission for this, so when they type in /help it provides them their normal /help commands?
@Hvarr
Maybe he said this but I used code from Java7 and I will not change it. I also saw some plugins around already using java7 instead of java6.
@Dashiex
You are right. Thanks.
@Htz
Thanks for the report I look at this when i find some time :( I also thought about adding such a command... I will do it ;)
Very good plugin ! But I found a bug : if the book's name start with a cap, the cammand /sbs give don't find the book :/
And, please, can you add a command which give the book to another player ( ex: /sbs give (player) [book] ) it will be usefull with NPCs which can send commands.
thanks !
Htz
PS: sorry about my bad english :/
@Hvarr
You need 1.7 Java from that error I believe.