Info Book
Info Book
Informations
InfoBook is simple bukkit plugin which have only one purpose. On first player login you can give free books with your content. You can put there informations about player commands, how to get VIP status or whatever you want. Player will get book only once (you can give more than one) and book content can be changed through config
Important informations
- Book have 14 lines per page
- Line can have 19 chars
- In page definitions you can use color codes
- If you need new line use &x
Update Checking
This plugin utilizes Gravity's update checker to notify when a new version of the plugin is out - it will not automatically download the new version. This can be enabled or disabled in the config.yml. To disable update-checking, set version-check to false.
Commands
| command | permission | description |
|---|---|---|
| infobook list | infobook.list | List available books |
| infobook reload | infobook.reload | Reload confuguration |
| infobook get <book> | infobook.get | Get book <book> if its defined in config |
| infobook save <book> | infobook.save | Save book from your hand into config as <book> |
| infobook delete <book> | infobook.delete | Delete book <book> from config |
| infobook give <player> <book> | infobook.give | Give <book> for <player> |
Default config
Configuration sample below. Inside onlogin list you can put more than one book name which player will get on first login. above you need to define that book with params author, title and list of pages.
# InfoBook
# Plugin should check for new versions and inform you on server start?
version-check: false
# Language file
language: en
# Every player will got books from that list on first login
onlogin:
- bookname
# Show book content on login without giving it into inventory
# put 'null' word to disable that option
# If you want display info on every login put book name
# on dontsave list
showonlogin: null
# delay in seconds
showonlogin-delay: 2
# Player cannot drop books from that list.
protected:
- bookname
# You can decide what books from onlogin list will not save
# information that player got it already, so players will get
# that books on every login.
dontsave:
- bookname
# You can destroy book on drop from inventory
destroy-on-drop: false
# If true you need to add permission node:
# infobook.book.<bookname>
# without that perms, player will not autoget books
per-book-permissions: false
# Book definition
books:
default:
slot: 9
author: 'Admin'
title: 'Informations'
description:
- 'First line'
- 'Second line'
pages:
- '&cInformation book &x &x&0Here you &xcan put &xinformations.'
- 'Second page of our book.'
-
View User Profile
-
Send Message
Posted Oct 7, 2015Hi ! I'm french and i wanna translate the plugin. Can you add a 'language.yml' file ?
Oh and... Awesome Plugin ! Thanks !
-
View User Profile
-
Send Message
Posted Sep 5, 2015Hi. Been using the plugin a while and it works great.
Small bug:
If write a book with an ampersand (&) in it and save it (/infobook save [name]), then load up the book (/infobook get [name]) the ampersands are not properly handled.
I suspect the reason for this is that there is no form of cancellation in the config (e.g where something like /& means to print an ampersand rather than a section character).
-
View User Profile
-
Send Message
Posted Jul 1, 2015Hello, Great plugin probably going to use it on my server, however i have two things that would ,make it perfect for my needs:
First the message it would be nice if i could disable it, mainly when I give-to another player if I could:
Second is when you give a book to a player it puts it in the slot from the config which is great, however if they already have it it just gives them a second copy and puts it anywhere, if we could have a
command as well as give which just forces it to go to a player slot and overwrite anything there.
But other than that its great, json books would be cook but no biggie for me, keep up the great work!
-
View User Profile
-
Send Message
Posted Jun 9, 2015Great plugin. I did see one flaw. If i make the book protected, and drop it when i am in my inventory, it disappears.
-
View User Profile
-
Send Message
Posted Jun 1, 2015Could you please remove the message when using the "/infobook give <player> <book>" command, the message is grammatically incorrect and is otherwise unnecessary. Thanks!
-
View User Profile
-
Send Message
Posted May 23, 2015Can you make it so it works with CustomJoinItems?
-
View User Profile
-
Send Message
Posted May 22, 2015Could you add json support for a book content? (Which is added in 1.8).
For example, when I click on a line of text, I will automatically execute a command, or a command is suggested.
-
View User Profile
-
Send Message
Posted May 17, 2015Hello a Quick recommendation would be Deny drop and storing in any sort of chest variable system till book has been opened. If player hasn't opened this book since the obtained it sendmessage (This book cannot be thrown away so easily till you take the time to read this.
The reason for this is players don't seem to read the thing they toss it on the ground and go, Yes i would be easy to set up a /levelup to be allowed to build but i be-leave this would promote layers to actually read rules till they open it up at least to the first page.
know the possibility of this would be hard since it doesn't have a specific item ID. but even if they read any book that would work.
-
View User Profile
-
Send Message
Posted May 15, 2015Hi, is there anyway you could add a feature to run additional commands on the "onlogin:" section of the plugin, because your plugin is the only one that uses a separate player data system for first login.. This would be very useful.
-
View User Profile
-
Send Message
Posted May 11, 2015@File14
Ok, added support for colors in title, lore and description in next version.
-
View User Profile
-
Send Message
Posted May 2, 2015Yes...
The name of the book. Like: &a&lInfomation Book
-
View User Profile
-
Send Message
Posted Apr 27, 2015@File14
minecraft clinet supports colors in title ?
-
View User Profile
-
Send Message
Posted Apr 19, 2015Can you add so you can do color codes on title on the book?
-
View User Profile
-
Send Message
Posted Apr 8, 2015Great and simple plugin so far. I'm adding it to my server's lineup, but I do have a suggestion for you if you're not busy. Have a /infobook list command (with a permission for it maybe) so players can browse through help topics and get the book they need rather than have an admin tell them what to type. Excellent plugin and excellent work!
Regards, Neo
-
View User Profile
-
Send Message
Posted Apr 4, 2015@jenks1999
infobook get <book>
@MinecraftAdmin
It's fixed in 1.7
@JugadorON
Yup, there is typo in plugin. Change dontsave to dontstore in config.
-
View User Profile
-
Send Message
Posted Mar 27, 2015Great and simple plugin so far. I'm adding it to my server's lineup, but I do have a suggestion for you if you're not busy. Have a /infobook list command (with a permission for it maybe) so players can browse through help topics and get the book they need rather than have an admin tell them what to type. Excellent plugin and excellent work!
Regards, Neo
-
View User Profile
-
Send Message
Posted Mar 10, 2015I use craftbukkit-1.7.9-R0.2-3092
-
View User Profile
-
Send Message
Posted Mar 10, 20151.7.9 - > This not work, please help. //
Example:
onlogin: - info
protected: - bookname
dontsave: - info
-
View User Profile
-
Send Message
Posted Mar 9, 2015I am receiving this error, not sure what it means http://pastebin.com/4adB8xkp
-
View User Profile
-
Send Message
Posted Mar 8, 2015@Gnacik
How can i put a visible symbol & to the book? I tried &1&&1 and "&" without number or letter give me white color on text. I hope you understand me..
mamoki