BookShop
Players can publish their written books in a shop, so other players can buy the written books. There are two ways of creating a BookShop:
- When the player holds a book and quill item while hitting the sign, the text in the book is copied.
- When the player places some books in the chest beneath the sign, the plugin will duplicate the item in the chest every time it is sold. Thus nobody has to write books more than once.
Please note:
- AdminShops always duplicate the book!
It works the same way than a publisher: It copies the book in the chest and sells it to the player.
Features
- Publication of written books
- backup of books into a file
- Restoring books
- Give a default book to every new player
- Give a book to every player who joined the server before.
- Give a book to a player
- Statistics for every book (how often it was sold)
- Admins can impose taxes.
- Player can only publish written books.
- Admins can create AdminShops that always duplicate the book regardless of the settings in the config file.
Dependencies
- iConomy 5 or iConomy6 or Vault or Register
- PermissionsEX or bPermissions or GroupManager or BukkitPermissions
The shop
To create a shop, you have to place an empty chest first. Then you can create a sign with following content
Please note: Only ONE book per shop is allowed!
| Line | Text |
|---|---|
| 1 | [BookShop] |
| 2 | |
| 3 | The books name (automatically added after closing the chest with the book), but you can let it empty ;) |
| 4 | price of the book |
OR:
| Line | Text |
|---|---|
| 1 | [BookShop] |
| 2 | |
| 3 | The books name (automatically added after closing the chest with the book), but you can let it empty ;) |
| 4 | price of the book:price of the book if the player has a book and quill in the hand |
To create an AdminShop:
| Line | Text |
|---|---|
| 1 | [BookShop] |
| 2 | AdminShop |
| 3 | The books name (automatically added after closing the chest with the book), but you can let it empty ;) |
| 4 | price of the book |
To create a Newspaper shop:
| Line | Text |
|---|---|
| 1 | [BookShop] |
| 2 | Newspapers |
| 3 | The books name (automatically added after closing the chest with the book), but you can let it empty ;) |
| 4 | price of the newspapers |
With the newspaper shop you are able to sell several books at a time. E.g. a book with rules and a book with a plugin info. If the player hits the sign he receives the two books.
If you don't like the keywords on the sign, you can edit them in the Shopconfig.yml´file!
At the end it should look like this:

Permission nodes
| Action | Permission node |
|---|---|
| Create a shop | BookShop.create |
| Create a shop of an other player | BookShop.create.other |
| Sell books of other players | BookShop.sell.other |
| Create a Adminshop | BookShop.create.admin |
| Use the shop | BookShop.use |
| Destroy own shop | BookShop.create |
| Destroy shop of someone else or AdminShop | BookShop.create.admin |
| Message to admins that someone created a shop | BookShop.admin |
| Command | Permission node | Explanation |
|---|---|---|
| /BookShop setwelcomebook | BookShop.setwelcomebook | Sets a book which has every new player in the inventory |
| /BookShop removewelcomebook | BookShop.removewelcomebook | Unsets a book which has every new player in the inventory |
| /BookShop giveall | BookShop.giveall | Gives a book to every player who joined the server before |
| /BookShop give | BookShop.give | Gives a book to a player |
| /BookShop backupbook | BookShop.backupbook | Backups a book |
| /BookShop loadbook | BookShop.loadbook | Loads a book |
| /BookShop reload | BookShop.reload | Reloads the plugin |
| /BookShop debugfile | BookShop.debugfile | Turn the debugfile on and off |
| /BookShop internet | BookShop.internet | Turns the internet access on and off |
| /BookShop version | BookShop.version | Shows the current version of BookShop |
| /BookShop update | BookShop.admin | Updates the plugin to the latest vesrsion on dev.bukkit.org |
| /BookShop deletedebug | BookShop.admin | Deletes the debugfile to give you free space on the hdd |
| /BookShop log | BookShop.admin | Returns the current size of the debugfile |
| /BookShop toggle | BookShop.admin | Turns BookShop immediately off |
| /BookShop language <language> | BookShop.admin | Select the ingame language (by default english) |
| /BookShop help | BookShop.help | Returns all command which the player can execute |
| /BookShop showdebug | BookShop.showdebug | Shows you console messages ingame |

