[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

    rtcabooservb
    I can send you a "secret" build :p

    Well, it should mostly work, but I need really intensive testing in all item transactions with admin shops, not admin shops etc. Also, some of the messages are broken (for example, they show a different item amount than they should), but the "core" should work.
     
  3. Offline

    LohDecay

    well glad i could help, if you need any help with the new one let me know.

    Cant wait for an update, realllyyyyy need that feature haha. kind of the make or break of my idea.
     
  4. Offline

    Acrobot

    LohDecay
    I mean - the "core" of ChestShop supports multiple item transactions, you can't make multi-item signs at the moment. You will be able to write a plugin to do that, though. Maybe the transactions will be a part of ChestShop later, but not now.
     
  5. Offline

    tanveergt5

    Hi there is any way to log, chestshop transactions, like who sold what? and what time.
    It would help to catch major xrayers.
     
  6. Offline

    Acrobot

    tanveergt5
    Check the config? There are 3 logging options.
     
  7. Offline

    MineMark8786

    But this plugin requests iConomy? without iConomy i cant know what my balance of my money!!!
     
  8. Offline

    EpicChip

    Hey Acrobot, love the plugin, but I have a question that may or may not make me seem like an idiot. :p
    Can you set a limit to the maximum amount of shops one can create?
     
  9. Offline

    Acrobot

    MineMark8786
    Yes, it needs iConomy/BOSEconomy/any other economy plugin.

    EpicChip
    Nope, unfortunately when I started coding ChestShop I was only learning Java, so now I can't really add that :/ Maybe later, when I figure out a good way of doing that.
     
  10. Offline

    MrFlippery

    why cant i do /money so the people on my server just keep on clicking on the sign and not pay
     
  11. Offline

    goldminerpeter

    I am not sure about this. Will other people open the chest (and steal the stuff in it) ?
     
  12. Offline

    Acrobot

    MrFlippery
    /money command is a part of the economy plugin. ChestShop does not have /money command.

    goldminerpeter
    No.
     
  13. Offline

    Mataman_1

    Is it updated to 1.3 yet? It doesn't say on the topic above.

    I see it now
     
  14. Offline

    Acrobot

    Mataman_1
    Really?
    "[ECON] ChestShop 3.46 (iConomyChestShop) - Chest&sign shop for economy plugins [1.3.1]"
     
    mrlala1 likes this.
  15. Offline

    LohDecay

    Im not interested in multiple item signs. Im interested in having 4 different groups having a shop of their own that only that group can use.

    Sorry for long response, computers power supply died.
     
  16. Offline

    Acrobot

  17. Offline

    Haduke

    For whatever reason, my players can not purchase from any shops. They right click and nothing happens. If they left click, it tells them that they can not sale here.
     
  18. Offline

    Acrobot

    Haduke
    Any errors in the console?
     
  19. Offline

    Haduke

    Not that I can see Acrobot. It's odd because it seems to work okay for some, but not for others including myself. AdminShops or normal shops. Some of us can't buy from them at all, and when we left click them it says that we can't sell here. (Mainly because the shops we have tested so far are buy only of course. So we know that bit works right.)

    Other plugins I have running now are:

    ChatManger
    iConomy
    LWC
    mcjobs
    ModifyWorld
    PerformanceMonitor
    PermissionsEX
    SimpleSpawn
    Vault
    WorldEdit
    WorldGuard
     
  20. I am using your plugin and I love it but I hate one thing. When I make a shop with the colored planks it stands: Wood:1 for the dark planks. Is it something that you can fix or is it something impossible?
     
  21. Offline

    Acrobot

  22. But I mean like this. If I take and sell Brich planks it stands Wood:2. It would be better if it stands Brich Wood. Like I said before. Is it something that you can change or is it a impossible thing?
     
  23. Offline

    Calebh1127

    Does ChestShop work with BOSEconomy?
    Because iConomy is INACTIVE...
     
  24. Offline

    Acrobot

    HerobrineLivesHere
    As far as I can remember, "Birch wood" worked fine. Do /iteminfo - it will tell you the item name you can put on the sign.

    Calebh1127
    Yes.
    "Requirements:
    - Minecraft server that runs CraftBukkit
    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco."

    You can also run any other plugin supported by Vault.

    Also, iConomy works fine, but I'd recommend to phase it out - it's not updated anymore, so if anything breaks, it won't work.
     
  25. Ok. Let me explain one more time. When I make a shop and put the birch wood ID and when I press done it turns into Wood:2. And I really don't like that. And if I take Birch Wood it turns into Brich Wood Stairs. And if I take Redwood it only turns into Wood. And I thinked it should stand like Brich Wood instead of Wood:2. That is what I mean.
     
  26. Offline

    Epics

    http://dev.bukkit.org/server-mods/odditem/
    Use it, love it.
     
  27. Offline

    goldminerpeter

    Another trouble here.
    When I type in THIS:

    Admin Shop
    12
    B 5
    Cooked Porkchop
    It said:​
    [Shop]Invalid ID name!​
     
  28. Offline

    LordMarkXD

    How do you setup the Website statistics page? Do you have to already have a website and knowledge of PHP, HTML etc. ? :confused:
     
  29. Offline

    LordMarkXD


    Try putting 320 or Grilled Pork instead of Cooked Porkchop
     
  30. Offline

    mrlala1

    i get what Herobrine was saying, i actually come here to ask something similar. on the sign wher ei put the item ID i put redwood log. upon pressing done the bottom line on the sign now says "log". is there any way you could change it to where it says redwood log/birch log/oak log/jungle log/ etc?
     

Share This Page