[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

    Yaty

     
  3. Offline

    pizzavun

    There is a bug, when somebody has a name with a space in it (Example: pizza v) than has that person unlimited money ;/. Can somebody fix that?
     
  4. Offline

    Acrobot

    pizzavun
    Well, that's your auth plugin's problem - Minecraft restricts the names to certain characters - space is not one of them.

    Yaty
    Believe me, I've seen that, and "please fix" won't change anything - I'm investigating it at the moment.


    Kryten2X4B523P
    Hmm, there's a setting for file logging in ChestShop's config.
     
  5. Offline

    Yaty

    Thank you for investigation.
     
  6. Offline

    CorruptionCraft

    Can you add Stone Brick's to it? Because on the server I own, we can't make a shop for Stone Brick or any Stone Brick.

    Thanks,

    CorruptionCraft
     
  7. Offline

    Kurax

  8. Offline

    Acrobot

    CorruptionCraft
    Use the test version.

    Kurax
    I'll look into it, but for now, can you check if the test version still does that?
     
  9. Offline

    Kurax

    The test version seems to be working fine! Thank you!
     
  10. Offline

    Acrobot

  11. Offline

    CorruptionCraft

    Acrobot I can't find the test version. May you please provide a link
     
  12. Offline

    Acrobot

  13. Offline

    CorruptionCraft

  14. Offline

    Acrobot

  15. Offline

    hmorr5

    hey, I recently installed the plugin on my server and it works good, except that some items don't work. For instance when the item id 29 for sticky pistons are put on the sign, it works but then says there are no items in stock or you cant sell that item, even though there are sticky pistons in the chest and all. It does this for gunpowder as well, is there something to help fix this? thanks, plugin is epic other then the problems :)
     
  16. Offline

    EmanuxJade

    In the latest build v3.42 i wanna report a little bug with stone bricks or id 98,97:3,43:4, actually is impossible to set sell/buy and the chest give a message "out of stock"

    so for this problem i have rollback on 3.40 and all work fine.

     
  17. Offline

    Acrobot

    EmanuxJade
    Yes. I know. That's why the TEST VERSION is out. Try it, it won't hurt (probably).

    hmorr5
    Remember, do /iteminfo before you try to sell items.
    IIRC, pistons have a damage value of 6, and gunpowder is called "Sulphur".
     
  18. Offline

    Madhaxx

    when I make my sign in a protected region, people can destroy the text on the sign so the sign is textless. is there anyway to fix this?
     
  19. Offline

    Acrobot

    Madhaxx
    This is just a client-side issue with your protection plugin. Just re-log.
     
  20. Offline

    edik

    sometimes if a new player comes in my Server and register, an buy then somethings in my Admin Shop, he dont loose money! Why? (I disabled buy things with the Standard Rang)
     
  21. Offline

    Acrobot

    edik
    Are you running on offline-mode? If so, the players may bug your economy plugin with incorrect names.
     
  22. Offline

    Superboer53

    Hey, I`ve got a problem with some item ID`s.
    When i want to make a shop with stone bricks it does say: smooth brick:0, I have 4 types: Smooth brick:0, smooth brick:1, smooth brick:2 and a smooth brick:3.

    And here is the problem:
    When i have Smooth brick:0 as shop i can buy it, (ID: 98/stone brick) but when i try to sell it, it does say: you don`t have enough items. When i get Smooth brick:3 (ID:98:3/Circle stone brick) i can sell it on the shop of smooth brick:0 (ID:98/stone brick)

    We want to sell stone bricks and want to buy stone bricks, we can buy stone bricks but can`t sell them.
    How can we fix it?

    Superboer53
     
  23. Offline

    Acrobot

    Superboer53
    Use the test version. (And search for it, too :p It's been asked at least 5 times)
     
  24. Offline

    edik

    @acrobat, yes i have online-mode=false, but i use the plugin xauth, (tried authme too, to remove this bug), and disabled multipli accounts. One of my player said, that a New Player reported that he dont loose Money, when he bought something in Admin Shop.
     
  25. Offline

    Acrobot

    edik
    Which economy plugin are you using? Are you sure that the player has got an economy account?
     
  26. Offline

    RyGuy147

    What is new in v 3.45?
     
  27. Offline

    Acrobot

    RyGuy147
    Different from 3.44:
    - fixed "free" buying/selling
    - fixed "partial" transactions

    Different from 3.42:
    - added API
    - really many changes in code
    - and really, really more changes inside. Check the github, if you want to see the changes.
     
  28. Offline

    Eo2day

    Acrobot, I am Running CB 1.2.5-R4.0 and the 3.45 test build. For some reason no one can buy from Admin Shops. I have renames it to "Server" for looks, does this change anything? It still didn't work with the default Admin Shop name. I am also running PEX and BOSEconomy. Help?
     
  29. Offline

    thestriker095

    Hello,

    I'm wanting to use the " maximum prices for items" feature but I am not too sure what the config values mean. Could you elaborate on how to use them?

    So things I'm wondering is: Whats the difference between:

    max-buy-price-5: 14
    max-sell-price-5: 15


    And

    max-buy-price: 14
    max-sell-price: 15


    What does the "-5" represent? The Item ID?

    Any help is appreciated.

    Sincerely,
    Brodie McKinney | Chairman And CEO Of LiveAndBuild | Senior Buycraft Support Staff
     
  30. Offline

    Acrobot

    Eo2day
    Well, you must tell me what does "not working" mean.

    thestriker095
    Yep, -5 is the item ID. (here it's the 5th item)

    buy/sell - that's the same as on a sign.
     
  31. Offline

    edik

    I use the newest Iconomy plugin. And im sure that everyone have an account. I use the newest Chestshop plugin, and have to say that i hadnt earlier the problem.
     

Share This Page