[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


    bukkit bulid 617
  3. Offline


    Woooah. There could be your problem. This plugin was tested on CB677, and I cannot guarantee it will work on other ones.
  4. Offline


    odd.jar tested at 677?
  5. Offline


    Hey, feature request :)
    Would it be possible to log everything to MySQL ? :)
  6. Offline


    I am using it with 677 :)

    Ugh, I would have to learn MySQL... But yeah, somer time in the future
  7. Offline


    I can use in 677 now.
  8. Offline


    @Acrobot, could come in handy. Would mean people could add transaction logs to their AdminCP, and stuff like that :)
    Another thing that could get your plugin a bit more popular is a way to make signs a bit nicer. Already asked about the colors, and that's cool, but how about something a bit nicer ?
    So far, we have :
    Line 1 : Nick
    Line 2 : Stack
    Line 3 : Buy:Sell
    Line 4 Item name

    Why not have it so it displays something like :
    NICKNAME is selling STACK of ITEM for PRICE

    Would something like that be possible? Ie, you write the lines the usual way, and then when done, it changes to this kind of layout.
    That would make it so much nicer for users ! :)
  9. Offline


    Yeah, I just though about that :) I can make it to work even without changing :) Just make it in [] <- now >15 char usernames will work! It will be sth like [AcrobotPL] is selling [64] of [wood] for [15] - but I don't know if people woud like that, because it doesn't allow for selling to the same shop.
  10. Offline


    I suppose it depends, yeah.. Well I would personally love it ! :p
    Worst case, it could be something that is handled via the config file, no? So you could have BuyOnlyShop: true/false, so that people choose how they want their shop to look like.

    Well, saying that.. Could you not fit it on a sign? Like :
    [Acrobot] is selling [64] of [wood] for [15] and buying for [10]
  11. Offline


    Great Plugin, it works well with Towny Shops too, just Have the shop redirect the funds to the town or nation "town-Name" be care you dont BANKRUPT your town :p

    Question... is there a way to have it check if the sign is only X amount away, not direction too? or would that mess up chests to close.. i want some of my shops to be up and some down, etc etc just depends on what would be best for the area
  12. Offline


    Not really :/
    It would really mess up things, maybe in future, ok? :)
  13. Offline

    Plush Ninja

    A nifty plugin indeed - our players have really taken into setting up shops and building large malls. :D

    I have a feature request that would help us to gather some statistics off-line: if the log entry for a shop transaction included the number of items bought/sold, it could be used to calculate prices per unit.

    For example:
    [iConomyChestShop] Donald bought 64 WOOL with durability of 0 from Daisy for 200 Zorkmid
    Thanks for a great plugin! :)
  14. Offline


    @Acrobot it's fuck my other plugins (lockette and Myhome)
  15. Offline


    It didn't...
    You still need Permission nodes for these plugins, or make it without Permissions...

    @Plush Ninja
    Sure thing!
  16. Offline


    Group Manager isn't working help. If you can join my teamspeak so I can resolve this I've tried both permissions and Group manage both arent working.


        default: true
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.spawn
        - general.afk
        - general.spawn
        - general.player-info
        - general.list
        - iConomy.payment
        - iConomy.rank
        - iConomy.list
        - iConomy.access
        - iConomyChestShop.shop.create
        - iConomyChestShop.shop.buy
        - iConomyChestShop.shop.sell
        - iConomyChestShop.command.iteminfo
        - essentials.mail
        - essentials.mail.send
        - essentials.whois
        - essentials.msg
        - essentials.depth
        inheritance: []
          prefix: &e
          build: true
        default: false
        - *
        - default
          prefix: &4
          build: true
  17. Offline


    Hi, I have placed all the permissions code in, but it still doesn't allow me to start the shop.
    Please help :D
  18. Offline


    35:15 for example isnt working for me - incorrect item ID???
  19. Offline


    Install OddItems ;)
  20. Offline


    thanks ill try it!
  21. Offline


    Is there any protection for players creating shops in somone elses name?

    Say, a player creates a sign that has the shop stuff in it but not their name. Reset the sign and give him a message. Something like that!
  22. Offline


    Sure, it doesn't show a message but automatically changes to player's name.
  23. Offline


    Um everything seems to be working ok but i still cant get the red wool or other type of wool to be sold. i have odditem installed and i get the item info from /iteminfo

    what am i doing wrong?
  24. Offline


  25. Offline


    Yep that was it :p thanks alot lol i just thought it was gonna work without any extra cuz it was giving me the item id number back right with / command :p oh well works now THANKS
  26. Offline


    When spamming mass amounts of gold to a sign in stacks of 64 - we notice that some gold/stacks get lost in the translation.

    @acrobat you may want to look into or set how fast you can sell to a chest shop - maybe hardcode a wait time between each transaction.
  27. Offline


    Hmm.. I think wait time would be a nice thing to have. I'll add it.
  28. Offline


    Gonna make it not-odditem-dependant, but when I figure how java string.find(String string) works... Well, it doesn't for me.
  29. When normal users try it it doesnt let them sell or buy [permissons] you can not buy/sell from shops.
    this is my groups.yml:

    default: true


    - essentials.help

    - essentials.helpop

    - essentials.list

    - essentials.motd

    - essentials.rules

    - essentials.spawn

    - iConomyChestShop.shop.buy
    - iConomyChestShop.shop.sell
    - iConomyChestShop.shop.use
    inheritance: []


    prefix: '&e'

    build: True

    suffix: ''
  30. Offline


    The best shop plugin! But, i can't make a store with bukkit for Minecraft 1.5. Can you update it?

    Thanks a lot!
  31. Offline


    I'll update it once there's an official (reccomended) bukkit build :)

Share This Page