[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

    conman

    Yeah i figured that out Thankyou for the reply not-to-self need to understand english better :0
     
  3. Offline

    erickhabbaz

    When I create the shop, it says shop successfully created.
    When I make it an Admin Shop, I and other users are unable to buy. It doesn't give them a warning or anything at all.
    We right click and it doesn't do anything(Hand doesn't even move.)
    And when you right click, it just punches the sign. Nothing happens, there is nothing in the chat box.

    I'm using the most recent chestshop and essentials.
     
  4. Offline

    RobeS

    In the firs line you must write not (Admin Shop) but Adminshop. Was it helpful?
     
  5. Offline

    Acrobot

    erickhabbaz
    Do you get any errors in the console?

    RobeS
    Either works.
    It is space- and case-insensitive.
     
  6. Offline

    chaseoes

    It would be interesting to have a way to view per-shop stats so shop owners can see what's selling good, what's not, etc.
     
  7. Offline

    TheReach2134

    I need help is there a command that shows your money balance I cant seem to figure it our can someone help me? P.s: I tried /money, /balance and /bal I need help! Or is that command another plugin...if it is can you send me link please?
     
  8. Offline

    Acrobot

  9. Offline

    I3looddevilz

    Please update to 1.3. Love this plugin
     
  10. Offline

    Acrobot

    I3looddevilz
    HOW can I update to 1.3 if 1.3 Bukkit is not out yet?

    When 1.3 Bukkit will be out, ChestShop 3.46 should work just fine.
     
  11. Offline

    zer11

    Hello,
    how to create a shop which doesnt belong to anyone but you can buy items out of it. The shop should be always full with that sort of items and the prizes should be changeable.

    Greetings
     
  12. Offline

    imjustin44

    how do i sell items with names too long for the sign? is it possible?
     
  13. Offline

    Acrobot

    imjustin44
    Diamond Chestplate = 18 characters

    It's automatically truncated to "Diamond Chestpl", which is 15 characters long and it works. Even "Diamond Ch" should work.

    zer11
    "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."
     
  14. Offline

    imjustin44

    Ok thank you
     
  15. Offline

    iamduffy

    For some reason this doesnt work.
    I have installed ieconomy and chestshop.
    I write the correct things in the sign. Then, once i click ok on the sign gui, it says "Shop succesfully Created"
    Then, when players try to buy, nothing happenes

    Please Help Me
     
  16. Offline

    Acrobot

    iamduffy
    Eh... What do you mean by "nothing"?
     
  17. Offline

    iamduffy

    When you right click on the sign, nothing happens. No message pops up. Nothing is taken from your account, or added to your invertory. It just sits there
     
  18. Offline

    Acrobot

    iamduffy
    Any errors in the console?
     
  19. Offline

    iamduffy

  20. Offline

    Acrobot

    iamduffy
    So unless you're in creative mode and in the config you have "IGNORE_CREATIVE_MODE" turned on, I've got no idea.
     
  21. Offline

    LohDecay

    - CraftBukkit version 1.2.5
    - ChestShop version 3.42
    - Your economy plugin IConomy
    - Have you got any Permission plugin? Pex
    I cannot seem to get the restrict to Groups feature too work.​
    Could you State how to do it a little more clearly.​
    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
    So if i name the Shop "Donator", and give the PEX Group Donator the permission "ChestShop.group.Donator" Then only those in that group will be allowed to use those signs?
    The syntax is:
    [restricted]
    firstGroupName
    2ndGroupName
    3rdGroupName
    Only those groups will be able to use that shop
    And This is the format for placing a sign above the sign? So those groups are not restricted from using that Shop, that shop is restricted from everyone else But those groups using it?​
    Even if i turn on the LWC options, when i try to /cprivate it tells me it is already protected, but everyone can still use it. Then if i cmodify a group into it, then no one, even the group i set can use it.​
    Thanks for any help, Just a little confusing. ​
     
  22. Offline

    Acrobot

    LohDecay
    Yes, exactly, that's how it's supposed to work. Maybe the fact that you're running an outdated version might cause that?
     
  23. Offline

    LohDecay

    Its possible, will 3.46/1.3.1 work on 1.2.5? not enough plugins have been updated to 1.3.1 for me to update the server.
     
  24. Offline

    Acrobot

    LohDecay
    Yes, it was released when 1.2.5 was out - if you look on BukkitDev, it has both "1.3.1" and "1.2.5" in "supported versions"
     
  25. Offline

    LohDecay

    Well i updated, and it still does not work.​
    I created a sign​

    Donator​
    64​
    b10​
    Diamond​
    Had a friend who is a member try and buy from it, and it told him it was locked which is good.​
    I upgraded him to a Donator and had him log out and back in. and it still tells him it is locked.​
    In my PEX for the rank donator, i have - ChestShop.group.Donator​
    Do i need to disable the LWC protect option for this feature to work? i tried messing with that again also and it didnt work.​
     
  26. Offline

    Acrobot

  27. Offline

    LohDecay

    It was a big B, typo my bad.

    After playing with it some more, i even tried adding - -ChestShop.group.Donator to the member list and that didnt work, tried multiple signs with multiple names and everyone was able to buy from all of them.

    If i add a sign above it with Restricted and then the group name "members" then members cannot buy from that shop, not the other way around like it says.
     
  28. Offline

    Acrobot

    LohDecay
    Hmm. That means that I've made a mistake, I'll fix it soon. Thanks :D

    (Also, for anyone interested, here's a quick sneak-peek at the work on CS 3.5)

    Code:
    $ git diff --shortstat
    19 files changed, 306 insertions(+), 528 deletions(-)
    
     
  29. Offline

    rtcabooservb

    Any ETA on release or development build? :eek:
     
  30. Offline

    Acrobot

    rtcabooservb
    No clue, need bugfixing, because, well, the ChestShop core was rewriten (and allows for multiple item transactions now!) and I need to test it really well.
     
  31. Offline

    rtcabooservb

    Well, if you ever need an extra hand for testing, I'd love to help test with a development build. :)
     

Share This Page