BookShop

BookShop_logo

Stats

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:

  1. When the player holds a book and quill item while hitting the sign, the text in the book is copied.
  2. 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!

LineText
1[BookShop]
2
3The books name (automatically added after closing the chest with the book), but you can let it empty ;)
4price of the book

OR:

LineText
1[BookShop]
2
3The books name (automatically added after closing the chest with the book), but you can let it empty ;)
4price of the book:price of the book if the player has a book and quill in the hand

To create an AdminShop:

LineText
1[BookShop]
2AdminShop
3The books name (automatically added after closing the chest with the book), but you can let it empty ;)
4price of the book

To create a Newspaper shop:

LineText
1[BookShop]
2Newspapers
3The books name (automatically added after closing the chest with the book), but you can let it empty ;)
4price 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:

BookShop


Permission nodes

ActionPermission node
Create a shopBookShop.create
Create a shop of an other playerBookShop.create.other
Sell books of other playersBookShop.sell.other
Create a AdminshopBookShop.create.admin
Use the shopBookShop.use
Destroy own shopBookShop.create
Destroy shop of someone else or AdminShopBookShop.create.admin
Message to admins that someone created a shopBookShop.admin
CommandPermission nodeExplanation
/BookShop setwelcomebookBookShop.setwelcomebookSets a book which has every new player in the inventory
/BookShop removewelcomebookBookShop.removewelcomebookUnsets a book which has every new player in the inventory
/BookShop giveallBookShop.giveallGives a book to every player who joined the server before
/BookShop giveBookShop.giveGives a book to a player
/BookShop backupbookBookShop.backupbookBackups a book
/BookShop loadbookBookShop.loadbookLoads a book
/BookShop reloadBookShop.reloadReloads the plugin
/BookShop debugfileBookShop.debugfileTurn the debugfile on and off
/BookShop internetBookShop.internetTurns the internet access on and off
/BookShop versionBookShop.versionShows the current version of BookShop
/BookShop updateBookShop.adminUpdates the plugin to the latest vesrsion on dev.bukkit.org
/BookShop deletedebugBookShop.adminDeletes the debugfile to give you free space on the hdd
/BookShop logBookShop.adminReturns the current size of the debugfile
/BookShop toggleBookShop.adminTurns BookShop immediately off
/BookShop language <language>BookShop.adminSelect the ingame language (by default english)
/BookShop helpBookShop.helpReturns all command which the player can execute
/BookShop showdebugBookShop.showdebugShows you console messages ingame

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ibhh ibhh Dec 08, 2013 at 11:11 UTC - 0 likes

    @ThePwnzaWabbit: Go

    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 ?

    Last edited Dec 08, 2013 by ibhh

    xpShop

  • Avatar of ThePwnzaWabbit ThePwnzaWabbit Dec 07, 2013 at 21:13 UTC - 0 likes

    What does that mean? How do I do that?

    Sorry I'm a bit clueless.

  • Avatar of ibhh ibhh Dec 05, 2013 at 22:19 UTC - 0 likes

    @ThePwnzaWabbit: Go

    Hm, is the plugin allowed to write to disk?

  • Avatar of ThePwnzaWabbit ThePwnzaWabbit Dec 05, 2013 at 21:50 UTC - 0 likes

    It 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?

    Related ticket: #14
  • Avatar of ibhh ibhh Dec 04, 2013 at 12:38 UTC - 0 likes

    @ThePwnzaWabbit: Go

    No, that's not possible.

  • Avatar of ThePwnzaWabbit ThePwnzaWabbit Dec 04, 2013 at 00:11 UTC - 0 likes

    Can the price of the book be in iron?

  • Avatar of ibhh ibhh Oct 23, 2013 at 16:27 UTC - 0 likes

    @LindseyMH: Go

    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 :(

  • Avatar of LindseyMH LindseyMH Oct 23, 2013 at 16:18 UTC - 0 likes

    I 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.

  • Avatar of euQsei euQsei Oct 09, 2013 at 02:54 UTC - 0 likes

    Please Update!!! BUG> http://pastebin.com/U2zgvtzq

    ManiaCraft

  • Avatar of ibhh ibhh Jul 14, 2013 at 20:30 UTC - 0 likes

    @GreenGrizzlyBear: Go

    Old version should work with 1.6.2, too. But bugfix is in progress.

Facts

Date created
Aug 05, 2012
Categories
Last update
May 03, 2013
Development stage
Release
Language
  • deDE
  • enUS
License
All Rights Reserved
Curse link
BookShop
Downloads
70,969
Recent files

Authors

  • Avatar of ibhh
    • Manager
    • Author