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 Sep 18, 2012Thanks for making and sharing this plugin.
I've been looking for a book plugin that does something very similar to this. The main thing is the export/import of a book so I can share what I write with other authors...such as in-game books describing their plugin and how to use it.
The one thing it is missing is a simple distribution of the books. One book per chest can pose a bit of a problem if a server has 30 plugins. It would be perfect if there was a way to create a sort of admin/server chest that contains a collection of books describing all the installed plugins and allows anyone to take whatever books are in the chest but to always keep the original in the chest...like free rules books.
Another plugin gets installed, another book added to the chest for players to check out. It would be awesome if all plugins would start having their own book to import into the game...and I wouldn't mind helping authors with that. Just need a common plugin for import/export of books and distributing them in-game.
Thanks,
LHammonds
-
View User Profile
-
Send Message
Posted Sep 18, 2012Neat plugin! I'm going to try it for my server.
-
View User Profile
-
Send Message
Posted Sep 17, 2012@Daelmaron
I agree, he should build this plugin around "Fe Economy" plugin. ChestShop guy is already re-building his plugin around Fe. (sneak peak from the future)
-
View User Profile
-
Send Message
Posted Sep 17, 2012hmmm sounds like an interesting plugin. Mildly annoyed at iConomy dependency but overall I like the plugin
-
View User Profile
-
Send Message
Posted Sep 17, 2012@ibhh
For example, my name is "Player_1" and I want to create a shop, that will sell a Book, written by "Player_2". But, no matter, how I try, shop always changes the name of the seller to "Player_1" (which is my name) right, after shop is created. Even, after I manually enter the name of the seller - "Player_2".
I, as Player_1, want to be able to create book shop for Player_2.
-
View User Profile
-
Send Message
Posted Sep 17, 2012@Hvarr
No they are not readable for admin without /bookshop load book. Now in 2.8 there is a option to give a book automatically to a new player :)
@Hvarr
What is the problem? I dont get the point sorry.
-
View User Profile
-
Send Message
Posted Sep 17, 2012We have
Sell books of other players BookShop.sell.other
but we also need the ability to
Sell books FOR other players BookShop.sell.other
-
View User Profile
-
Send Message
Posted Sep 17, 2012@ibhh
there is a problem with creating a sign for someone else. Admins should be able to do this, but instead, it forcefully creates this shop for the name of the shop creator and not the one, who is inserted into the line#2 on the sign.
-
View User Profile
-
Send Message
Posted Sep 16, 2012Thank you!
Now, when obtaining a book from a file, with a command, is possible, it is also possible to make something like "/BookShop FirstBook", "/BookShop HelpBook", etc - optional features, that will give specified books to players, who first time joined the server, or players, who are typing /help.
Are books saved with text formatting codes, ibhh?
-
View User Profile
-
Send Message
Posted Sep 16, 2012@Hvarr
I have done an update. It havent got your request implemented, but implemented some features that my help you.
-
View User Profile
-
Send Message
Posted Sep 11, 2012@ibhh
Then I could use a sign menu plugin and then place commands /book buy Book1 and /book buy Book2 onto this sign and it would allow to sell many books on one single sign, ibhh.
-
View User Profile
-
Send Message
Posted Sep 11, 2012@Hvarr
I think about it, but I haven't got so many time now to do an upgrade. But if I have some I am going to find a solution.
-
View User Profile
-
Send Message
Posted Sep 11, 2012My request is to make it my easier:
This would be a great upgrade for this plugin.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@Duskterror
No because the book must be stored in the Chest.
-
View User Profile
-
Send Message
Posted Sep 8, 2012Can you make it so that AdminShops don't require chests? That would make my bookstore much more space efficient and look nicer. Great plugin by the way.
-
View User Profile
-
Send Message
Posted Aug 23, 2012fantastic it's working with out errors and not wiping the config. Thanks for the update (now running 2.0)
-
View User Profile
-
Send Message
Posted Aug 23, 2012@james14294
You can use it if you use Vault too. Vault supports many Economy plugins and BookShop is Vault compatible.
-
View User Profile
-
Send Message
Posted Aug 23, 2012@Wonkee
With every Economy plugin that is supported by Vault, right.
-
View User Profile
-
Send Message
Posted Aug 23, 2012@Jarhielt
Fixed in BookShopversion2.0. There are ü and ä in the default config.yml so it works in Germany, but everywhere else it fails :(
-
View User Profile
-
Send Message
Posted Aug 23, 2012@Jarhielt
Yes, my test server is also Java 7.