[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

    Acrobot

    @Matt Gill
    Yeah, and if not, it can be any of the minecraft.* files.
     
  3. Offline

    Matt Gill

    Would it be safe to just copy all of them over then?
     
  4. Offline

    Matt Gill

    Oh wait. It is still saying no economy plugin found...
     
  5. Offline

    Acrobot

    @Matt Gill
    Hmm, please type in /money ? and tell me, what does it show?
     
  6. Offline

    Matt Gill

    "[Money] Balance: 30.00 Dollars"
     
  7. Offline

    Acrobot

    @Matt Gill
    Not "/money", but "/money ?".

    BTW, I think I know the problem, next version is going to be uploaded in ~10 min
     
  8. Offline

    Matt Gill

    Alright sweet I hope it fixes.
    Here sorry lol I didn't see the question mark:
    Iconomy (Eruanna)

    I didn't think you were looking for all the commands I think you wanted just that right?
     
  9. Offline

    Acrobot

    Okay, new version uploaded.

    And yes.
     
  10. Offline

    Matt Gill

    Hmm you just updated to 2.73 right? Still doing the same :( . What's this register plugin i see in the change log? Does that have anything to do with it?
     
  11. Offline

    Acrobot

    @Matt Gill
    I just did upload a fixed version, it was and is 2.73

    And, can you .zip me your plugins folder? (If it's not >10MB)
     
  12. Offline

    Matt Gill

    It's just over 10 Mb, but i can put it in a RAR file is that fine?
     
  13. Offline

    Acrobot

    Matt Gill likes this.
  14. Offline

    Matt Gill

    Alright well can I send it through this site? I'm a bit new here haven't done much, but browse plugins and post a couple things.
     
  15. Offline

    koko13009

    Thx by advance :)
    I restore back to a iconomy 4.6 and chestshop for old ico, and all working now, waiting your release 3.0 :)
    Continue your work ! Great job !
     
  16. Offline

    Nicolaj

    How to put Wool in there:s?
     
  17. Offline

    Acrobot

    @Nicolaj
    WOOL:durability
    or
    35:durability
     
  18. Offline

    Unknown_1

    Thanks I have downloaded the update and all works. Amazingly Blacksmith also works now.
     
  19. Offline

    drewpacs

    I have a question I am making a hotel and I need a way to have ppl buy a room is there any way to get to work properly?
     
  20. Offline

    MrTeapot

    Hi there!
    I'm having some problems with this plugin. I have two computers and I want one of them to run the server. But when I run the server on the server comp the IconomyChestShop wont start; but it does on my other. This is very strange because I have the same plugins on both computers:

    Permissions
    Iconomy
    Residence
    IConomyChestShop

    I even tried to move the whole server folder from the working one to the server comp. But I still get a huge pile of errors on the server comp; all the other plugins are working fine though.

    Please help me!
    I have to say that this is a really awesome plugin btw! (I hope I'll get it to work on my server comp tho...^^)
     
  21. Offline

    Master_Digi

    hy i have a problem all my players on the server can make a adminshop but there have not the admin permission
     
  22. Offline

    reverendgeneral

    Why are some settings in the config file wrapped in "" and others in ' '?
     
  23. Offline

    creeptastic

    This seems like a really great plugin, but support for the Essentials plugin economy is still missing. =)
     
  24. Offline

    Acrobot

    @MrTeapot
    I THINK it is because you have special characters in your folder name. Try renaming it. And if you don't, please paste your error on pastebin.com and link me to it.

    @reverendgeneral
    --> '
    is used when "String" - text data - is without
    --> '
    in it.

    You can always use
    --> "
    for text that has
    --> '
    in it, and you can "escape" the character by doing something like:
    Code:
    /"
    
    (in this example, we used " character)

    I hope you can understand me :)

    @creeptastic
    Nope - it's there!
    But unfortunately, you need recent relase, because older ones didn't contain "API"

    @Master_Digi
    Are you sure they don't have iConomyChestShop.* permission?
     
  25. Offline

    po24

    One of the players on my server cant make shops because his name is too long. Everytime the server restarts you can no longer buy or sell from his shops.
     
  26. Offline

    xMikexBx

    Just wanted to ask this question. On the server I am administrating for, we have been having problems making the Admin Shops work. It used to work before but I'm not sure if it would be a conflicting plugin or not. What happens is when we try creating it, the sign gets locked by "Admin Shop" but the sign goes blank. What I am wondering is has there been an issue from any other plugins that would cause this issue.

    [​IMG]
     
  27. Offline

    Acrobot

    @po24
    Yeah, that's a known issue :/
    I will try to make it possible to make shops in iCS (or, rebranded, ChestShop) 3.0

    @xMikexBx
    Oh yeah, this is a STRANGE thing.
    Try downloading the newest version, and post your config on pastebin.com
     
  28. Offline

    xMikexBx

  29. Offline

    reverendgeneral

    @Acrobot
    Yep, read you loud and clear. Just wanted to make sure that was the reason and I hadn't missed something while learning YAML.

    I have another question though. On our server, we are setting up towns that have a few public amenities available for citizens. My town, for example, has a building filled with furnaces that players may use for free, provided they have their own fuel source. In the event they don't, I am selling coal in that building with your shop plugin. Unfortunately, I want the money from that chest to go to the town's account (not attached to any player), rather than my own. Now, of course I could just transfer money as it came in, but it would be a lot less suspicious if players could see the town's account name on the sign, rather than my own. Is there any way to define a different account for the shop, specifically one that isn't tied to a certain player?
     
  30. Offline

    Acrobot

    @xMikexBx
    Hmm, that's weird. Try changing:
    Code:
    signLWCprotection: true
    
    to

    Code:
    signLWCprotection: false
    
    And try if it works.

    @reverendgeneral
    If you have admin permission, just type in town's account name on the first line of the sign.
     
  31. Offline

    xMikexBx

    @Acrobot
    It's still locking the sign but making a blank sign.

    Edit:
    I'm uploading a video of what happens on two different takes of creating the admin shop, will edit this with the video link attached to it in a minute.

    Edit 2:
    http://www.youtube.com/watch?v=NhKhi1DN7bg
     

Share This Page