-
View User Profile
-
Send Message
Posted Jul 29, 2015Works in 1.8!
-
View User Profile
-
Send Message
Posted Dec 8, 2013@ThePwnzaWabbit
BookShop wants to create files on your HDD, so it need a bit of free memory and the permission to change the content on your HDD. Some systems deny this permission. Did you get an error on shutdown, too? Do you use the current version of BookShop? Can you tell me wheather two files exist in the folder /plugins/BookShop/metrics ?
-
View User Profile
-
Send Message
Posted Dec 7, 2013What does that mean? How do I do that?
Sorry I'm a bit clueless.
-
View User Profile
-
Send Message
Posted Dec 5, 2013@ThePwnzaWabbit
Hm, is the plugin allowed to write to disk?
-
View User Profile
-
Send Message
Posted Dec 5, 2013It says whenever I start up my server:
[SEVERE] [BookShop] WARNING: Cannot save Shop statistics! [SEVERE] [BookShop] WARNING: Cannot save AdminShop statistics!
How do I fix this?
-
View User Profile
-
Send Message
Posted Dec 4, 2013@ThePwnzaWabbit
No, that's not possible.
-
View User Profile
-
Send Message
Posted Dec 3, 2013Can the price of the book be in iron?
-
View User Profile
-
Send Message
Posted Oct 23, 2013@LindseyMH
Its good to know that you like my plugin. Your suggestion sounds good, but it needs time to andministrate this library, and approve that there are no bad books in threre. Iam sorry, but I haven't got as much time than I want to have. At the moment I can't realize your suggestion :(
-
View User Profile
-
Send Message
Posted Oct 23, 2013I just want to say that I love your plugin and thank you very much for taking the time to make it. I have a suggestion. Could you maybe add a place on this site for people to share books? With some servers having libraries or quests it might be helpful. Also, it might increase the popularity of your plugin. Once again great plugin and thank you.
-
View User Profile
-
Send Message
Posted Oct 8, 2013Please Update!!! BUG
> http://pastebin.com/U2zgvtzq-
View User Profile
-
Send Message
Posted Jul 14, 2013@GreenGrizzlyBear
Old version should work with 1.6.2, too. But bugfix is in progress.
-
View User Profile
-
Send Message
Posted Jul 14, 2013update in progress for 1.6.2?
-
View User Profile
-
Send Message
Posted Jul 11, 2013@Weirdo1984
That's what I see: http://www.youtube.com/watch?v=mvdW7uXca4I Please paste the log, or do /BookShop report Comment#209 Thanks.
-
View User Profile
-
Send Message
Posted Jul 11, 2013@adenslayer
Bug fixed in the next update. Thanks for your patience.
-
View User Profile
-
Send Message
Posted Jun 22, 2013When i try to create a bookshop for other users in our library, the plug-in doesn't add the title of the book to the sign. And when i buy a book, the one who receives the money gets a notice that he bought his own book.
This is what i see:
This is what he sees:

-
View User Profile
-
Send Message
Posted Jun 4, 2013@adenslayer
I think you're running JRE 6. If you are, switch to JRE 7.
-
View User Profile
-
Send Message
Posted May 31, 2013@adenslayer
Has Bukkit enough rights to write to disk? You can try to delete this files in the plugin folder.
-
View User Profile
-
Send Message
Posted May 15, 2013I keep getting an error saying Cannot save Shop stats. and the same message about adminshop stats. Is there anyway that I can just disable this feature as I don't even want to use it? http://cl.ly/OztO
-
View User Profile
-
Send Message
Posted May 15, 2013@DrinQ
Today I broke my had about how to add the trapped chest feature, but I have no idea. The trapped chests API of Bukkit seems missing, or I didn't find it, so in near future I can't implement this feature. I'm sorry.
-
View User Profile
-
Send Message
Posted May 15, 2013@ibhh
1: Awesome, glad to hear it.
2: Ok, fair enough. I hope you'll reimplement it since it was rather useful. (Maybe add the book summaries, that I suggested some months back, at the same time?)