[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

    DooBLER

    Is there a way to limit the number of stores that one player can create?
     
  3. Offline

    Acrobot

    @ShaDooM
    Earlier version had this bug.

    @DooBLER
    Not yet, but it's a popular request, I'll add it when I find a nice solution :)
     
  4. Offline

    ray0911

    Since I updated to 974 chestshop it appears to be defaulting to Boseonomy on load/enable. However, when I buy from adminshop is uses Iconomy (v5). When I buy from player chestshop is uses Bose. This only happend when I update to 974. Before Chestshop was defaulting to Iconomy and worked even tho I had Boseonomy loaded for other things. I know I've ask you abount this many time. I just wanted to let you know (FYI). No rush on the option to select one Economy plugins over the other in the config file. AGAIN this is a great plugin!
     
  5. Offline

    Acrobot

    @ray0911
    Oh right. I forgot. Adding this now :)

    EDIT: Hmm, I have weird bugs :/ Well, I'll be trying.
     
  6. Offline

    thehutch

    I have just added BETA 8 and i already had shops set-up is there anyway of transfering the database over so they will work. I tried copying the iconomychestshop DB file to the chestshop one but nothing happened.

    just wondering if this is possible if not ill just have to replace all of them.
     
  7. Offline

    Acrobot

    @thehutch
    There isn't any type of database, and iConomyChestShop shops are exactly the same as the ChestShop ones - nothing really changed on the sign.
     
  8. Offline

    reverendgeneral

    @Acrobot Hey there, me again lol.

    Still running 3.0b8 and have encountered an interesting problem. ChestShop thinks my players are trying to create a shop when they create signs that look like this:
    Code:
    =============
         ###
      StreetName
    =============
    (we have a very crude address system set up, and players would like these signs on their buildings or property)

    However, if they set them up like this:
    Code:
       <blank>
         ###
      StreetName
       <blank>
    the sign is created just fine, and ChestShop is none the wiser.

    Any clue how to get around this issue?
     
  9. Offline

    thehutch

    Fixed it, it was because i typed the item like IRON INGOT instead of IRON_INGOT. So i take it writing it like this no longer works
     
  10. Offline

    DMX

    Thanks alot acrobot, now it's working well ^^
     
  11. Offline

    Valgor

    I can't get permissions for anyone but me to work. From reading around, I am getting the impression that it is only in the Beta version of this plugin? Could you please confirm or deny this and then update the main page to make it clear.
    Thanks.
     
  12. Offline

    Acrobot

    @Valgor
    Permissions changed from iConomyChestShop.something to ChestShop.something
    The best option is to give your users ChestShop.shop.* permission.

    @reverendgeneral
    OK, gonna fix that.
    Temporary workaround - type ":" at the start of first line.

    @thehutch
    Doesn't it?
    Oh, I'm going to fix that then.
     
  13. Offline

    riuthamus

    Added the API to our 7.0 release. Let me know if you have any questions.
     
  14. Offline

    Acrobot

    @riuthamus
    Adding the API to the newest Register - every plugin that uses it (many, many plugins) will work with 7.0 soon.
     
  15. Offline

    riuthamus

    If i coudl have your children, i would!
     
  16. Offline

    Acrobot

  17. Offline

    thehutch

  18. Offline

    Acrobot

    @thehutch
    Spawn protection maybe?
    Open bukkit.yml, change spawn-radius to 0.
     
  19. Offline

    thehutch


    my spawn radius is at 0

    Code:
    settings:
        update-folder: update
        spawn-radius: 0
    database:
        username: bukkit
        isolation: SERIALIZABLE
        driver: org.sqlite.JDBC
        password: walrus
        url: jdbc:sqlite:{DIR}{NAME}.db
    aliases:
        icanhasbukkit:
        - version
    
     
  20. Offline

    Acrobot

  21. Offline

    Tagz

    Is there a fix yet for players with a name that is longer?
    I've got a member Ctrl_Alt_Destroy that can create them, but after any reload it looses his stores. The y gets cut off.

    Thanks
     
  22. Offline

    Acrobot

    @Tagz
    Not yet, but I probably know the solution :)
     
  23. Offline

    Tagz

    Awesome thanks :)
     
  24. Offline

    Craig1690

    Hey there i saw the guy above post the same thing im having trouble with a guy on my server his name is spacecadetrabbit and he cant create shops because of his name can you fix this ?.. thanks


    Craig
     
  25. Offline

    Kaosvf

  26. Offline

    Acrobot

    @Kaosvf
    Right, just delete plugins/iConomyChestShop/iConomyChestShop.db
     
  27. Offline

    Kaosvf

    but if I delete iConomyChestShop.db all market in the map will be deleted?
     
  28. Offline

    Acrobot

    @Kaosvf
    Nope :)
    It's just for database that generates shop statistics page :)
    My plugin never used a database to store shops :)
     
  29. Offline

    Kaosvf

    perfect, deleted :)
     
  30. Offline

    Kaosvf

  31. Offline

    Acrobot

    @Kaosvf
    Wow.
    That's weeeeird, however that's bukkit's issue :/
    Well, just turn off using database in the config file :)
     

Share This Page