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 Jan 4, 2014@deleted_10963394
No colons (:), took me a while to figure it out on my own using trial and error!
-
View User Profile
-
Send Message
Posted Oct 23, 2013How can i put color codings in the title, i want the book title is colored
-
View User Profile
-
Send Message
Posted Oct 18, 2013No idea what happened, but now the default book comes out instead of my customized one. Any idea what happened?
http://pastebin.com/J68Rzt4r
-
View User Profile
-
Send Message
Posted Oct 2, 2013It would be nice if you could add an option that lets you set a book which every player will get on login (regardless if its their first login, different from onlogin= option) and also maybe an option to define a slot where I want the book to be in (ex: slot 9 in inventory-last slot). Otherwise great plugin, does what I need it to do, well mostly.
-
View User Profile
-
Send Message
Posted Sep 30, 2013Please make it so people cannot move or have access to any commands until they have skipped to the last page of the book
-
View User Profile
-
Send Message
Posted Sep 26, 2013Nice plugin +1 :)
Can you add the option to only give a book if no player .dat file exists of the player joining?
Thanks!
-
View User Profile
-
Send Message
Posted Sep 26, 2013Awesome! Thank you so much just what i needed for my hub server.
-
View User Profile
-
Send Message
Posted Sep 25, 2013@epic_ninj4
Added in v1.3
-
View User Profile
-
Send Message
Posted Sep 17, 2013can you please add that players cant throw the book? this would be useful in my hub where players cant lose the book
thanks
-
View User Profile
-
Send Message
Posted Sep 15, 2013@TumbaBit
there is no "set" command. RTFM. It's "save".
-
View User Profile
-
Send Message
Posted Sep 15, 2013/infobook set <book> doesn't seem to be working. It only comes up with a usage guide for the command. Please respond asap. Server setup deadline tomorrow :P
-
View User Profile
-
Send Message
Posted Sep 13, 2013There is sense... At hubs servers, where players have only rule-book at "main spawn" :)
-
View User Profile
-
Send Message
Posted Sep 13, 2013@AtexorCamil
after few re-logins player will have whole inventory filled with books. where is sense ?
-
View User Profile
-
Send Message
Posted Sep 13, 2013I mean every login (first, second, 192.735 etc.) not only first, as I read it gives book only at first login.
-
View User Profile
-
Send Message
Posted Sep 13, 2013@AtexorCamil
It works in that way. Every player will got all books configured into "onlogin"
-
View User Profile
-
Send Message
Posted Sep 13, 2013Danke, Thank You, Dziękuje. for this plugin
-
View User Profile
-
Send Message
Posted Sep 13, 2013Hi, is this possible to implement feature, that every player will get every login book? To my mind this option should be great at hub servers ;)
-
View User Profile
-
Send Message
Posted Sep 13, 2013@rbos
reload works from console
@mat41997
what ?
@jithins
added into 1.2 version
@bobakins
not possible since plugin will didn't know what version player got. you can delete 'bookname' folder in plugin folder so all players will got book again.
-
View User Profile
-
Send Message
Posted Sep 6, 2013be nice to reload from console:
infobook reload
08:57:14 [INFO] This is a player-only command. Derp.
-
View User Profile
-
Send Message
Posted Sep 6, 2013add emoticons