[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

    Rietas

    okurwa :> Plugin polaków?
    I have default config (two copies world.yml and config.yml becuase i'm not sure) and plugin says "No conifg file!" ;/
     
  3. Offline

    Acrobot

    @havena
    You still need to set sell price, for example for zero, people won't buy it anyways.
    But in the new version I'll make it:
    -WORK WITH DOUBLE CHESTS! (Thanks Afforess!)
    - add $ before the price
    -automatically set the sell price to zero if the selling is turned off.

    @Omen
    Sugestion 1 - hmm... That is possible to do :)
    Suggestion 2- I'll add $ before the price, maybe changeable in config one day
    Suggestion 3 - Yes, I think it's not hard to do.

    I don't promise anything, but the suggestions look nice to me :)
    I am now working on the double chests.

    @Rietas
    Tak, siema :)

    @Chrisbeee - you used tabulators.
    You can't use tabulators, send me your config on wklej.org please

    @Rietas
    Wypakuj wszystko z .zip do /plugins i tyle.
    Extract everything from .zip to /plugins.
     
  4. Offline

    Rietas

    @up
    No właśnie tak zrobiłem i nie działało, ale ściągnąłem od nowa i jest ok. Dzięki
     
  5. Offline

    scar413

    i can't color my shoptext. it just shows "yyyf" (&f) in the chat :(
     
  6. Offline

    Acrobot

  7. Offline

    Noctis Akatsuki

    When I extract that zip file of yours. I get a file called Plugin and a folder called "com". Innside of that I see a folder called iConomyChestShop, Containing 3 files. But none of the is named anything with config.yml.

    The names are: iConomyChestShopBlockListener, iConomuChestShop and PluginListener.

    I get the error you got in your first post, about maybe not installed correctly. And I got no idea how to fix it.
    [MERGETIME="1300116351"][/MERGETIME]
    I apologize, it was actually me downloading the open source file instead of the actual pluggin xD And here I have tried to fix it the last 3 hours ;P
     
  8. Offline

    Kommy000

    Ok guys, is it me or if a player puts up a sign with other players name in the first line, it will do all the transactions from that players name.
    So somebody can change the sign above the chest and switch all the stuff to them.
    Also if they get into my house and see my chest then can pretty much put a sign above it and sell stuff to themselves for 1 coin each. How do I prevent that?
     
  9. Offline

    itorrent

    I think that signs is automaticly protected :) but if they aren't u can use LWC plugin:
    http://forums.bukkit.org/threads/se...ight-inventory-protection-management-493.967/

    @Acrobot
    I found a little bugg hehe, when i make a shop selling grilled porkchop, the people who buys them cant eat them right away.. it says "u son't have permission to do that" (must be something node related). But if they drop the food down and pick it up they can eat it :D
    just a little sumthing, no biggy ;) cheers!
     
  10. Offline

    Acrobot

    @Kommy000
    How have you managed to put someone's name on it?
    It automatically places your name there.

    And there is sign protection built-in.
    Do you use the newest version?

    @itorrent
    Are you sure it's not WorldGuard?
    WorldGuard sometimes causes that.
     
  11. Offline

    @vatare

    Voici le plugin traduit en francais , remplacer le config.Yml qu'il y'a dans le dossier IconomyChestShop qui se trouve dans votre dossier plugin : http://www.megaupload.com/?d=YMCDWBCV .
    This is just a translate in french .
     
  12. Offline

    itorrent

    @Acrobot
    Can very well be that :) ohh it must be that xD i have the chest within an region so yeah, its WorldGuard.
     
  13. Offline

    trivials

    I have found an bug.

    Everybody can build chests shop without permission and
    everybody can build shops with other names !!! Please fix this.

    I can build an shop with prices for an oher user :(
     
  14. Offline

    philipborg

    Make so admins can make never ending chests, look at infchest for code tips or so.
     
  15. Offline

    Acrobot

    @trivials
    How...
    I can't seem to put anyone's else name on it...
    In fact, plugin automatically does event.setLine(0, p.getName()); on sign change, so no way this is possible...
    Also, it checks the permissions for me...

    @philipborg - yes, it will be in the next update I think
     
  16. Offline

    trivials

    k i will try it now thx :)
     
  17. Offline

    kevz68

    Why "no iConomy found" ?
    i've installed iConomy !
     
  18. Offline

    maheulbeuk

    hi,
    when I download the. jar I can not have version 0.97 but 0.96

    now I have a problem with 2 plugins.

    list serveur plugin :
    bukkit : the Recommended version.
    [MultiVerse] - Version 1.4
    [AfkBooter] version 0.5
    LWC At version: v1,63
    MapMarkers version 0.3.1
    [Towny] Version: 2.0.44
    AnjoSecurity version 1.6c
    [iConomy] v4.4
    iConomyChestShop version 0.8

    all plugin is fonctionnal.

    LWC and iConomyChestShop still works for those who are already locked or chestshop already create, but no longer to get a new lock or create new shop.

    on LWC no possibility to create new secure
    on ChestShop no possibility to create new shop

    often after an active day

    sry for my english.

    thx for help



     
  19. Offline

    Acrobot

    @kevz
    If it says at the boot, it was just dev info, ignore it.

    @maheulbeuk
    It's hard to keep updating the .jar, I'm sorry, just download the .zip
    iConomyChestShop is 0.97 now, so update it and see if it works, if not - I don't have a clue.
     
  20. Offline

    itorrent

    @Acrobot
    Uhmm, can we know what bugs have been fixed :D ?
     
  21. Offline

    Emolk

    @Acrobot thanks for putting it on page :)
     
  22. Offline

    Nathan C

    Nice, working on the latest build.

    Perfect plugin.
     
  23. Offline

    havena

    why INACTIVE? plugin no longer works...
     
  24. Offline

    Cappe1337

    When players try too buy from my shops it says you don't have permissions too buy.
    please help me out.. :s
     
  25. Offline

    dak393

    do your users have :
    Code:
    iConomyChestShop.shop.use
     
  26. Offline

    Dodecha

    Doesn't work for me i #531, using Essentialsgroupmanager (all other permissionsreliant plugins work with it)

    It loads nicely, but no message comes up when i place a shop sign, /sell and /buy commands do respond with declaring sell or buy mode though.

    tried different config settings aswell, noID true/falser useID true/false, no difference.
     
  27. Offline

    Acrobot

    Plugin IS active, they moved it incorectly...
    Gonna check it and report.

    @Dodecha
    I tried it on 531 and GroupManager,
    it worked for me.
    Be sure to extract everything from .zip to plugins.

    Again, PLUGIN IS ACTIVE

    @itorrent
    The bug fixes are:
    - Works with DoubleChests
    - Fix for the "No iConomy found!" showing in console - just deleted it
    - No more errors like "Cannot cast..." (I think)
     
  28. Offline

    Geertje123

  29. Offline

    Racha

    Is there anyway to use this in worlguard protected regions, or is there a way to protect the house where is shop? :)
     
  30. Offline

    Acrobot

  31. Offline

    Cappe1337

    Yea they have - 'iConomyChestShop.shop.use'
     

Share This Page