[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

    Darcion

    it wont work, it didn't load
     
  3. Offline

    desy_troyder

  4. Offline

    Tadas159

    On my server all players including me can't buy or sell anything because it says "Shop owner doesn't want you to buy/sell here." or something like that
     
  5. Offline

    Acrobot

    @Tadas159
    What is on the sign?

    @Darcion
    Did you save it in the .jar file?
    Also, forgot to tell you - turn useDB to false.

    @xLoGiiKzZo
    I may be close to an answer - just tell me, what is on the sign?
     
  6. Offline

    dakado

    and can you answer on my question ? look up on my post
     
  7. Offline

    Acrobot

    @dakado
    Oh, sorry for that I missed it.
    Do you get any errors in console?
    What CraftBukkit's version are you using?
     
  8. Offline

    needspeed10

    If I create a shop (either admin shop or normal), users can sell but not buy.
    They get "Shop owner doesnt want you to buy here"
    Sign looks like:
    Code:
    admin shop
    
    1
    
    B 10:5 S
    
    dirt
     
  9. Offline

    DivineKyuuji

    Why do both bonemeal and inksac have the same name and id? I'm wanting to sell bonemeal, but i dont want people being able to sell inksacs to the shop.
     
  10. Offline

    Alente

    Loving the plugin but some extra functionality would be great.

    Further integration into iConomy to let us set a cost on forming chests in particular would be interesting, say default group pays 500 currency while the donor group pays 200 to form one.

    Would be fun to configure.
     
  11. Offline

    Acrobot

    @Alente
    Hey, that's a nice idea! I think I will add it in 3.1 - 3.0 is ALMOST finished - just tweaking now!


    @needspeed10
    Did you try re-downloading?
     
  12. Offline

    needspeed10

    yes
     
  13. Offline

    Acrobot

  14. Offline

    Acrobot

    @needspeed10
    That's weird - it works for me. Be sure to TURN OFF the server, delete the plugin and its folder (not really needed to delete folder, but just try), download new version, and finally turn on the server.
     
  15. Offline

    Kainzo

    @Acrobot - can we have a limit on how many ChestShops a user can put in?can we also have a cost for laying a chest shop? I'd like to charge 50-100c to put one down as an added abuse security measure

    in an RPG feel - creating a "shop" should cost something :)

    @Alente is from HErocraft ;) he beat me to it. Limit & Coin cost!
     
  16. Offline

    Acrobot

    @Kainzo
    Yep, just like I said, in 3.1 - and I guess I will have to add TODO list when 3.0 comes out :p
     
  17. Offline

    Felonu

    Bonemeal and ink sacks are the same item (id 351) with different damage values (15 and 0 respectively) you can use these on signs by adding their damage value to the id in the format 351:0 (ink sack) or 351:15 (Bonemeal)
    the other damage values and block ids are explained in depth on the <minecraft wiki data values page>.
     
  18. Offline

    CAPSLOCKNINJA

    I'm getting a fatal error with the plugin;
    1-This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2-I do, I have version 2.7.2 (I think, one of the 2.7s)
    3-http://pastebin.com/Q5fcx2Qf
    4-I haven't touched the config
    5-http://pastebin.com/8mqibMuU
    6-Nothing, really. I just reinstalled the plugin after updating and this popped up.
     
  19. Offline

    xLoGiiKzZo

    When i create the Sign i make it like this
    Line 1 -
    Line 2 - 5
    Line 3 - 10:5
    Line 4 - Stone

    After its created it looks like this:
    Line 1 - xLoGiiKzZo
    Line 2 - 5
    Line 3 - B 10: S
    Line 4 - Stone

    Please fix this i need shops!
     
  20. Offline

    Hrnmhmm

    It's not working on my Multiplay server that's running the latest versions of Bukkit and Minecraft (b818, v1.6.6).

    Checked server log, it's not loading. I've tried doing a full reinstall of the plug-in, to no avail. Not expecting help; however, it's worth a shot. Here's my troubleshooting dump.
    Show Spoiler
    Server log error:
    http://pastebin.com/8mqibMuU

    Permissions (for the sake of procedure):
    http://pastebin.com/m3ytEdk5

    Plugins:
    CraftBookMechanisms, iConomy, WorldEdit, mcMMO, RemoteBukkit, BigCatch, MobLoot, CraftBookVehicles, HeroicDeath, CraftBookCommon, CraftBookCircuits, DailyBonus, LWC, Essentials, WorldGuard, OddItem, PvPReward, Permissions, EssentialsSpawn, EssentialsChat

    I would love to use this mod. Should anyone help, thanks in advance! :)
     
  21. Offline

    Stephen304

    Hmmm, well I logged in an alt account and tested creating shops and I could create them without any errors, so I sent my friend a list of what to put on a sign to test and he says it worked. I'm not sure what was wrong but I'm pretty sure he was trying to put his name on the first line. He can create shops fine now. Works 100%!
    Code:
    23:30:05 [INFO] Starting minecraft server version Beta 1.6.6
    
    23:30:05 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    
    23:49:34 [INFO] Plugins: BedRespawn, ExactSpawn, iConomy, iConomyChestShop, LWC, Permissions, Regios, SignLift, WorldEdit
    
    
     
  22. i have 2 problems all shops whith a ":" dont work for example color wool . and se second is my users can only sell thinks they buy at a shop. they cant sell thinks they farmed at nature. pls help me XD and sorry for my bad english im german ^^
     
  23. Offline

    Tadas159

    @Acrobot The signs are good, because it worked in earlier versions. And also it says that on every shop.
    @needspeed10 do you still have that problem?
     
  24. Offline

    Tadas159

    about the colored wool use ";" not ":" like this "357;4"
     
  25. Offline

    needspeed10

    yes
     
  26. Offline

    Acrobot

    @Tadas159
    ":" should work too.

    @Hrnmhmm
    @CAPSLOCKNINJA
    It is some error with Bukkit's built-in persistence. You should try turning useDB to false, and open iConomyChestShop.jar with WinRAR/anything. Then locate plugin.yml file, and delete the line that says "useDB: true". Be sure to save it to jar file!

    @xLoGiiKzZo
    Oh yeah, I will try, but it work for me :/
    Anyways, try stopping the server, deleting iConomyChestShop.jar and whole iConomyChestShop folder and then try to install iConomyChestShop again.

    @oOTerror_ToastOo
    Hmm, what exactly do you specify as a item name? What do you mean by "doesn't work"? It will not change item id to name if you specified an ID, but it still will work.
     
  27. Offline

    Tadas159

    @Acrobot so about the shops. I think selling is working(it works some times), but buying doesn't.
     
  28. Offline

    Acrobot

    @Tadas159
    It sounds just like my plugin before fixing :/
    I'll check my MD5 Hash of .jar file in some minutes
     
  29. Offline

    Tadas159

    Maybe it conflicts with a plugin?
     
  30. Offline

    Acrobot

  31. Offline

    Tadas159

Share This Page