[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


    You can't, because "Blame Notch" :p
    Colour codes take too much space of a sign - the sign can hold 15 characters, and one colour code is 2 characters - you can't put it in almost every one (the one that could hold it would be the quantity line), so I can't really do that :/

    Hmm... Are you sure that the 2nd chest isn't protected?

    Yeah.... Unfortunately, PEX isn't really compatible with many standards and tends to break plugins :/

    You probably forgot the ':' character between buy and sell prices :p
    It should look like:
    B 5
    S 5
    B 5:5 S

    Haha, things like that happen. Glad that you've "fixed" the issue :)

    Go to bukkit.yml, change spawn-radius to 0.

    Not yet, but I'll probably just add it.

    Oh, I think I know what may be the problem.
    Are you sure your friends are clicking SIGN, not CHEST?
  3. Offline


    Hello I have a problem with my permissions.
    I am using CraftBukkit-1.1-R3
    I am using Chestshop 3.34
    I am using Iconomy
    And I am using Group Manager

    I have the permissions set up in the everyone group

    but no one can buy nor sell anything, only op's can.
  4. Offline


    Bukkit.yml change spawn-radius to 0
  5. Offline


  6. Offline


    PEX 1.18 breaks the permissions of this plugin; if you are on it try reverting to v1.17
    Acrobot likes this.
  7. Offline


    OPs and people with the permission...
    can make shops like this.
    [Admin Shop] (Or whatever you specify in the config.yml)
    # of item
    B #: S #

    No chest required. :)
  8. Offline


    I was having a small issue with this plug in:

    I was setting up shops in a map and was going to have players set shops in another map so after testing with a friend on world1 we goto world2 and try to have him set a shop and it says "Not enough space in chest" or "Not enough room in inventory" (I think, going by memory). What could be the issue?
  9. Offline


    How do I sell different colored wool? What do I put for the item #?

    Never mind I got it
  10. Offline



    for colours
  11. Offline


    Never mind. Figured it out. Line 2 I was informed that was what the Item ID was, but instead it's how much of the item is sold for, followed by price/sale and then the item name. Oy.
  12. Offline


    I am positive.

    They have tried both but none work. Both say no permissions etc.
  13. kyle939
    Somehow it works with 1.17, RB1.o
    Never had problems with PEX. >30 plugins
  14. Offline


    Epics: ok thx, but I have one next problem. When I click on sign (admin shop) right mouse i buy -> Its OK but when I click with left mouse button... Nothing will happen... no text, no sell, no chat... nothing event with left button on mouse :(
  15. Offline


    Go to bukkit.yml, change spawn-radius to 0.
  16. Offline


    Won't that remove my spawn protection?

    On another matter, I can't seem to get my bPermissions to work correctly - ChestShop.shop.buy/sell has been set for the group in question I am using lwc to protect both signs and chests. Creating shops works like a charm, but left/right-clicking on the signs only says the sign is protected by lwc and I am unable to buy/sell (holding lmb for long even breaks the sign without me having to crouch as mentioned in the first post here)

    running latest version of all 3 plugins and the latest bukkit rb as well - what would you need in order to help me fix this? ^^
  17. Offline


    This will remove the spawn protection. You will need to use another permission plugin for that, because default spawn protection blocks left-clicking.

    Also, do you get any errors?
  18. Offline


    Acrobot: where is bukkit.yml ?
  19. Offline


    I see, no I do not get any errors - just lwc informing me "this private protection is owned by *player name*"

    Spawn protection seems to have done the trick, Im able to use the signs now - cheers =)
  20. Offline


    located in the root of your server installation by default, if you had some script move it you would have to do a search for it
  21. Offline


    Bisa: ok and what is conf this line? what is it? what will change in the game? Thx
  22. Offline


    By default the file looks like this:
      allow-end: true
      warn-on-overload: true
      spawn-radius: 16
      permissions-file: permissions.yml
      update-folder: update
      ping-packet-limit: 100
      use-exact-login-location: false
      - version
      username: bukkit
      isolation: SERIALIZABLE
      driver: org.sqlite.JDBC
      password: *****
      url: jdbc:sqlite:{DIR}{NAME}.db
    Change the line that says
    spawn-radius: 16
    spawn-radius: 0
  23. Offline


    Yes, I Know, but what does this line?
  24. Offline


    Default spawn protection. You need to use another plugin to manage the protection of the spawnzone like Essentials.
  25. Offline


    It removes the built in protection of your spawn point, currently it also allows the use of left clicking (I suspect this is some kind of bugg - and this is a known workaround)
  26. Offline


    Feature request: I kind of dislike how if i sell in increments like 5 or so and i only have 3 or 4 or 1 that i need that much to sell to a shop. I would like if chest shop could figure out on its own how to sell for a fraction of a price.

    Ex. Store selling 10 glass for 10$

    i only have 5. i sell 5 for 5$ to store because its half so therefore i get half the price.

    Is this possible or an option at all?
  27. Offline


    Haha, this is a really nice option! :D
    I'll try to add it in CS3, if not - this will surely go to CS4. Can you post it as a ticket on dev.bukkit?
  28. Offline


    um ok ive never done that but ill try. at least i had a good idea
  29. Offline


    yeah idk how to do a ticket sorry :<
  30. Offline


  31. Offline


    Hey, recommendation here...
    A sign option replacing the amt of being sold with...
    Admin Shop
    S x
    Sells all in inventory so players don't have to spam signs, yes?
    That'd be great. If not, thanks for reading!

Share This Page