Books without Borders!
Books without Borders!
Ever wanted to export your book to a text file? Ever want to import it back in? Accidentally sign it too soon? If so, Books without Borders has got your back!
Features
- Export written books and book and quills to .txt or .yml files
- Import books from files as written books or unsigned books
- Text files can be any length, and the import process fits the content to the correct page length
- Books can be saved privately, or to a directory visible server wide
- Encrypt books to secure their contents [Courtesy of dorrax]
- Give, encrypt, or decrypt held books with signs
- Give players books via command blocks
- Unsign or copy held books with a simple command
- Give first time players a single book or a set of books when they join
- Configurable option to require certain items or pay via Vault compatible economy to create books via command
- Add lore to any item with a simple command
- Supports adding and saving color to titles, lore, and book contents
Usage
[Video Tutorial courtesy of luigi_vampa]
Just use the simple commands linked below and you'll be on your way. No tricky maneuvers required!
To make books auto-update, make the book's title end with "[U]". For example, "booktitle[U],authorname.txt" or "updatingbook[U].txt".
All book data saves to [Server Plugins Folder]->[Books without Borders]->[Books]
View commands and permissions here.
See examples of Yaml format book editing here.
See examples of sign usage here.
View sample configuration file here.
For general book usage and writing information click here.
For advanced book editing and tips like how to use §r to create line breaks, click here.
Concerning Future Updates
Development for this plugin is currently inactive for the foreseeable future, though I would love to start again if I ever got the chance. If I become aware that this plugin no longer functions with current builds of bukkit and minecraft I will update this page to reflect that.
A sincere thank you to everyone who used and/or gave feedback for this plugin. It was a pleasure while it lasted.
If you enjoy this plugin and want to say thanks, some caffeine is always welcome :D
Check out my other plugins!
Feel free to leave comments and suggestions!
-
View User Profile
-
Send Message
Posted Mar 2, 2014I love this plugin! Since R0.3 the /bwb is not working. i have to use the full command.
For example : /bookswithoutborders load 1
-
View User Profile
-
Send Message
Posted Feb 22, 2014@gamermomoe
Very Strange. I tested the saving and loading of color in books and was unable to reproduce the issue. If its not too much of a bother, could you please pm or reply me the contents of an effected book's .yml / .txt file.
I am working on the update right now, and I hope to have it out sometime this week.
@ursak
This update will at least provide the (configurable) ability to restrict copying books to ones the player wrote themselves. Paired with the config file setting Require_book_and_quill_to_create_book your players will need book and quills to create additional copies.
-
View User Profile
-
Send Message
Posted Feb 20, 2014@AkiraAkiba
That is good to know.
There used to be a bunch of plugins for copying books but none is updated. What I'm really looking for is a way to let players copy only books they themself have signed and to be able to konfigure a price for copying the books (materials or ingame money).
I want to offer players the abibilty to write books and sell them, and rewriting each book each time just isn't fun. :P
-
View User Profile
-
Send Message
Posted Feb 17, 2014@AkiraAkiba
Thanks for letting us know. Anyway to add color to the text inside the books as well? Everytime I save it and load it again it comes with a random string of numbers in from of the words instead of the colors. Also, any idea when the next update is gonna be? I need this for some tutorial books I am writing and would love to use color.
-
View User Profile
-
Send Message
Posted Feb 15, 2014@gamermomoe
Im glad you're enjoying it. It is not currently possible to color book titles, but I should be able to add it next update.
@ursak
This is also not currently possible, but definitely something I will try to add next update. Thank you for the feedback.
-
View User Profile
-
Send Message
Posted Feb 14, 2014Can this pe configured to only allow players to copy books they've written themself?
-
View User Profile
-
Send Message
Posted Feb 14, 2014Awesome plugin! Is there anyway to color the titles of the books?
-
View User Profile
-
Send Message
Posted Feb 13, 2014@Newiezz
You are too kind. I will do my best to make sure this plugin continues to live up to your compliment. I hope to have an update out in the next few weeks if my life allows for it.
-
View User Profile
-
Send Message
Posted Feb 12, 2014This plugin is a masterpiece, it has everything that include books on Minecraft, I can easy edit, load and save tons of books (I am creating a large storyline and I have everything written on a text file. Keep up that awesome work :D
-
View User Profile
-
Send Message
Posted Jan 28, 2014@BroderMibran
I'll be sure to let you know if I require any further assistance.
As always it has been a pleasure.
-
View User Profile
-
Send Message
Posted Jan 28, 2014@AkiraAkiba
Thank you for your time, I'm glad to hear that, and glad that I could help you. :-)
If you think I can do anything else then do reply. :-D
I can also do monkey-typing, a programmer expression, for someone (a typing-monkey) who writes boring long lists of information the programmer itself, is too lazy to do.
In your case data such as itemlists, lines which only have a single sign or word changed each, or so. I think you got the idea.
I will be happy to be at service ;-), and have really enjoyed this correspondance, so thank you for taking me seriously. :-) x 3
Regards Mibran
-
View User Profile
-
Send Message
Posted Jan 27, 2014@BroderMibran
Sorry for the delayed response, it took me a bit to find time to properly go over your post. I very much appreciate all the effort and information contained in your reply, and I am sure it will speed the release of the next BwB update.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@Jo11yWombat
Thank you for bringing this defect to my attention.
I will get a fix out as soon as I can.I have uploaded BwB v1.3.1c to correct this issue.Thank you for your time and patience. With any luck it will be approved for download soon.
-
View User Profile
-
Send Message
Posted Jan 26, 2014when I try to do delete public it always tells me incorrect file name! no matter how I try to format it, I've tried /bwb deletepublic [1], 1, [1] null.null.yml, etc., etc., etc., it just doesn't want to work...
-
View User Profile
-
Send Message
Posted Jan 26, 2014<<reply 1991661>>
Yes, well of course! I will do what ever I can to help you, help us. ;-)
I currently using Pex (Permission EX), because it is, as far as I have experienced, the most convenient and stable for my use.
I'm not quite sure what you have in mind, when you say sample groups but I'll try...
Well... An admin group, a user1 group, a user2 group, a user3 group, and a default group)
(In my case dwarf, human, elf)
Since I do not know how you would add this function, I guess I'll have to use a temporary guess.
A bookcase.yml file, in which you store the name of your books and groups (categorized books, not pex-group).
Bookcase.yml
PublicBooks:
Book1 ' this would be book1.txt and etc...
Book2
Book3
User1Books:
User1OpenBook
User1Secrets
User1Generel
User1Manual
User1Rules
User2Books:
OpenBook
SecretsUser2 'to show another set of titles user[no] is just a part of the title not necessary or have to be an option.
GenerelUser2
ManualUser2
RulesUser2
User3Books: ' just to make a more complex example
User3OpenBook 'in the maingroup
User3Secrets
User3Generel
User3Manual
User3Rules
Default: ' this is a subgroup... indicator= ':'
User3OpenBook
User3Secrets
User3Generel
User3Manual
Order:
User3Rules
User3Law
State:
User3secrets1
User3secrets2
User3securedsecrets
A pex-file which gives them the permissions to use the books (se the "permissions:" sections for more)
Pex-file (Permissions.yml
Owner:
options:
rank: '0'
prefix: 'Admin '
suffix: ' (Owner)'
build: true
permissions:
- BooksWithoutBorders.Books.all
Default:
default: true
prefix: '&8'
suffix: '&8 (uregistreret)&8'
permissions:
- -BooksWithoutBorders.Books.* ' same as BooksWithoutBorders.Books.all they can't use any books because of the -
Users1:
default: true
prefix: 'Group1 '
suffix: ''
permissions:
- BooksWithoutBorders.Books.User1Books
Users2:
default: true
prefix: 'Group2 '
suffix: ''
permissions:
- BooksWithoutBorders.Books.User2Books
Users3:
default: true
prefix: 'Group3 '
suffix: ''
permissions:
- BooksWithoutBorders.books.User3books
Users3_Default: ' the more complex part, hope you might like the idea, it could be useful to have sub-groups, within the
default: true 'groups.
prefix: 'Group3 '
suffix: ''
permissions:
- BooksWithoutBorders.books.User3Books.Default
Users3_police:
default: true
prefix: 'Group3 '
suffix: ''
inheritance:
- general
permissions:
- BooksWithoutBorders.Books.User3Books.Default
- BooksWithoutBorders.Books.User3Books.Order.User3Rules '<--- Note!!! only a single book (user3rules)
Users3_Judge:
default: true
prefix: 'Group3 '
suffix: ''
inheritance:
- general
permissions:
- BooksWithoutBorders.books.user3books.order
Users3_statesmen:
default: true
prefix: 'Group3 '
suffix: ''
inheritance:
- general
permissions:
- BooksWithoutBorders.books.user3books.order
- BooksWithoutBorders.books.user3books.state
Users3_Leader:
default: true
prefix: 'Group3 '
suffix: ''
inheritance:
- general
permissions:
- BooksWithoutBorders.books.User3books.*
PersonThatJoinedYourServerForTheFirstTime:
group:
- default
users:
Player1:
group:
- default
Player2:
group:
- users1
Player3:
group:
- users2
Player4:
group:
- users3
Physical paths:
eks. for Public: ...\Plugins\BooksWithoutBorders\Books\Public 'Reserved folder for BooksWithoutBorders' public dir
eks. for User2books:
User3Books: ...\Plugins\BooksWithoutBorders\Books\User3Books
Default: ...\Plugins\BooksWithoutBorders\Books\User3Books\Default\{Books (txt) or Dir}
Order: ...\Plugins\BooksWithoutBorders\Books\User3Books\Order\{Books (txt) or Dir}
State: ...\Plugins\BooksWithoutBorders\Books\User3Books\State\{Books (txt) or Dir}
How the program should read it,
eks. BooksWithoutBorders.books.user3books.state
(I program VB and Microsoft language, not java so I hope you can understand it)
Path = ""
Var1 = ""
Var2 = ""
Var3 = ""
Var4 = ""
'get the info from the file, the way Java does it, there is no point in typing it in like VB does it, since it doesn't use periodeseperated paths, as far as I know.
Var1 = "User3Books"
Var2 = "State"
Var3 = "User3Secrets2"
Var4 = "" ' In case the path isn't as long as it could be
Sub Func_check
If isdir(Var1)=true then
If isdir(var2)=true
If isdir(var3)=true
If isdir(var4)=true
End 'here could be some kind of error, like "Path is to long", or have to be a valid file or so.
Else
If fileexist(Var4) then open "...\Plugins\BooksWithoutBorders\Books\" & Var1 & "\" & Var2 & "\" & Var3 & "\" & Var4 & ".txt"
End If
Else
If fileexist(Var3) then open "...\Plugins\BooksWithoutBorders\Books\" & Var1 & "\" & Var2 & "\" & Var3 & ".txt"
End If
Else
If fileexist(Var2) then open "...\Plugins\BooksWithoutBorders\Books\" & Var1 & "\" & Var2 & ".txt"
End if
Else
If fileexist(Var1) then
Open "...\Plugins\BooksWithoutBorders\Books\" & Var1 & ".txt"
Else
End' There is nothing to open
End if
End if
End Sub
I have checked every case, and there should be no error, except if a dir and a file has the same name it will open the folder, and won't look for a file.
And if a file within a dir, don't exist it simply ignore the path and don't open anything, but no real program-error will occure.
psudo-run of the ex.
is Var1 (User3Books) a dir?.... yes it is...
So then check is Var2 (State) a dir?
Yes it is, so then check is var3 (User3Secrets2) a dir?
No it is not
then is it a file?
yes it is
then open the file: "User3Secrets2" within the dir: "State" within the dir: "UserBooks"
:-D
Yeah the text is a little long, but I hope It might inspire you... :-D
Regards Mibran
-
View User Profile
-
Send Message
Posted Jan 24, 2014@BroderMibran
Thank you for your continued interest. I am always glad to here about my plugins enhancing a server's experience.
As you may have guessed the feature you asked about is not currently possible, but I would be glad to take a stab at changing that.
If its not a hassle, could you reply or pm me a couple of sample groups you were planning on using, as well as if you are using bukkit groups or a plugin to handle groups. This would aid me in developing this feature.
I look forward to hearing back from you.
-
View User Profile
-
Send Message
Posted Jan 23, 2014@AkiraAkiba
Thank you so much, will look forward to this... :-D
...not to be greedy, impatient or anything but I want to ask about just óne more thing.
I don't know if it's already possible , but can you assign books to group policies? Is it possible to assign special books to special groups that only they may decrypt, and maybe only they may read? I'm not sure how to do this, if possible.
I guess I might need to explain myself, for asking so many questions...
I'm running/starting up a roleplay-server and this plugin satisfy my need of making manuals and books for each race...
So if I can control who may decrypt which books, then it would feel like having different languages one for each race, and in that way you can be at the same place, and even share the same communication such as Skype, and still have secrets, written in books, even if they somehow knew the right keyword.
...So can you already do something like this, or is it something that might is to come?
Regards Mibran
-
View User Profile
-
Send Message
Posted Jan 22, 2014@BroderMibran
Thanks for the suggestion. I like the idea and plan on including it in the next update.
As far as its actual execution, I plan on adding a config setting to enable/disable the bypass. If enabled, an admin then simply needs to use the decrypt command without a key and the book will be decrypted.
Thanks again, I will begin on this update as soon as I can set some time aside.
-
View User Profile
-
Send Message
Posted Jan 22, 2014Hey AkiraAkiba
Could it be possible to make the admin permitted to bypass encryption, configurable?
I have a suggestion for a way to do this too... :-D
If files were stored like now but with an extension: _decrypted/_encrypted then an admin could just get the decrypted version at any time.
Ex. I make a file called "Testfile", it is stored as "Testfile"
If I encrypt it... with a key..., then the plugin renames filename to "Testfile_decrypted" , encrypt it, and store the encrypted version as "Testfile_encrypted"
...When I type in filename and key to decrypt it, then the program reads the Filename + "_encrypted" to get the file, ex.: "Testfile" + "_encrypted = Testfile_encrypted".
If I am an admin, I just type in the filename, as if I would read it without decrypting it, but the plugin still give me the Testfile_Decrypted. :-)
In that way, you don't need any new command for this.
...But if I, as admin, try to decrypt a file with a wrong key, then I just have the same consequences as anyone else, so that no extra coding is needed for this. :-D
I know you may use the plugin as it is for now, for security, but If you set admin_bypass (or what you might want to call it) to true then you have already made it possible to bypass the security and thereby not making it less vulnerable.
So is it possible? ...in an other way, perhaps?:-o
Regards Mibran.
-
View User Profile
-
Send Message
Posted Jan 22, 2014@RAGEmond
Glad to be of service. Let me know if there is anything else I can assist with.