[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

    Acrobot

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

    Requirements:
    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    Optional:
    - 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


    Setup:
    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.

    Translations:
    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/


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

    [​IMG]
    (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:
    [​IMG]

    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:
    [restricted]
    firstGroupName
    2ndGroupName
    3rdGroupName
    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)

    USING SHOPS
    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)

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

    STOCKING THE SHOPS
    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?

    [​IMG]
    Changelog (open)

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

    Kaptinobvius

    Acrobot
    We're running the test version now on one of our servers. I'm still getting the "[Shop] Couldn't find a chest!" message when I attempt to make one on a trapped chest. Just FYI!

    Thanks again.
     
  3. Offline

    Acrobot

    Kaptinobvius
    Really? Could you show me your shop set-up?
     
  4. Offline

    Kaptinobvius

    Acrobot
    Sorry if this is big, but the center chests are all trapped chests. The signed ones are regular. When I attempt to make one on the trapped I get that message.
    And you can see the version we are running in the chat log.
    [​IMG]
     
  5. Offline

    Acrobot

    Kaptinobvius
    Hmm, can't really tell - I'll release an updated build in a minute, so you could try with that.
     
  6. Offline

    Kaptinobvius

    Acrobot
    Cool we will check it out.
     
  7. Offline

    Malaras

    - CraftBukkit version--CraftBukkit version git-Bukkit-1.4.7-R1.0-68-g2d2198e-b2709jnks (MC: 1.5.1) (Implementing API version 1.5.1-R0.1-SNAPSHOT)
    - ChestShop version--3.50-t0054
    - Your economy plugin--BOSEconomy
    - Have you got any Permission plugin? Which one?-- Group Manager
    Issue: LWC economy refund isn't working.. I destroy sign and get no refund.
    Thank you -- Sorry if Mentioned just skimmed over few posts.
     
  8. Offline

    Acrobot

    Malaras
    Well, that's LWC's problem, right?
     
  9. Just wondering about the trapped chests, will they function in next update?? Haha, made a shop design for my server and so want to build it, but it won't work without those ;)
     
  10. Offline

    Acrobot

    Muscar
    The update was already rolled out! Yes, they do work! :D
     
  11. Offline

    Malaras

    Acrobot

    It's with Chestshop sign, refunds work correctly with doors etc.
     
  12. Offline

    Acrobot

    Malaras
    I really cannot do anything about LWC.
     
  13. Offline

    sharkfin1997

    Quick question. If a shop has a certain price for a certain amount of an item.....

    Eg 6000 for 64 diamonds.

    But the person who clicks the sign only has 5000 in their whole balance will they just not be able to buy it or with it give them an adjusted amount like 54 (not sure what the exact amount is).
     
  14. Offline

    Acrobot

    sharkfin1997
    That depends. There is a feature in the config called "PARTIAL_TRANSACTIONS", which works exactly as you said. If you turn it off - the person won't be able to buy it. If it's on - he'll get the adjusted amount.

    By default, it's on.
     
  15. Offline

    Romeo4myJuliet

    Right so I set up the shops and stuff but it says" [Shop] You don't have enough money!" and yet i got 10000, so i have no idea whats wrong.

    CraftBukkit: 1.4.7-R1.0
    ChestShop: 3.5
    Essentials Economy 2.2.17+
    PEX
     
  16. Offline

    Acrobot

  17. Offline

    Frikken

    I can't set light gray wool in admin shops D:
    It keeps changing the sign to white wool.
    I also have the latest version if that helps any.
     
  18. Offline

    Acrobot

  19. Offline

    keaton64

    Is there any way to sell certain types of moster spawners with this plugin?
    Would love a response.
     
  20. Offline

    Acrobot

    keaton64
    Sure, just use a plugin that allows you to hold monster spawners. Then, just do /iteminfo while holding the item.
     
  21. Offline

    Axispowers

    Hey there!

    I go on a server that just recently got ChestShop. I'm pretty sure the server has iConomy and Towny. ChestShop works like a dream ....but only one half of my shop. I claimed all of the land around it even. I go to place a sign over a chest on the other side and it says "Cant create shop here!". Any ideas?

    That's all answered I think. I need to know now how to expand a ChestShop Plot?
     
  22. Offline

    Dom_

    I have been having problems with enchanted armor having Thorns on it. /iteminfo says something like 311-3v8, (diamond chest plate, protection IV Thorns II), but once the shop is made using that item id, no one can buy/sell the item. It will say the "your %materials shop is out of stock!" and for the buyer "You don't have enough items to sell" and "This shop is out of stock". I'm sure I have set the shop up correctly. Please help!!!:(
     
  23. Offline

    Acrobot

    Axispowers
    No idea, sorry. That would be a question for WorldGuard developers.

    Dom_
    You're using an outdated ChestShop version.
     
  24. Offline

    Greywraith

    Any idea when a dev build will be released for 1.5.2?
     
  25. Acrobot
    It doesn't let anyone of my members make a chestshop (I added the permission correctly, hopefully)
     
  26. Cut off my head if 1.5.1 is not compatible with 1.5.2

    InspectorFacepalm
    As usual: permissions plugin, which message is shown, version?
     
  27. oh wait edit:
    I was using the version 1.5.1 of chestshop
    I added the permission to default, it said it added successfully when they try to do it, it says "No permissions" or something along those lines
     
  28. Offline

    Acrobot

  29. I have noticed a quirk when setting up shop signs.

    Although shop signs are case sensitive, they will not accept Capital Letters of an ItemId for me. Basically, the sign converts it to a lowercase letter (and therefore the sign does not recognize item -says out of stock)

    Example 1: Firework Rocket
    401#1P (flight duration 3/burst/magenta/fade to white) - Sign converts it to 401#1p (out of stock)

    Example 2: Enchanted Diamond Sword
    276#T (Fire Aspect II, Bane of Anth IV) - Sign converts to 276#t (out of stock)*




    So, because all the Rockets that I made have Capital Letters in their /itemid, I am unable to put ANY of them up for sale. I have this same issue with certain enchanted tools as well.

    I am not the owner of the server, I am just a player with a chest shop. I do not know what version they are using, but I assume the latest since, I have no problem selling items like thorn armor & redstone blocks.

    Any advice?

    *However, the signs do work on diamond enchanted picks with Capital Letters in their /item id
     
  30. Offline

    Acrobot

    andrewsupermario
    Well, I need to know which ChestShop version you're using.
    /csversion, please. (screenshot if possible)
     
  31. Offline

    mrdarien

    I keep getting this error
    Craftbukkit 1.5.2
    Chestshop 3.5
    minecnomy 1.5
    perm bukkit
    it also doesnt charge money from there account
    [SEVERE] Could not pass event PreTransactionEvent to ChestShop v3.5
    [SEVERE] Could not pass event TransactionEvent to ChestShop v3.5
     

Share This Page