[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

    cooldudef40

    just a suggestion, can you make it placeable like this([glass]= sign, mounted on wall):
    [cobble][glass]
    [chest][cobble][cobble][cobble]
    this would be really useful to make shops look nicer!:cool:
     
  3. Offline

    cooldudef40

  4. Offline

    Acrobot

    cooldudef40
    Yeah, I thought of that, but there were some problems with it, so it was disabled :)
     
  5. Offline

    cooldudef40

    ok, if it becomes possible, it would be really cool!
     
  6. Offline

    Acrobot

  7. Offline

    MrGKanev

    There are no errors no anithing ... Is it becaus i have worldguard and worldedit?
    And i am sorry for my "good" english ...
     
  8. Offline

    Acrobot

    MrGKanev
    Wait, again.
    What happens when you create a shop?
    What happens when somebody tries to buy/sell?

    Are you sure that your spawn-radius in plugin.yml is set to 0?
     
  9. MrGKanev
    If you can't explain it make a short video!

    cooldudef40
    Showcase let's you duplicate items - watch on Youtube
     
  10. Offline

    MrGKanev

    Ok short video come in up
     
  11. Offline

    MrGKanev

    acrobot here is the URL
     
  12. Make sure you have following in your config:
    Code:
    ADMIN_SHOP_NAME: "Mine Shop"
     
  13. Offline

    MrGKanev

    Yes It was done when i instaled it.
     
  14. Get 64 stone. Try it again
     
  15. looks the same as what happend to me. but i got errors. it fixed when i switched from iconomy6 to BOSEeconomy.
    so this is my kinda way of saying thx its fixed acrobot :D. now just learning all stuff about BOSEeconomy :p
     
  16. kayc01
    Sorry for offtopic, but does BOSEconomy have a) MySQL support b) transactions logging?
     
  17. im not to sure. lol as i say , i have only just got it. check it out.. its seems ok. lol sorry :/
     
  18. Offline

    Epics

    No it does not have either of these, but please do not post questions for another plugin in this thread.

    Thanks,
    Austin
    iConomy6 is buggy and has always had troubles with ChestShop, sorry about that.
     
  19. Offline

    Mistercmd

    My ip is 63.248.148.34:25566
     
  20. Offline

    syddie

    I finally got ChestShop up and running and no I just need to ask one final question. Would it be better for me to switch to boseconomy over iconomy for this mod?
     
  21. Offline

    spunkiie

    Acrobot

    We have just found a CRITICAL DUPE bug in ChestShop. Please read your PM for a video.
     
  22. Offline

    t2013012

    Try wooden_pick
     
  23. Offline

    t2013012

    iron_ingot, iron_block
     
  24. Offline

    MrGKanev

    kayc01 i am with BOSEeconomy from the begining.Do you think that if i switch to an other economy will work?
     
  25. Offline

    Epics

    It doesn't matter, whatever you like. Just not iConomy 6. I personally like BOSEconomy better because the flags aren't broken.

    Do you have Vault installed?
     
  26. Offline

    Afforess

    CB had the bug in it from 2080-2082. Guess which version CB++ was based off of until a few minutes ago? :p

    Fixed now, tell users to upgrade.
     
  27. Offline

    jackks

    I have problem while trying to create a shop where items would be given away for free.
    I tried using "0", "0:0", "free", "free:free". It's not working.
     
  28. Offline

    Epics

    B 0: S 0
     
  29. Offline

    jackks

    I'm very sorry for taking your time but that did not work neither. It works only when the price is > 0, for example: 1.
    It says that i cannot buyt or sell here.
     
  30. Offline

    Mistercmd

    This is a amazing plugin! All I want is to be able to sell the items to then I would use it on my main server
     
  31. Offline

    Mrchasez

    Epics Whats wrong with iConomy 6 its what i have been using
    However people are able to crash the server with chestshop
     

Share This Page