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 |
I'm not sure how you'd like us to file bug reports, but I created a ticket about a bug I'm seeing with the 4.5 release.
@deleted_8537216
Yes, if the cost = 0 the book is free and every player can purchase the book for free.
Can you use the cost for books as "0"?
@tarahere81
Am not allowed to post a direct unapproved link, so you have to wait, sorry. :(
yay ! I had to update to use a version of combat tag that works !
Any chance i can get it from a dropbox?
@tarahere81
I've uploaded the update to dev.bukkit.org today, so exspect it very soon.
update to 1.5.1 please
Does this (like chestshop does) obey Towny Shop Plot permissions so you could set it so these could ONLY be built on a Towny Shop plot?
Looks amazing! But I dont want bookshops littering my countrysides..
@jesse131
New Update: Mod remove link to unapproved file.
Release on dev.bukkit.org is comming soon.
Version 4.3 is not working with Bukkit 1.5. Just thought I'd let you know.
If a player has a name greater then 15 characters , they cannot create a shop :(
Can u fix somehow? :)
@SamusIsHot
Yes, that's possible ;)
Can you make it an option in the config to turn off chest breaking when breaking a BookShop sign?
the link the plugin gives when there is an update doesnt work
http://dev.bukkit.org/BookShop
should be
http://dev.bukkit.org/server-mods/bookshop/
Great!
@deleted_9225422
I don't want a database, so I am sorry. Welcomebook issue fixed: <Link redacted by mod>
@selfservice0
Yes, fixed in 4.3.
Direct link: <Link redacted by mod>
@ibhh
Any idea when you'll get the welcomebook issue fixed?
I was thinking it was beacause the book was created before plugin added- tested, not that.
Its too bad you cant fix my username, (one letter too long >.<) but Ill just do adminshop. Wanted it to be welcome book but I can work with it until you fix it. (If you do)
@deleted_9225422
The first thing I couldn't fix because there's no database in the background.
I search for the reasons of your errors.