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
@Diemex
Hi Diemex I don't know if this already exists in an plugin but I can say it wouldn't be a big thing to do it...BUT I will not add it to Standardbooks.
@All I am currently working on an update for some code where I will check if the book already is in the inventory, if there is enough space, there comes and advice message when the help/rulesbook is inserted (forgot it first ;)) and it will then be possible to define moe then one book as firstjoin/help/rulesbook It will take some time because I have some more important things to do :) but it will come
@merlinshaw
There is a way to do it, if block 137 is enabled at the server and for you. You have to be in creative mode and have permission.
program block 137 to command: "/sbs give guidebook @a"
Here is a suggestion I made on the forums, which is related to standardbooks. http://forums.bukkit.org/threads/newsletter.123854/ Do you think this is possible or is there even a similar plugin that does something like this already?
@kahlilnc
Seems logical kahlilnc... :P
@BlindW4lk3r
http://pastiebin.com/?page=p&id=50fb99a9b86cc Pages have title with §n on top and when I spawn it it just gives me a book titled written book with nothing inside. When I remove §n it is fine again. And the book name and author dont support color codes?
@kahlilnc
for me both the colorcodes with & and the formatting with § are working and i am not the only one. If you can't provide any further information I am not able to help
@BlindW4lk3r
Doesn't work.
Would be nice if there was a give all command.
is it possible to get something like sign support or anything like that? my users would love it if we could make a bibliothek with books they can get...
@fungreenfox
I was testing with chests don't even saw this plugin can handle dispensers anyway I can't do anything about it
@BlindW4lk3r
I tryed this replicator with my standardbook without colors, in a dispensor, and only one book comes out. Then there is no book left. So i don't know how you manage to get more than one book?
(works fine with other stuff replicating).
Anyway, i found that using block 137 can solve this. Worlds fine with set block 137 to command: /sbs give guidebook @p
@fungreenfox
So I tried this Replicator plugin and it CAN duplicate books inserted with StandardBooks but what it can't is set the Color/formatting codes correctly but that is not my fault and I can't do anything about it.
@kahlilnc
The & Codes only supports colors from 0-9,a-f and they will only show after you insert the book via command while writing and saving it will show simple as &1blabla etc. for bold letters or the other stuff you need the § symbol codes look here
@BlindW4lk3r
insert the book again? The idea with a replicator is to replicate items, not to be standing next to it, and insert the book every time someone hits the button.
@fungreenfox
all I could say to this I did. so I can't help you. why don't you just insert the book again?
@BlindW4lk3r
Using book&Quill to make a book, will make that book replicable asap it is finished. Your standardbook is not being duplicated. I did not say its your problem, or asking why its your problem. Im just asking for your help, kindly, please get me right :)
The "&" Codes are not working for me :( In game and in config (&l, &n &k are not supported)
@BlindW4lk3r
No, you asked for suggestions/Ideas.
All I am asking is able to given multiple books on first join and when using the /help command so things are not all crammed into the one book.
firstbook: Rules, ServerInfo, FactionCommands, GeneralCommands
I have stated a fairly valid reason on why a cooldown option should be on the commands.
In no way did I ask or want you to implement permission based books on commands/first join. VIP Commands Book was an example of one of the books you would receive using that command with multiple books.
Thanks for your time and great plugin.
@Chalkie19
And let me guess you also want that non vip players only get the other books...
Could we please get a reload command in this. Thanks.
Also can we make multiple books be given with the /rules /help command.
Example for /help
General Commands Book
Faction Commands Book
VIP Commands Book
Also a option for a cool down on the /help /rules command so people don't spam the command to clutter console, as well as spamming to get lots of books to trade to villagers.
@fungreenfox
I can't imagine why that it isn't replicated should be my problem. After a book is inserted StandardBooks does not handle any other itembehavior same is after saving the book.
Try to replicate an other signed book