Custom Book
Custom Books
This project is inactive, not sure that it will work on your server, though it might
If anyone wants to use the sourcecode to continue developing or making something for themselves it can be found at https://github.com/norbye/CustomBook-Bukkit.
If anyone wants to continue developing this plugin for the comunity, the main contributor would have to be contacted.
What does the plugin do?
This plugin allows you to make unlimited custom books which you can edit to your likings. Than all players with permissions to /cb or /custombook can spawn the books using /custombook or /cb <book name>. Did I tell you that you can make unlimited different books!?! You can also have unlimited books given to players the first time they join!
To list all the commands you can perform do /cb or /cb help
Commands & Permission
User Commands
Command | Description | Permission Node |
---|---|---|
/cb | Plugin command list | No Permission Needed |
/cb list [normal/join] | List registered books | No Permision Needed |
/cb <book> | Gives you a book | books.normal.<PERMISSION> |
/cb give <player name / all> <book name> | Gives the selected player a book | books.give.<PERMISSION> |
/cb reload | Reloads the configuration file | books.reload |
/cb version | View info about the installed plugin | No Permission Needed |
At First Join | Gives a book on first join | books.join.<PERMISSION> |
books.normal.* and books.join.* gives you permission to all books of given type, books.* gives you full permissions
<PERMISSION> is set pr book, a single book can have multiple permissions, if you for example want to give a group of books to certain ranks. There are two <permission> tags per book. The first one is for /cb <book> and /cb give, and the second one is for receiving books on first join or every join
Console Commands
Command | Description |
---|---|
/cb | Plugin command list |
/cb list [normal/join] | List registered books |
/cb give <player name / all> <book name> | Gives the selected player a book |
/cb reload | Reloads the configuration file |
/cb version | View info about the installed plugin |
How to install
- Step 1: Download this plugin. You only need this plugin there are no other requirements. (However a Permissions plugin can be usefull as this plugin has permissions for all of the commands that it has.)
- Step 2: Put Custom Books (this plugin) into your plugin folder.
- Step 3: Edit Books.xml after your likings
- Step 4: Save Books.xml
- Step 6: Profit!
Configurating the books
All books are stored in Books.xml in plugins/Books/
How to set the different contents of the book has been explained roughly in the default file. If anything is unclear, post a comment or file a ticket and it will be updated + you will have your reply
Default configuration file can be found here
How to update
- Change the name of the Books.xml file to something else
- Restart the server
- Update the information from the old xml file into the new This is because many updates have more settings for each book, and if your files lack these settings, the functions will not work
Changelog:
2.0.0 - Complete remake, support of the newer versions of spigot and craftbukkit 2.0.1 - Merged the two configs into one, changing the format a little
For more detailed changelog click the "download" link
To do..
This info is listed in the GitHub Repository, view it there:
https://github.com/norbye/CustomBook-Bukkit/blob/master/README.md
Known Bugs
None! :) If you have any questions are suggestions please say so in the comments
The fastest methods to get an answer: send a mail or create an issue in github
Colors
You can make everything here colored, the title, the author, and all the pages!
The way you do so is by using the normal color codes (found here: http://minecraft.gamepedia.com/Formatting_codes ) Then you remove the ยง and add a / on each side, this means that dark red would be /4/
How do I make enters?
The same way as the colors, but with the letter z instead
Info
This plugin is not always updated, mainly because of prioritizing of projects. It has recently (start of 2016) been uploaded to GitHub to allow other developers to participate in the project.
Another reason is that moderators have to aprove the new versions. The latest version uploaded is: 2.2.0
I you have found any bugs or are having problems with our plugin please send xXjn1234Xx a message with the console log and all the plugin files. For faster replies, send a mail to [email protected], because I'm not on this site very frequently
It works perfectly in Minecraft 1.15.1 (PaperMC)
Awesome plugin!
I would hope it got maybe a little bit easier to make a book!
But i like the the way that you config every book!
Config wont remain saved when updated even if you use commands in game. Seems like this plugin wont support 1.7.10 or higher with UUID system.
If you no longer am supporting this plugin please give me access to the source so i can update it myself. Thank you.
Anyone know if this plugin is able to work with or has a patch for 1.7.10? I really need something like this. Maybe a reload?
this plugin really sucked for me, i couldnt get it to work, and i copied the right format and everything. I tried EVERY thing to try and get it to work, no working. :l
1/5 stars
hi there. had a quick question.
the permission "books.join<id>" gets added to my default group(first joins) correct ? and for each book I want them to have, I have to add the permission for each book by adding the unique ID of each book for that permission, in a separate permission added to my default group ? want to make sure i'm understanding it. So , create a book , then go to the config and enter the text into the correct book and save. then reload the config ? thanks in advance !
@CleanerOrc
Sorry for late reply, I don't get notified about new comments here... Anyway, I'll try to add these functions asap. if I don't have time I'll send sourcecode your way so you can try it yourself. but I'm sure I'll be able to do it before saturday.
Do you guys have a way to format the multi line content pages? I tried making one long string and keeping each line 18 characters including spaces. But it's really really hard to get the formatting to line up, as it's so hard to count invisible spaces, etc.
Anyway, if not, I'd be interested in helping out with developing a code feature for you to do that. If you'd be interested in discussing it, PM me thru the forum.
If not, so you make the sources available?
Thanks for making Custom Books!
installed, changed custom file. spent 4 hours typing up a book and it cant even find the book... ive created a book then immediately type reload then /cb bookname and cant be found... this is very frustrating...
@RednecksFTW
Sorry for late reply, but it should be ยงlยง4, or ยง4ยงl
This either doesnt do what it says. or its not working for me.
Are we supposed to type up the book we want it to save first?
upon typing in these commands it just says "book" created. but nothing pops in your inventory and trying to give yourself a book just results in "book not found."
Can you please make a tutorial video or something that clearly explains how this is supposed to work?
Hi there, sorry for not replying but I have been inactive for the past 2 years, thus not having updated the plugin, fixed it up again 1.1.16.
Your problem might have been that the plugin stopped working when the player UUID system came, and other poorly coded parts. It is as said now updated, and will most likely stay that way. If video would still interest you (or anyone else) it can be made, but not going to be made if not necessary
How would you make a line bold? I know with normal formatting codes it is &4&L for bold dark red, but how would you set it up for this plugin?
@TheMcfoxxNetwork
Damn, this was a little mistake i did while updating this page last time :P
You can do it simply by using the normal minecraft color codes without the ยง symbol and with a / on each side, so dark red = /4/
Is there a way to color book lines
@jonny11011
Hi jonny, we have tried this function, because its pretty good to have, though we found some problems... so until we explore how to do that you will have to make a new line with adding spaces
Hello love the plugin. I have on question. Is there a way to start a new line ?
Eg
Content: AmountOfPages: '1' Page-1: Billy went to the shop /nl/ To buy a drink
This would allow us to format books more.
@CraftBang
mc.titaniumbox.org isn't open (the one in the ip is wrong server, the real one is offline)
play.minecraftercity.com isn't bukkit i think, can check with MineCrafterCity, but if it doesn't contain the plugin i will remove it from here
thanks for reply
Server play.minecraftercity.com doesn't have the plugin online, so does the second server ( mc.titaniumbox.org)
@UserDead
Hi, i'm sorry there are problems, though i have also experienced that it doesn't create more pages, which is very bad. Though it will be fixed in next update, but that update is huge, because basically everything is going to be changed. Also i don't have time to fix it that fast and i don't know if MineCrafterCity knows how to code any of my plans :p