[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


    My users can buy unlimited amounts of ironblocks, even tho of the current shop is sold out.
  3. Offline


    sneakMode: false

    change it to true.

    Is it admin shop? Do you get any errors in console?
  4. Offline


    No. No errors

  5. Offline


    Hmm, weird o.0
  6. Offline


    Indeed. My log is full of it :S Had to disable the plugin for now
  7. Offline


    What does sneakMode actually enable?
  8. Offline


    This isn't weird, but weird is that your items don't disappear :/

    Straight from config file
  9. Offline


    Well this does not work with permissions 3.0+
  10. Offline


  11. Offline


    Running the latest version (linked above posted by @Acrobot at 8:23am), on #820, I'm getting a 'Shop owner doesn't want you to buy here' error from shops that used to work fine. Format:

    B 50:50 S

    (as an example)

    Though oddly, the one shop I found that simply has "B 50" works fine. Config file via pastebin shortly, have to post from another machine than the one I'm on currently.

    Oh, just got the pastebin up, but I see you can already reproduce, so I guess you don't need it then. :) Well here it is anyway: http://pastebin.com/3cWwMxgr

    Re: killing you, lol, I've got a local test server I use, so no worries. Though I actually do have my market entirely disabled on prod right now as I'm having issues with shops not working consistently as well as with LWC not working (even worse! shops are wide open w/o LWC in place)..

    Thanks for the fast response. :)
  12. Offline


    Yep, I have it too, so it is an error (Don't kill me, please : (
  13. Offline


    Fixed, thanks!
    (One line of code, grrr :/)
  14. Offline


    Same link to download new version with this fix?
  15. Offline


  16. Offline


    O: weird.
  17. Offline


    i have a server from servercraft.co so i cant see if i get errors :/
  18. Offline


    I think you've screwed something up. What is the newest Permissions this works with?
    Because I'm having trouble: even though I have the '-iconomychestshop.admin' node, I cannot open others' chests, break their signs/blocks behind their signs, etc. Also, I cannot make shops for others. In addition, AdminShop does not work as a name for creating a shop, even though I have enabled it in config.yml, although this could be as a result of the above problem.
  19. Offline


    I'm assuming this is Permissions 3.1.x compatible, along with iConomy 5? If so, it looks great and I'm downloading!
  20. Offline


    Permissions API didn't change AFAIK.
    If it doesn't work, it is a problem with Permissions itself :/
  21. Offline


    Create ebean.properties file (blank) in your server directory :p
  22. Offline



    im running on cb823
    iconomychestshop 2.75 dont start on my server, using permissions 3.1.2

    Error console:
  23. Offline


    Were do you edit the maximum buy/sell price I don't see it in the config. Also is it per item or just over all?
  24. Offline


    It seems that the spawn protection prevents people from using whatever is assigned to left click. Is it possible for you to make a workaround?
  25. Offline


    For some reason the BUY Admin Shops will not work. It says "The owner does not want you to buy here" every time it is right clicked. Same message appears for left click except it is for sell.

    Come to my server to see the issue if you feel the need.

    Scratch that... its worse.. No one can buy from any sign. It has the same message as above :/
  26. Offline


    Same problem in my server.

  27. Same for me also.

    - What CraftBukkit build have you got (type in "version" in console and paste everything)
    The server is running CraftBukkit version git-Bukkit-0.0.0-773-g8229349-b823jnks (MC: 1.6.6)
    - Have you got a Permission plugin, if yes, which one?
    Permissions 2.7.4 [Phoenix]
    -If you have Permissions plugin, please post your config on pastebin and give me the link.
    I can not do this, however I'm sure about my configuration.
    - iConomyChestShop's config file (It's located in /plugins/iConomyChestShop/config.yml)
    sell: true
    distance: 1
    position: 'DOWN'
    protection: true
    LWCprotection: true
    logFilePath: "plugins/iConomyChestShop/iConomyChestShop.log"
    sneakMode: true
    allowUsedItemsToBeSold: false
    separatingLineAfterTransaction: false
    #allowUsedItemsToBeSold - allows used items to be sold. WARNING. the tools will be "fresh" if player sells them. I don't reccomend it, really.
    #protection - do you want to use anti-stealing protection?
    #sell - do you want to activate selling?
    #distance - distance between the chest and the sign
    #position - position of the chest, goo.gl/YItRO
    #LWCprotection - do you want to protect the chests with LWC?
    #logFilePath - where will the log be stored?
    #sneakMode - if on, left-clicking the sign automatically sells to shop, if you want to break the sign, just sneak and break it.
    #separatingLineAfterTransaction - if on, after every transaction there will be one line of "------" in the chat
    # prefix will be dispayed at the beggining of every message.
    # you can use terms like <buyer>, <amount> or <item> in messages, however
    #     only certain messagess offer this.
    # <buyer> - nick of the person who bought.
    # <owner> - nick of the person who own the shop.
    # <amount> - amount of item
    # <item> - name of item
    # <money> - amount of money with iConomy currency
    # You can always use hMod colors, like
    # &1, &f etc...
    # For example: This is my&6 golden text.
    #Experimental: Try changing the prefix to '                          &a[Shop] &f                                             '
    #The text will be centered!
        prefix: '&a[Shop] &f'
        Somebody_sold_items_to_your_shop: '<seller> a vendu <amount> <item> pour <cost> a votre echoppe !'
        Somebody_bought_items_from_your_shop: '<buyer> a achete <amount> <item> pour <cost> !'
        Your_shop_is_out_of_stock: 'Vous n''avez plus de <item> dans votre echoppe !'
        You_cannot_use_your_own_shop: "Vous ne pouvez pas utiliser votre propre echoppe !"
        You_bought_items: 'Vous venez d''acheter <amount> <item> a <owner>.'
        Your_inventory_is_full: 'Votre inventaire est rempli !'
        You_have_got_not_enough_money: "Vous n'avez pas assez de monnaie !"
        Shop_is_out_of_stock: 'Cette echoppe est vide !'
        You_have_not_enough_items: 'Vous n''avez pas assez d''objets a vendre !'
        You_sold_items: "Vous avez vendu <amount> <item> a <cost> a l'echoppe de <owner>."
        Chest_is_full: 'Ce coffre est plein !'
        Seller_has_not_enough_money: "Le vendeur n'a pas assez de monnaie !"
        Seller_has_no_account: "Le compte du vendeur n''existe pas !"
        No_selling_to_this_shop: "Le proprietaire du magasin ne veut pas que vous vendiez ici !"
        No_buying_from_this_shop: "Le proprietaire du magasin ne veut pas que vous achetiez ici !"
        Your_balance: 'Vous avez maintenant <money>.'
        Shop_is_created: 'Votre echoppe a bien ete creer !'
        Shop_cannot_be_created: "Vous n'avez pas mis de coffre !"
        Shop_was_LWC_protected: "Votre echoppe a bien ete protege avec LWC."
        Mode_changed_to_sell: 'Mode vente !'
        Mode_changed_to_buy: 'Mode achat !'
        You_tried_to_steal: "On ne vole pas !"
        iteminfo: "&aID de l'objet et nom:"
        incorrectID: "ID incorrecte !"
    - Did anything pop in the console during loading/transaction?
    - What have you been doing?

    Tryed many things, /chest buy, /buy and right clicking on sneak mode. None of em worked
    This doesn't work on any shops, AdminShop or whatever, and was working before I updated to the new CraftBukkit version (I was on #740 before)
    By the way, I'm testing with players on my server with regular rights and with admin rights ['*'] none of them works.
  28. Offline


    Друг мой =) русские символы убери из пути к серверу =)
  29. Offline


    Думал ведь об этом,эээх.
    Спасибо! :rolleyes:
  30. Offline


    strange, nothing changed... i replaced all files. bukkit 820
  31. Offline


    plus one ;_;
    YoureDown likes this.

Share This Page