[ECON] ChestShop 3.7.18 (iConomyChestShop) - Chest&sign shop for economy plugins [1.8]

Discussion in 'Archived: Plugin Releases' started by Acrobot, Feb 12, 2011.

  1. Offline


    An easy way to create shops - no protection plugin needed!
    You don't need to be on-line to earn money anymore!
    I've put a LOT of effort into making this plugin,
    you can donate if you appreciate my effort =)

    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    - For additional economy plugin support - Vault
    - For Permissions: bPermissions, PEX, or any other permission plugin
    - For additional protection: LWC, Lockette, Deadbolt
    - For other item names (aliases): OddItem

    Copy the .jar file from the .zip you downloaded into /plugins folder.
    You can also copy the example files if you want to generate statistics page.

    You can change the plugin's language, here's a list of all user-made translations.
    If you want to update or submit a translation, feel free to PM me.
    Translations (open)

    Arabic - Attarhsase2
    Bulgarian - Muff1Ncho
    Czech - LordPgsa
    Chinese (Simplified) - tab415263
    Danish - Cannafix
    Dutch - speedlegs
    French- DragonSlayer875
    German - RasCas
    Hungarian - Anachen
    Indonesian - Yahya98
    Italian - Massimo1993
    Korean - Zwing87
    Norwegian - _AlexN_ and TheUnkownGamer
    Polish - Holls1
    Portugese (Brasil) - FelipeMarques14
    Russian - VADemon from http://minemania.ru/
    Slovak - LordPgsa
    Slovenian - jEErc
    Spanish - thxaaaa
    Swedish - Maxell
    Turkish - Developer
    Traditional Chinese - hellboyincs
    Vietnamese - etrubi1 from http://minevn.com/

    How to create a ChestShop?
    - Place a chest, if you haven't already.
    - Place a sign 1 block near the chest (for example, above the chest)
    - On the sign, write:

    (Item name can actually be item ID or alias)
    First line will be filled in by the plugin automatically.
    Price is a combination of buy and sell price.
    You have to have B near buy price (people buy from you), and S near sell price (people sell to you).
    If you have both B and S, separate them with a colon - :
    For example:

    means that AcrobotPL wants to sell 64 diamonds for 10 currency, and buy them back from you for 5 currency.
    Also, if you put "free" instead of price, it is free to buy or sell :)

    - Now, when you finish editing the sign, if LWC is turned on in config, shop will be automatically created.
    Also, if your default protection is turned on in the config, people won't be able to break chest, sign or the block the sign is on.

    What is an Admin Shop?
    Admin shop is the shop that doesn't require a chest, because it has infinite stock.
    If you sell to it, the items will disappear, and if you buy from it, items will magically appear.
    To create one, you have to be Admin/OP. Just put "Admin Shop" (or anything specified in config file) on the first line of the sign.

    Restricting shops to some groups or regions
    You can either use permissions, or you can just put a sign ABOVE shop sign (you need to be in that group to create the sign) to restrict it to players with ChestShop.group.groupName permission
    The syntax is:
    Only those groups will be able to use that shop

    To restrict a shop to some regions:
    - If you're using Towny, turn TOWNY_INTEGRATION on. Residents will be able to create shops in economy plots (either their or, if specified in config, any)
    - If you're using WorldGuard, you can use an experimental "chestshop" flag. Turn WORLDGUARD_INTEGRATION on and flag a region. (f.e. /region flag ChestShopRegion chestshop allow)

    Do you want to limit the maximum prices for items?
    Well, there's an app.... wait, not that : P
    You can use an experimental feature in ChestShop.
    In your config.yml, add lines like:
    max-buy-price-5: 14
    max-sell-price-5: 15

    That means that the maximum price for items BOUGHT by PLAYER is 14, and items SOLD by PLAYER using the shop is 15.

    You can also use a global setting, like this:
    max-sell-price: 200

    That means that the maximum price for items SOLD to PLAYER is 200 (if there is, for example, a max-sell-price-5 found, it will be used instead of the global sell price)

    You could buy and sell by right and left clicking the sign for a long time.
    Now it's the only way to use the shops.
    It's SIMPLE!
    Just LEFT-CLICK to SELL to shop, and
    RIGHT-CLICK to BUY from shop.
    (This can be changed in the config file)

    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)

    You can either open the chest and stock it up, or click on your own sign - it will open chest's inventory (that way you can have chests not openable by other people for sure :D)

    ItemInfo command
    It's a simple command that shows item information.
    If you use it without any arguments, it shows you information about the item you're holding.
    If you specify item id or item name after the command, it will show you information about that item.

    Source code
    ChestShop is Open-Source =)
    You can find its code on https://github.com/Acrobot/ChestShop-3

    Thanks to:
    - kali876, ziomekYOYO and Herocraft server for testing the plugin and finding every little bug =)
    - Everyone who uses this plugin - really big thanks for this, I never thought it will be so popular
    - Everyone who provided translation - many people's lives will be easier now
    - @Nijikokun for Register
    - @LennardF1989 for awesome Persistence Reimplemented
    - @Temaska for fixing the plugin while I was on holidays
    - @VADemon for providing a great support for other users
    - @Euthyphro for his patience and really good bug spotting
    - vagrant326 for making a great price sheet
    - Epics for his great help
    If something's not working
    You can't change the sign color - that breaks the formatting.
    If that's not the issue, please give me this information, so I can help you faster.
    - CraftBukkit version (type /version in chat)
    - ChestShop version (type /csversion in chat)
    - Your economy plugin (iConomy? BOSEconomy? other one?)
    - Have you got any Permission plugin? Which one?

    Changelog (open)

    Changelog can be found on BukkitDev - http://dev.bukkit.org/server-mods/chestshop/files/
  2. Offline


    I'm having the same exact problem as the person above me.
  3. Offline


    Just set serverAccountName: to "" (two quotation marks)

    The first one - set serverAccountName to ""
    Second one - DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20] - it's not an error, it's just bukkit's way of telling that I can use database. - it won't be shown in next version :)

    @Brody Romhanyi
    What do you mean by "can't sell anything to it"?
    It may be just spawn protection, turn spawn-radius to 0 in bukkit.yml
  4. Offline


    Thank you this worked.

    Althought it's really odd how I couldn't sell out of no where...

    And how do I tweak with godmode? a group in my server just starts out with it completely when they enter.
  5. Offline


    I do not understand, what does not work with godmode?
  6. Offline


  7. Offline


    Thanks, I'll try fixing that.
    EDIT: Remember when I told you about bugged chunks?...
    I guess that's it... I am only using event.getRetractLocation() - so it's bukkit's/MC's fault...
  8. Offline


  9. Offline


    It seems like your CraftBukkit is bugged, somehow o.0
    Could you try re-downloading it?
  10. Offline


    After i told my admin that he got build for #1000 - "Aaaaaaa!" :D

    Anyway - świetny plugin :)
  11. Offline


  12. Offline

    Live or Die

    Hey, why regular players cant build shops?

    thay have
    - 'iConomyChestShop.shop.create'
    - 'iConomyChestShop.shop.buy'
    - 'iConomyChestShop.shop.sell'
    - 'iConomyChestShop.command.iteminfo'
    all of those and they still cant crate any shop (admins can)

    help please.
  13. Offline


    @Live or Die
    Maybe you downloaded the ChestShop 3 (BETA one)?

    You have to change your permissions from "iConomyChestShop" to "ChestShop" :)
  14. Offline

    Live or Die

    Thank you!
  15. Offline


    anyway to limit users to say 5 chestshops per person?
  16. Offline


    I am getting this error when running iCS:

    30.07 03:50:38 [Server] SEVERE     at java.lang.Thread.run(Unknown Source)
    30.07 03:50:38 [Server] SEVERE     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    30.07 03:50:38 [Server] SEVERE     at com.Acrobot.iConomyChestShop.Logging.run(Logging.java:82)
    30.07 03:50:38 [Server] SEVERE     at com.Acrobot.iConomyChestShop.Logging.removeOld(Logging.java:77)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.core.DefaultServer.delete(DefaultServer.java:1845)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.core.DefaultServer.delete(DefaultServer.java:1860)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.persist.DefaultPersister.delete(DefaultPersister.java:464)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.persist.DefaultPersister.delete(DefaultPersister.java:654)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:557)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:535)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeDeleteBean(DefaultPersistExecute.java:128)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.delete(DmlBeanPersister.java:67)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:105)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.persist.dml.DeleteHandler.execute(DeleteHandler.java:81)
    30.07 03:50:38 [Server] SEVERE     at com.avaje.ebeaninternal.server.persist.dml.DmlHandler.checkRowCount(DmlHandler.java:123)
    30.07 03:50:38 [Server] SEVERE javax.persistence.OptimisticLockException: Data has changed. updated [0] rows sql[delete from ics_transactions where id=? and buy=? and shop_owner=? and shop_user=? and item_id=? and item_durability=? and amount=? and price=? and sec=?] bind[null]
  17. Offline


    french Translate for Chestshop 3.0Beta 11

    French translation (open)

    prefix: "&a[Shop] &f"
    iteminfo: "&aInformation sur l'item:&f"
    ACCESS_DENIED: "Vous n'avez pas la permissions de faire ceci!"
    NOT_ENOUGH_MONEY: "Vous n'avez pas assez de monnaie!"
    NOT_ENOUGH_MONEY_SHOP: "Le vendeur n'a pas assez de monnaie!"
    NO_BUYING_HERE: "Vous ne pouvez pas acheter ici!"
    NO_SELLING_HERE: "Vous ne pouvez pas vendre ici!"
    NOT_ENOUGH_SPACE_IN_INVENTORY: "Vous n'avez pas assez d'espace suffisant dans votre inventaire!"
    NOT_ENOUGH_SPACE_IN_CHEST: "Le coffre n'a plus assez d'espace pour recevoir vos items!"
    NOT_ENOUGH_ITEMS_TO_SELL: "Vous n'avez pas assez d'objet a vendre!"
    NOT_ENOUGH_STOCK: "Le coffre est n'a plus de stock."
    NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "Vous n'avez plus de %material dans votre coffre!"
    YOU_BOUGHT_FROM_SHOP: "Vous avez achete %amount %item du coffre de %owner a %price."
    SOMEBODY_BOUGHT_FROM_YOUR_SHOP: "%buyer vous a achete %amount %item pour %price."
    YOU_SOLD_TO_SHOP: "Vous avez vendu %amount %item a %buyer pour %price."
    SOMEBODY_SOLD_TO_YOUR_SHOP: "%seller vous a vendu %amount %item pour %price."
    YOU_CANNOT_CREATE_SHOP: "Vous ne pouvez pas creer se type de shop."
    NO_CHEST_DETECTED: "Aucun coffre trouve!"
    ANOTHER_SHOP_DETECTED: "Shop d'un autre joueur detecte!"
    CANNOT_ACCESS_THE_CHEST: "Vous n'avez pas acces a ce coffre!"
    PROTECTED_SHOP: "La Protection du coffre avec LWC fonctionne!"
    SHOP_CREATED: "Votre Shop a bien ete creer!"
    NO_PERMISSION: "Vous n'avez pas la permissions de faire ceci!"
    INCORRECT_ITEM_ID: "l'ID de l'item est incorrecte."

    PS : if You use this, My Nickname Is Madlaine.
  18. Offline


    Is there anyway to limit the number of chestshops a player can create?
  19. Offline


  20. Offline


    But this puts a nameless account with money in the /ec top5 and /ec stats commands, I was asking for a way to hide that =(
  21. Offline


    Erm... It shouldn't?
    Are you sure you are using the newest version?


    Not really

    Delete plugins/iConomyChestShop/iConomyChestShop.db
  22. Offline


    @Acrobot to ja jestem tym genialnym adminem :)
    Byłaby możliwość podesłania bety 7? Pamiętam, że takiej używałem na 953.
  23. Offline


  24. Offline


    Super! Dzięki działa na starym buildzie. To pewnie przez to nie działało ;)
  25. Offline


    plz can some1 help meh, when someone opens a shop i try and buy from it and it sais the owner does not want you to buy from here or somethin similar, have i missed something lol?
  26. Offline


    Something wrong on 3rd line of the sign.
  27. Offline


    What usually causes that database to get corrupted?
  28. Offline


    Unfortunatelly, I don't know. I guess it's might be because of often reloads or something :/
  29. Offline


    Okay thanks! Also is it possible to somehow only the allow of ChestShops in Towny towns? That kind of integration with your plugin, and LWC would be really great for my server.
  30. Offline


    How do I sell lapis lazuli?
  31. Offline


    Use the Item ID 351:4

Share This Page