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 Aug 16, 2012This might be a silly request. But the idea of duplicating kind of worries me. Only because i know players like to exploit things. ie. setting price to $1 and buying a ton of books to spam around.
Would it be possible to have it use an inventory of blank books that are also in the chest? So the seller only writes one book, then drops a stack of books in the chest along with the written book. The shop will only sell the quantity based on the number of empty books. Make sense?
-
View User Profile
-
Send Message
Posted Aug 16, 2012Hello,
Nothing too serious you just got to change the VERSION numbers:
Regards
-
View User Profile
-
Send Message
Posted Aug 16, 2012Thank you So much!!!!
Usage: 1. Take one Book and Quill in the hand. 2. If you're OP, than turn off gamemode. 3. click the Sign!
Easy!
-
View User Profile
-
Send Message
Posted Aug 15, 2012@RyanDT13
Can you read a description? It supports four economy plugins and you can use essentials eco with the economy-helper Vault.
-
View User Profile
-
Send Message
Posted Aug 15, 2012Make it compatible with essentials eco, thanks, just making it compatible with one economy plugin isn't the best idea
-
View User Profile
-
Send Message
Posted Aug 15, 2012@ibhh
Latest, to the person who created the book they don't disappear.
-
View User Profile
-
Send Message
Posted Aug 15, 2012@MinerHax444
If you use the latest Vault version, GoldisMoney is also supported by Vault (writes the autor of GoldisMoney) and Vault is supported by BookShop, so it should work fine :)
-
View User Profile
-
Send Message
Posted Aug 15, 2012@UnitedFactions
sorry I didnt noticed your post :( Shame on me.
I am going to add a configuration option to turn this message off. by the way it only sends you the message if a shop is created.
-
View User Profile
-
Send Message
Posted Aug 15, 2012@ibhh
answer please? Thanks!
-
View User Profile
-
Send Message
Posted Aug 15, 2012@ibhh
Thanks, awesome plugin! There would be no way to get this to work with physical items rather than economy currencies, correct? Looking in to GoldIsMoney as a possibility.
-
View User Profile
-
Send Message
Posted Aug 15, 2012@Waterworth12
What BookShop version do you run? This bug was reported a couple of times but in the current version I couldn't reproduce this error. I heard that they also disappeared without this plugin.
-
View User Profile
-
Send Message
Posted Aug 15, 2012@Zmolahah
No, It doesn't work with ChestShop or Lockette, it work alone. It hookes only in one Economy and one permission plugin. But to your problem: Did you edited the config.yml? One possible solution is that you delete the config.yml and reload the plugin ingame per /bookshop reload
Hope that fixes your problem.
What Bukkit version do you run? Thats for 1.3.1 and it doesn't work with 1.2.5.
-
View User Profile
-
Send Message
Posted Aug 15, 2012I get a error message saying "Error: nullnull" when I try to make a shop, This does work with Chestshop And Lockette right?
-
View User Profile
-
Send Message
Posted Aug 14, 2012@Waterworth12
Anyway to disable the message with the coords when someone buys a book? I want it to be like, it not spamming the location + a custom rule :)
-
View User Profile
-
Send Message
Posted Aug 14, 2012Why after one read does the book disappear?
-
View User Profile
-
Send Message
Posted Aug 14, 2012@MinerHax444
Is implemented in 1.3. Thanks for the idea :)
-
View User Profile
-
Send Message
Posted Aug 14, 2012If possible, it might be interesting to require the player to place Book and Quills in the chest. Then, for each book sale, take one Book and Quill and give the buyer the book. This way, players can't dupe books by making a shop and buying their own books or having a friend buy the books for them then paying back said friend. Or charge the player a Book and Quill plus the price. Admin shops, when implemented, could override this.
-
View User Profile
-
Send Message
Posted Aug 14, 2012@zSwayz
This plugin works like a publisher: One book is the orginal so the shop duplicate the book an sells it to the player. You're really close to this.
At the moment it is not possible to create an AdminShop, but I am going to implement this, too.
-
View User Profile
-
Send Message
Posted Aug 13, 2012Would it be possible to have an admin bookshop that would allow us server owners to sell unlimited amounts of guides? kinda like Chestshop but adding 1 book to the chest, and selling multiple amounts of that same book.
Edit: didn't realize that is what this plugin did, and thank you for creating this wonderful plugin sir!
-
View User Profile
-
Send Message
Posted Aug 11, 2012@FlashIT
I hope its fixed in version 1.2 because I couldnt reproduce the error.