[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

    Chalemi

    hi i am having an error,

    12:31:52 [INFO] Done (2.667s)! For help, type "help" or "?"
    12:31:52 [INFO] [Metrics] Server returned HTTP response code: 502 for URL: http
    //mcstats.org/report/ChestShop

    not sure what is up but everything i have is up to date, just finished checking. any help please?
     
  3. Offline

    edragy

    This is my favorite plugin, I sense a lot of work has gone into this, I use it a lot
     
  4. Offline

    Acrobot

    edragy
    Thanks :)

    Chalemi
    You shouldn't worry about it - it just means that statistics server acted up, so the start couldn't be sent - this doesn't break the plugin in any way :)
     
  5. Offline

    kamil7430pl

    When i clicked on the plate in order to purchase there was an error in the console:


    Please help :(
     
  6. Offline

    Acrobot

    kamil7430pl
    Woah, that's a new message to me. Have you tried running the 3.50 TEST VERSION? (You can download it from the main post)

    (Also, Siema :D)
     
  7. Offline

    strontkever

    im using TEST VERSION 3.5

    shops do not get deleted after out of stock at all (gives the "shop is out of stock" message, then nothing happens)

    with 3.46 this worked if only 1 signshop is attached to a chest
     
  8. Offline

    Acrobot

    strontkever
    Thanks, I actually fixed it in the newest version which I have on my PC.
    Thanks for the report, though :)
     
  9. Offline

    rtcabooservb

    Any idea when the newer version will be public?
     
  10. Offline

    Acrobot

    rtcabooservb
    I want to figure out one thing first, but it will be soon - 1 or 2 days max.
     
  11. Offline

    Acrobot

    rtcabooservb
    Ok, it's out there - it's still being worked on, though :)
     
  12. Offline

    strontkever

    neat,

    love your plugin.. dont ever drop it :)
     
  13. Offline

    kamil7430pl

    runned, just tried, is better.

    and you have removed all the commands such as: /money?

    I write because i have no money (even if you're an admin) :(

    edit: Acrobot Polish come from?
     
  14. Offline

    Acrobot

    kamil7430pl
    Tak, jestem Polakiem :p

    Nie, nie usunąłem żadnych komend - ChestShop nie ma żadnych komend typu /money - to jest iConomy.
    No, I did not remove any command - ChestShop doesn't have any commands like /money - it's iConomy's.

    strontkever
    Haha, thanks - I'll try :) BTW, the new version is available to download.
     
  15. Offline

    kamil7430pl

    A to w którym pluginie ChestShop można wpisywać komendy /money?

    A to w takim razie trzeba jakieś pluginy na zarabianie sciągać? (podasz jakiś bo nie moge znaleźć takiego gdzie będą z mobków wypadały pieniądze (tzn. znalazłem ale nie za bardzo działa :( ))

    dzięki :)
     
  16. Offline

    Acrobot

    kamil7430pl
    W żadnym ChestShopie - jak mówiłem, potrzebujesz iConomy lub BOSEconomy. A żeby z mobków wypadały pieniądze, potrzebujesz jeszcze innego pluginu, ale wybacz, nie znam się na nich.
     
  17. Offline

    Ardawen

    Sorry Acrobot got a question did you got a chance to look at the question I asked at #8065 ?
     
  18. Offline

    rtcabooservb

    Acrobot Latest Chestshop 3.5 0006 build, decimal value does not work in admin shop. For example, B 12.25
     
  19. Offline

    Acrobot

    Ardawen
    You are running ChestShop 3.4

    The latest one is 3.50 test version. I believe it works there.

    rtcabooservb
    Thanks for the report :) Regexp is hard :p
     
  20. Offline

    xduckxx

    Acrobot for some reason no one can buy from player shops but they can buy/sell to the admin shop? it says " you arent allowed to buy here or something like that. spawn radius is 0. I dont have any permissions plugin or anything.. help?
    Running latest chestshop and craftbukkit.
     
  21. Offline

    Acrobot

    xduckxx
    You aren't allowed to buy here = the shop doesn't allow selling.
    It's probably an user error, the third line should look like this:

    B 5
    S 5
    B 5:5 S
    etc.
     
  22. Offline

    xduckxx

    Acrobot now it;s saying "You dont have permission to do that!" or something. What are the defualt permission and how can I change them without a permissions plugin? Im using LWC on my server to and it automatically locks signs. could that be the issue?

    also a suggestion:
    /stock - check your stock on different store items

    couldn't you just iterate through all the player's shops, placing them up in the chat? It would be really helpful.
     
  23. Offline

    denise

    I add permissions on permissionsex
    to member
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    to vip
    - ChestShop.shop.create
    - ChestShop.shop.buy
    - ChestShop.shop.sell

    but everyone can create shops. why?
     
  24. Offline

    rtcabooservb

    Any ETA on a fix or next dev build? :D
     
  25. Offline

    Acrobot

  26. Offline

    MineNeMeMA

    I really need help!!! aaargh! i have seen this bug so many times and still no answer!
    I can create a admin shop it says admin shop created.
    so i try to buy from it or sell to it and nothing happends.
    no message pops up or anything.
    there is no error log im using these plugins: vault, iconomy, essentials all four protect etc. , groupmanager, multiverse core, multiverse portals, multiverse inventory, lwc, worldguard, survival games and war.
     
  27. Offline

    Acrobot

    MineNeMeMA
    - are you in creative mode? (If so, there is a setting in config.yml that blocks that)
    - have you got a block in your hand? (MC 1.3 doesn't send packets when a block in hand can't be placed)
     
  28. Offline

    MineNeMeMA

    No i don't XD i installed the test version works fine :)
     
  29. Offline

    Acrobot

  30. Offline

    MineNeMeMA

    one more question tho when i create a admin shop and try to sell to it it says the shop owner doesn't have enough money. I have no idea how to fix it since i have like 20000000 dollar :p
     
  31. Offline

    Acrobot

    MineNeMeMA
    Did you change the SERVER_ECONOMY_ACCOUNT in the config?
     

Share This Page