[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


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

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

    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.

    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/

    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:

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

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

    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)

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

    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?

    Changelog (open)

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


    Yeah, sure :p
    (I guess it will be in ChestShop 4, but who knows :D)

    If you want to use items with durability (for example, Sandstone Slabs), you need to put ':' between the ID/name and metadata, like:

    You don't need OddItem, as @chisox8 suggested :p
    Also, try putting
    Sandstone slab
    there, and tell me if it works :p (I didn't test it)
  3. Offline


    @Acrobot are you accepting feature requests here or do you prefer dev.bukkit tickets?

    Although I prefer a physical shop to a virtual shop (thus using this plugin vs. many of the virtual ones out there), I'd love for there to be a way to allow to remotely check stock. For example:

    /market find wool
    Jibjab has 82 wool for sale
    BubBob has 42 wool for sale

    Maybe it could (at the admins discretion) optionally show the loc's of the shops or perhaps use the region name if in a WG region (so it could read "Jibjab has 82 wool for sale in market1").

    The biggest problem I have in a large world is players keeping shops stocked up and having confidence to make the "journey" to the market (which I've made easier, but I don't allow instant tp's to anywhere). It would be nice to be able to remotely check inventory before making the journey.

    While I'm at it, if you added this feature, checking the stock of your own shops probably wouldn't be that much of a stretch functionality-wise, so something like:

    /market checkstock
    Your wool shop is out of stock!
    Your iron shop has 32 iron left.
    Your gold shop is out of stock!

    If you'd prefer me to open a dev.bukkit ticket, let me know. If you think you'll never implement this feature, that's a fair answer too. :) Thanks.
    Acrobot likes this.
  4. Offline


    Awesome idea :p
    I prefer either Github or dev.bukkit (well, dev.bukkit more than Github, because I use dev.bukkit for that stuff).
    I sometimes forget suggestions, and while I'm making ChestShop 4, it might be useful :D
  5. in regards to what @morganm suggested with the virtual shop you could make a spout GUI showing stuff cuz spout is getting bigger & better everyday
  6. Offline


  7. Offline


    After release of Minecraft for sure. I currently have made almost all the framework stuff (I'm finishing it), and I'll start coding ChestShop 4 soon.

    @Kieron Etherimgton
    Yep, just add it to dev.bukkit as a ticket, so I won't forget :)
  8. Offline


  9. Its not working when people try to sell stuff, it doesnt say anything and it only works for ops...
    Permissionsex file:
            default: true
            - myhome.home.*
            - essentials.spawn
            - towny.wild.*
            - towny.town.*
            - towny.nation.*
            - ChestShop.shop.*
            - iConomy.help
            - iConomy.holdings
            - iConomy.payment
            info: null
                    - lwc.protect
            default: false
            - '*'
            default: false
            - '*'
            prefix: '&4'
            default: false
            - '*'
            - admin
            - admin
            - builder
            - builder
    Wuz happening here? :L

    EDIT: Im stoopid, it works now :D
  10. Offline


  11. Offline


  12. Offline


    Thank you!
  13. Offline


    Thx guys for helping me!!!!! it helped and my players are happy now! thx so much i was trying to fix this issue like 5 days
    and i did not need the plugin but still thx!!!
  14. Offline


    Do you know how to disable this for people in Creative mode?!?! I've asked three times but still got no answer. I have Bpermissions, you said there was a specific node I needed. What is it?
  15. Offline


  16. Offline


    Hi i was just wondering, would it be possible for an admin to build the chest and assign it to an player, so they will get the money and stock the items + permissions to use the chest by adding the username on the first rule of the sign? Is this possible? i don't want my users to create chests themself, but they may use them, in a certain area where i will put them down myself. is this possible to achieve? Thanks!
  17. Offline


    Does anyone know the number or item id for stickypistons? I tried 29, 29:7 stickpiston, pistonsticky, and with the _ in there. cant figure it out!
  18. Offline


    i have java 1.7 will it still work?
  19. Offline


    Try /iteminfo, it should tell you exactly what's the name :p

    Yep, I use Java 1.7 for server too.

    Yep, just place the player's name on the first line of the sign.
    The permission to do that is the admin permission, ChestShop.admin
  20. Offline


  21. Offline


  22. Offline


    guarantee and they are all right;)
  23. Offline


    They ARE all right, but unfortunately, pistons in hand and inventory have data values :p
    (Piston base:7)
  24. @Buckethead
    There're both spellings ;) But you're right I should say "guarantee"
    In theory, but not in practice :)

    PS: guaranTEE (did you ever play teeworlds? :))
    2nd PS: 4 smilies in my post... omg!
  25. Offline


    I have a little problem because I am the vine to sell my Chest
    But he said that store is so empty that is full

    Sorry for my bad English I'm French
  26. Offline


    /iteminfo while holding the item (vine, for example) tells you what to write on the sign.
    The vines have many types, so the /iinfo command should tell you which one you're holding.
  27. Offline


    not in practice?????? the ids are the same throughout everywhere
  28. @Buckethead
    Well... the pistons is the best example and maybe the only one.
    But anyway it's faster to write /iinfo than take a look into wiki (but only if you have the item).
  29. Offline

    v Evoraa

    Nice plugin, one question: I'm running a small server so RAM is valuable :D
    so does this plugin have large server-side databases which eat my RAM or is it client-side?
  30. Offline


    polak???!!! :D

Share This Page