[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. 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


    just wondering if this plugin can support SignColourer. As everytime someone scrolls , it bugs out the Admin Shop's.
    - CraftBukkit: 1.8/1185
    - ChestShop: 3.22
    - Economy plugin: iConomy 6

    - Permission plugin: PEX
  3. Offline


    Some errors in console? Which plugins are installed? Latest version of ChestShop?

    Just forget colors. When you write a sign you add a color (fex: &4) and ChestShop reads it with these symbols. So if you colored last line which should be 'stone' but is '&4stone' - ChestShop(bukkit?) simply can't find item by name '&4stone'. And it's hard work (I think) to make it compatible with Colors.
  4. @Redstorm3265
    "I am diggin it"?
    What do you mean?

    Any errors in console?
    Did you try restarting the server, because sometimes bugged chunks occur? (not related to ChestShop)

    Yep - the issue with sign colors is - they take 2 characters.
    If you remember, that sign can hold only 15 characters a line, this means that every color leaves less space to write anything. For example, I can't make your name, f.e. red, because it just wouldn't fit.
  5. Offline


    @Acrobot I am not digging it= I dont like it, but yeah anyone can make a shop and i have the permissions set up to where they can only buy and sell and VIPs can only make shops but anyone can make them :/
  6. @Redstorm3265
    If you have PermissionsEx/PermissionsBukkit or any other permission plugin, you must deny the ChestShop.shop.create node - it defaults to all players.
    For example, in PermissionsBukkit, you have to do:
    ChestShop.shop.create: false (instead of true, as every other one)
  7. Offline


    @Acrobot no errors in the console which is strange, i had to find another shop plugin :[ but i want this one to work its the best one. the /iteminfo command works and when i create a admin shop and user shop it says shop successfully created. just no actual interaction with the shop.
  8. @Hopium
    What is on your sign?
    I am 99% sure that there's something wrong there.
    Can you also send me your config file?
  9. Offline


  10. @Hopium
    Try with uppercase b and s :p
    BTW, awesome domain :D
  11. Offline


    ChestShop: 3.22
    Enocony: iConomy 6.0.6b
    Permissions: around 3

    I've got problem.
    I'm Admin and everything works for me, but for default players doesn't....
    Players can sell items, but can't buy, even from AdminShops.. If they buy - there's message. But if they click right mouse button to sell there isn't any message and nothing is sold.
    It's my permissions file:
    1. groups:
    2.     Gracz:
    3.         default: true
    4.         info:
    5.             prefix: ''
    6.             suffix: ''
    7.             build: true
    8.         inheritance:
    9.         permissions:
    10.             - 'commandbook.who'
    11.             - 'commandbook.motd'
    12.             - 'commandbook.rules'
    13.             - 'commandbook.time.check'
    14.             - 'commandbook.home.set'
    15.             - 'commandbook.broadcast'
    16.             - 'commandbook.say'
    17.             - 'commandbook.say.me'
    18.             - 'commandbook.msg'
    19.             - 'commandbook.mute'
    20.             - 'commandbook.whereami'
    21.             - 'commandbook.whereami.compass'
    22.             - 'commandbook.spawn'
    23.             - 'reporter.report'
    24.             - 'lwc.protect'
    25.             - 'ChestShop.shop.buy'
    26.             - 'ChestShop.shop.sell'
    27.             - 'ChestShop.shop.create'
    28.             - 'ChestShop.shop.create.itemID'
    29.             - 'ChestShop.shop.buy.itemID'
    30.             - 'ChestShop.shop.sell.itemID'
    31.             - 'iConomy.holdings'
    32.             - 'iConomy.holdings.others'
    33.             - 'iConomy.help'
    34.             - 'iConomy.payment'
    35.             - 'iConomy.accounts.create'
    37. (...)
    38.     Admin:
    39.         default: false
    40.         info:
    41.             prefix: '&cAdmin&f'
    42.             suffix: ''
    43.             build: true
    44.         inheritance:
    45.         permissions:
    46.             - '*'
  12. @xxKoMiSxx
    Go to bukkit.yml, change spawn-radius to 0 :)
    xxKoMiSxx likes this.
  13. Offline


    DUDE, THANKS! It works!
  14. Offline


  15. Offline


    I'm not sure if its possible or if its there, i don't seem to see it. When charging to open shop. Is it possible to refund the money once the sign is broken? Or a percentage?
  16. @Malaras
    Not possible to return the money - could be implemented. Thanks for the suggestion :)
  17. Offline


    Also thanks for the Towny Wilderness update just noticed different version. If you could as another suggestion. Could you add the wilderness to perms or config what ever u thing is better.? Thanks allot for being on top of things ;) And your work.
  18. Offline


    @Acrobot so shouldnt the coloured plugin be posted as a conflicting plugin? as it isnt mentioned anywhere right now?
  19. @jenks1999
    Yeah - it isn't. In fact, it doesn't really conflict with it - you just can't re-color shop signs - the rest works fine.
    (BTW, (almost) any plugin that uses signs doesn't work with sign colors)
  20. Offline


    very true, just saves people wondering why, just a helpful FYI to people when they install chestshop and get that error. Saves them looking noob like me...lol
  21. @jenks1999
    It's not a problem, I'll probably just add it to bug-finding section :)
  22. Offline


    thanks and appreciated... :) ty for your speedy response. Best of luck with the progress of this, as i have many people addicted to this plugin...lol
  23. Offline


    my player can buy from the shops but cant sell to them
  24. Offline


    make sure you have it set right...
    Admin Shop
    B 10:5 S

    caps sensative PLEASE NOTE !!!
    and there is a space after the B and before the S
  25. Offline


    wait it only for sertain items they cant sell
  26. Offline


    and i no how to set up the shop i have used this plugin for days its just wont let player sell for sertain items
  27. @Dustin545
    Ehh :p
    You should probably read the main post, the section about bug reporting.
    The issue is - bukkit blocks all left-clicks inside spawn. To fix this, change spawn-radius to 0 in bukkit.yml

    Thanks :)
  28. Offline


    thanks man
    lol hey is there a way to let pople only buy once from a shop like i want a shop for a holaday item that one person get 1 free of that item

Share This Page