[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

    IDontTrollYou
    Try updating ChestShop, it seems like there is something broken in Spigot. Are you using the latest version of it?
     
  3. Offline

    IDontTrollYou

    yeah i use. Have you another solution ?
     
  4. Offline

    Acrobot

  5. Offline

    IDontTrollYou

    I update it at 1.6.4 at last version what can i do more? I tried with the plugin Towny or something like that ?
     
  6. Offline

    Acrobot

    IDontTrollYou
    You are using a long outdated ChestShop version. The latest version, which is 3.7.2 works just fine with CraftBukkit 1.6.4.
     
  7. Offline

    IDontTrollYou

    So i need to use CraftBukkit? I took the new version today and that bug again with Spigot...
     
  8. Offline

    Acrobot

    IDontTrollYou
    Nah, you don't need to use Spigot, unless the problem only happens with Spigot - I can't help you in that case.
     
  9. Offline

    IDontTrollYou

    I need to use CraftBukkit no? or you can't resolve the problem? :p
     
  10. Offline

    Acrobot

    IDontTrollYou
    I can't resolve the problem. The error is caused by something in the server software, so your best bet is to update ChestShop. If it still doesn't work - well, I'm terribly sorry, but you should contact Spigot team.
     
  11. Offline

    IDontTrollYou

    I took an older version and that works now!
    Thank you acrobat for this great plugin!
     
  12. Offline

    Acrobot

  13. Offline

    IDontTrollYou

    Hmmm... That bug again :s
     
  14. Offline

    Acrobot

    IDontTrollYou
    I'm sorry, but I have no idea what might have gone wrong.
     
  15. Offline

    IDontTrollYou

    It's a problem with worlds named world. You don't have an idea?
     
  16. Offline

    Acrobot

    IDontTrollYou
    Unfortunately, that is not the reason - my test-server's world is also named world and it works just fine. Could you test whether it works fine in CraftBukkit?
     
  17. Offline

    IDontTrollYou

    I found the solution i think i tested yesterday at 23:00 and no problem
    I needed to took the last version only for 1.6.4 (ChestShop 3.7.0) and the ChestShop 3.7.2 for 1.6.4 and 1.7.2
     
  18. Offline

    KingDingbat

    Is this plugin working with the new bukkit version? I have the latest of both bukkit and ChestShop installed but when I try place a sign next to a chest, and type the proper info according to the instructions, nothing happens. It just makes a normal sign and does not create the shop. I have the permissions set on my account and everything. I'm not sure what I'm doing wrong?
     
  19. Offline

    Acrobot

    KingDingbat
    Yes, it works. Do you get any errors in the console?
     
  20. Offline

    KingDingbat

    I don't remember what I did, but it's working fine now. I think I may have had server issues. :) Thanks for your response.
     
    Acrobot likes this.
  21. Offline

    merryxmaschaz

    Great job and thanks for all the help.
     
  22. Offline

    VirtualRunner

    I'm hoping someone can help me out here because I don't understand why I simply cannot get this plugin to work.

    Server is running Craftbukkit version 1.7.2-R0.2
    Chestshop version is 3.7.2
    I also have PEX, worldguard and world edit.

    When I go to place a sign it just stays as a sign! I'm op so I don't understand why it won't work. I've even tried adding the permission nodes to the default group but still just signs.

    Can someone please help me with this? I've literally spent hours today trying different things and I am quite new to running a server. Any advice is greatly appreciated.
     
  23. Offline

    Acrobot

    VirtualRunner
    How does your sign look like? Do you use any economy plugin? Vault?
     
  24. Offline

    VirtualRunner


    I have Essentials economy and Vault. Also, the signs just look exactly like a normal sign.... I don't know how else to describe it. The writing is on them but there are no messages coming up and they are just signs.
     
  25. Offline

    VirtualRunner


    I have also already tried /itemid and written everything EXACTLY. I have literally spent hours on this today and it is not something simple like using the correct item id.
     
  26. Offline

    merryxmaschaz

    Is shop sign setup 1st line [Name of owner] 2nd line [amount to sell or buy] 3rd line [B "price":'price" S] 4th line [item id or name] You would leave out []'s and "s. I added them to clarify subject content. If you have done all this then I don't know seems like you got all the nodes right. Especially if you restarted server after adding permissions.
     
  27. Offline

    VirtualRunner


    Yes, I've done all of that. Many, many times... lol.
     
  28. Offline

    Acrobot

    VirtualRunner
    Hmm, this is weird. Do you get any errors in the console on startup/when you're placing the shop down?
     
  29. Offline

    MCpwats

    Hello I have bukkit : This server is running CraftBukkit version git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2979jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT)

    With ChestShop : [ChestShop] Enabling ChestShop v3.7.2

    Using Essentials Eco from :[Essentials] Enabling Essentials vPre2.13.1.1

    I have created an Admin shop that I can sell things to but the credit is not given to my account but the part that is worse is when I try and buy it says I don't have enough money when I have given myself plenty.

    Any help on getting this working would be greatly appreciated.

    Thanks
    pwats.

    I've fixed this problem now.
     
  30. Offline

    WatchWorld001

    VirtualRunner
    I have the same problem.
    But i get no error of it.
    I have a mac i that the problem?

    Sorry i am not good in english i am dutch
     
  31. Offline

    Acrobot

Share This Page