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.'
suggestion: make a book, run a command like /infobook set <name> so we dont need to go to config much
I have a suggestion. Is there anyway you can have the book auto replace the old version with the new version as the player logs in? maybe have it remove the book on exit and readd it on connect or something so that when i make a change in the config i do not have to give everyone new books. or make it so i can give all players one at the same time.
I have a CTF plugin, when the players spawn in the game they don't get the book. It only works when I stop the match and they spawn in the regular world. Any idea how to fix this. The plugin I am using is here: http://dev.bukkit.org/bukkit-plugins/ctf/
could do that can change the message "You got book: '<book>'" in the config.yml? to translate it, or get a custom message! :D
"'That book have 2 pages.'"... He/She/It with "s", so "(...)book has...".
Will give it ago on my server.
Edit: There is no info on how long the message text can be?
when i type help i get infobook: command <
that is not helpfull! What command am i ment to type?Some Fixes: Add /infobook reload (reload plugin) Add /infobook delbook (delete book) Add /infobook give <playername>
When first installing plugin give everyone a book? I'm admin and i don't have a book or no way of testing what it looks like as no give command. I'm not going to delete all my player data just to get a new book.