[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


    Thank you lol i cant believe i was soo stupid XD
  3. Offline


    Thanks :)

    What do you mean by "doesn't work"?
    What version did you download? Do you get any errors?

    Thanks :)

    Is it still like that?
  4. Offline


    I run through multiplay and they have the most updated version. I think perhaps the config file is just old. Would you mind providing the way the config works now in a pastebin or even in a spoiler in the main post?
    Also, If there is no distance, is there something that now takes place of that? I enjoy allowing my users the ability to "hide" their chests underground while having the sign accessible above ground (3 blocks above the chest that's buried)

    And thank you for the quick replies
  5. Offline


    No, I believe multiplay still uses "iConomyChestShop" version.
    There is only a possibility for the Chest to be in 1 block radius from the sign - not really allowing to hide chests :/
  6. @Acrobot
    The download link still gives 3.01. Does Github cache? or did you link to the wrong file?
  7. Offline



    Thanks for re-adding the stacking of non-stackables. Appreciated!
  8. Offline


    Wow, I didn't add it yet - I changed the method, so it works with stacks with more than one stack at time. I'll add this probably in the next update.

    Ehh, does it?
    Looks like 3.02 to me o.0
  9. @Acrobot
    Identical size compared to 3.01 and it gives the same version string :)
    But its most likely just some cache thing, ill give it a whirl tomorrow.
  10. Offline


    Try downloading with a different browser - works with mine, gives me 3.02 :/
  11. @Acrobot
    Tried it on 3 diffrent machines, 2 browsers and wget. I can only assume its being cached somewhere on the way, would you mind renaming it and sending me a new temporary url, emailing it, skyping, msn or any other way.

    EDIT: I had one of my american users download it for me and he did get the new version. He will pass it on. Thank tho :)

    Show Spoiler

    root@creeper:~# wget https://github.com/downloads/Acrobot/ChestShop-3/ChestShop 3.zip
    --2011-08-27 06:45:05-- https://github.com/downloads/Acrobot/ChestShop-3/ChestShop 3.zip
    Resolving github.com...
    Connecting to github.com||:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://cloud.github.com/downloads/Acrobot/ChestShop-3/ChestShop 3.zip [following]
    --2011-08-27 06:45:06-- http://cloud.github.com/downloads/Acrobot/ChestShop-3/ChestShop 3.zip
    Resolving cloud.github.com...,,, ...
    Connecting to cloud.github.com||:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 85556 (84K) [.zip]
    Saving to: “ChestShop 3.zip”
    100%[=====================================================================================================================================================================>] 85,556 --.-K/s in 0.04s
    2011-08-27 06:45:06 (2.27 MB/s) - “ChestShop 3.zip” saved [85556/85556]
  12. Offline



    Question, do you can add optional automatic delete chest + sign above (shop) when is empty after specific time ? :O
  13. Offline

    Truls Bekk

    Is there any way to sell or buy blocks without a block id?
    Ex: birch wood, cocoa beans etc.
  14. Offline


    It worked!Thx for help!
  15. Offline


    I can create a shop and anything, but when i want to buy something, it says "no economy plugin found"
    Im using iConomy
  16. Offline


    Hmm, not really - I don't use databases.

    @Truls Bekk
    Birch log
    Charcoal coal
    Red ink_sac

    You are running old version of the plugin. Please re-download the newest one.
  17. Offline


    Thanks for the fast support!

    It would be nice, if you could send a Link to the newest version, so i download the right one
    Wonderful Plugin
  18. Offline


    Hey recently I switched hoster, so I transferred all my plugins to the new one.. I used a MySql for the plugin iConomy, and I transferred the DB to the new one... /money works fine... but im having major lag when using ChestShop Anything I can do about this...?
  19. Offline


    could you make it that most visited shops raise in price and least visited ones lower?
  20. Offline


    Is there a way to sell lapis Lazuli (351:4) as an item in the shops with it actuall showing "Lapis Lazuli" instead of "351:4" If I just use Lapis in the item name it dispenses Lapis Lazuli Ore.
  21. Offline



    If you use MySQL on a different server - that lags, because the plugin has to wait for iConomy. Can't you host it on the same server?

    Not really :/
    I don't use databases, and by the way, it's all player driven - player chooses the prices.

    That's actually ink sac, if we do item names - so it should be any of those:
    So, for example lapis should be either:
    ink sac:4
    or blue ink sac
  22. Offline


  23. I don't know which LWC bug you fixed but there's another one.
    If I have reached the protections limit in LWC I can't protect chest and etc. with /cprivate. But I can protect chests with ChestShop because sign and chest will automatically protected after creation

    There's a video of it:

    And please add another permission with that people can destroy other's shops without be able to make an Admin Shop.

  24. Offline


    I will modify the mod permission to be able to destoy.
    And I will now fix the LWC bug :)
  25. Finally :D
    Thanks! It's yours: [cake]
  26. Ahhh, It's me again!

    Would be great to see a message if creating a shop and should pay for it.
    "Shop successully created and paid 5 dollars for that"

    And one bug x)
    If you have old config without
    #Amount of money player must pay to create a shop
    #Do you want to show "Out of stock" messages?
    #Do you want to show "You bought/sold... " messages?
    #Do you want to show "Somebody bought/sold... " messages?
    then it will be added so, that "SHOP_CREATION_PRICE: 0" is a comment. Look:

    Someone forgot to add /n :p
  27. Offline


  28. Offline


    I'm having a problem trying to sell Cooked Porkchop. It doesn't recognize that id. Pork makes raw porkchop and Cooked Pork makes Cooked Fish... idk whats going on.
  29. Offline


    Huh. I tried it not long ago and it worked o.0
    "It doesn't recognize that id" - do you mean numerical id? If not, try it.
    And the bukkit's enum name is: GRILLED_PORK
    Try it :)
  30. Offline


  31. Offline


    Feature Request: When a user creates a sign with line 3 like this "B 10 : S 15" a warning should be printed about how bad that is.

Share This Page