[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

    Acrobot

    @Gulogomi
    Hmm... What does it say when you're trying to buy from it?
     
  3. Offline

    Mishrathium

    @Acrobot

    So many thanks for your support and the effort you put forth.

    ~Mish
     
  4. Offline

    Gulogomi

    @Acrobot
    Nothing, we can just take the items from the shop
     
  5. Offline

    Acrobot

    @Gulogomi
    Hmm...
    Are you sure that:
    - if you're using a permission plugin, be sure that the players' haven't got ChestShop.admin or ChestShop.mod permission
    - if you're not using any perm plugin, be sure that the players' aren't OPs.

    @Mishrathium
    No problem :)
    Does it work?
     
  6. Offline

    Gulogomi

    @Acrobot
    They arent OPs. I just use: ChestShop.shop.buy.itemID
    ChestShop.shop.sell.itemID
    For the "members"
    And like a said befor, it do not say: Shop created Sussesfull. :)
     
  7. Offline

    Acrobot

    @Gulogomi
    Oh, it DOESN'T say that.
    Did you get any errors in the console?
    Are you sure that the plugin is installed?
     
  8. Offline

    Gulogomi

    When i start the server it say: Chestshop is disable, in the log.
    How can i set it on??
     
  9. Offline

    Acrobot

    @Gulogomi
    I have no clue - ChestShop doesn't disable itself. It is probably an other plugin that turns it off, or you may just be looking at the server shutdown.
     
  10. Offline

    Boon Pek

    I'm using CB Version 1597, ChestShop Version 3.3.1 and PermissionsBukkit 1.2. Even for users (guests) without permissions, they are able to create, buy from and sell to shops. Deliberately disallowing the permission has no effect; the users are still able to create, buy from and sell to shops.

    Even the itemIDs don't seem to obey the rules.
     
  11. Offline

    Acrobot

    @Boon Pek
    No clue, probably something broken in PBukkit, but you can temporary disable all default permissions by opening ChestShop.jar with WinRAR/7Zip and deleting the "permissions" section from plugin.yml
     
  12. Offline

    madmac

    A small bug, I am trying to sell an enchanted diamond helmets but it will not allow me. it keeps saying shop out of stock?
     
  13. Offline

    Acrobot

    @madmac
    You need to do /iteminfo.
    It will tell you exactly the item info.
    It will look like:

    ItemID-1234
    where 1234 will be the enchantment id
     
    madmac likes this.
  14. Offline

    Cybou

    I want add to my server the paid system to create a shop :
    SHOP_CREATION_PRICE: 50
    SHOP_REFUND_PRICE: 25
    But I don't know why the money isn't add to the server's account (it's work for tax).
    Secondly, SHOP_REFUND_PRICE don't work ...
    Can you explain that ? ....
     
  15. Offline

    Acrobot

    @Cybou
    Which ChestShop version are you using?
    Are you trying the SHOP_REFUND_PRICE with admin account - this doesn't work with admins?
     
  16. Offline

    JTanked

    I was wondering if there's a way to limit how many stores people can make? I've gone over the config several times but can't find anything that looks like that. Help would be appreciated :)
     
  17. Offline

    Cybou

    I have Bukkit 1597 / ChestShop 3.31 / iconomy 6.0.8b
    I tested again, SHOP_REFUND_PRICE don't work only when the player is Op (but SHOP_CREATION_PRICE works).
    I don't know why only Shop_creation works with Ops.

    But where the player's money goes when they "buy" a shop ? Could it add to the server's account ?
     
  18. Offline

    madmac

    Doesnt work

    username
    1
    B400000
    310-gkvpi5


    is on the sign and it still says shop is out of stock
     
  19. Offline

    Acrobot

    @madmac
    Hmm, no clue then.
    Are you sure that the item isn't damaged?
     
  20. Offline

    Musiabi

    When ever i make a shop, it says its successful, but no one can buy anything. help
     
  21. Offline

    daallie

    I have AdminShops and anytime anyone tries to use it including myself they get the EssentialsProtect Message

    Code:
    [EssentialsProtect] Protection owner: daallie
    UPDATE: I removed sign protection and I get You cant buy and you cant sell messages.


    Permissions (After trying to fix it):

    Code:
    groups:
      Default:
        default: false
        permissions:
        - -bukkit.command.kill
        - ChestShop.shop.buy
        - ChestShop.shop.create
        - ChestShop.shop.sell
        - essentials.kit
        - essentials.list
        - essentials.signs.buy.use
        - essentials.signs.disposal.create
        - essentials.signs.disposal.use
        - essentials.signs.free.use
        - essentials.signs.mail.create
        - essentials.signs.mail.use
        - essentials.signs.protection.create
        - essentials.signs.protection.use
        - essentials.signs.sell.use
        - essentials.signs.trade.create
        - essentials.signs.trade.use
        - essentials.suicide
        - ChestShop.shop.use
        inheritance:
        - g:essentials_default
        - g:bukkit_default
        info:
          prefix: '&e'
          build: false
          suffix: ''
    
    
    Thank You in Advance
     
  22. Offline

    Mishrathium

  23. Offline

    Acrobot

    @Musiabi
    What does your shop sign look like?
    Do you get any errors?
    Have you got iConomy or any other economy plugin?

    @daallie
    You can't buy/sell means that your 3rd line is wrong.
    It should look somewhat like that:
    B 5
    S 5
    B 5:5 S
     
  24. Offline

    KompotPL

    I have the same problem. Bukkit #1597, ChestShop, iConomy and bPerms are up to date. Any fix for this?
     
  25. Offline

    Acrobot

    @KompotPL
    Are you sure you've put
    ^ChestShop.shop.create
    there?
    If so, go to ChestShop.jar, open plugin.yml and delete the whole "permissions" section.
     
  26. Offline

    VADemon

    Happy New Year!
     
  27. Offline

    Acrobot

  28. Offline

    siff313

    hello,
    I wanted to know how to sell a potion of regeneration (the ID is 373: 8193)
    thank you

    sorry if I made ​​mistakes I'm french
     
  29. Offline

    Acrobot

    @siff313
    Just type in 373:8193 :)
     
  30. Offline

    guitarhero921

    Can you allow people to make admin shops with out the chestshop.mod part?
     
  31. Offline

    Acrobot

Share This Page