[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


    An easy way to create shops - no protection plugin needed!
    You don't need to be on-line to earn money anymore!
    I've put a LOT of effort into making this plugin,
    you can donate if you appreciate my effort =)

    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    - 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

    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.

    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/

    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:

    (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:

    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:
    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)

    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)

    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)

    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?

    Changelog (open)

    Changelog can be found on BukkitDev - http://dev.bukkit.org/server-mods/chestshop/files/
  2. Offline


    There is no errors, could you paste your configuration on pastebin.com?
    Are you sure that there is enough whitespaces?
  3. Offline


    Would it be possible to add two new nodes :
  4. Offline


  5. Offline


    @Acrobot A player on my servers name is too long for the sign, when he logs out, his shop stops working, is there a way to fix this?
  6. Offline


  7. Offline


    Not YET.
    Yet is a keyword here - I am making it possible in near future update.
    Eh, Permissions configuration :p
  8. Offline


  9. Offline


    2 things:
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.create.<id>'
                - 'iConomyChestShop.shop.exclude.<id>'
                - 'iConomyChestShop.shop.buy' 
                - 'iConomyChestShop.shop.sell'
    In moderator, you can just do iConomyChestShop.shop.*, or even iConomyChestShop.*

    Also, do other Permission node for Citerzens work for you? For example, 'nSpleef.member.list'?
  10. Offline


    [permissions] You can't create a shop like that!
  11. Offline


    You didn't add

    (Depending on the version of the plugin, ChestShop is from version 3)

    to your Permissions file.
  12. Offline


    Where is that? My Permissions folder is empty.
  13. Offline


    yes nspleef work and such i just changed soemthing and now it will let poeple buy but not sell i am setting the signs up right but when they left click it says this is protected by a magical spell could this be LWC ?
  14. Offline


    This is weird...
    I added this stuff to storageconfig.yml and when I made a sign, nothing happens. The shop isn't created.
  15. I don't own the server so don't hold me to this:

    • I believe that we run the latest version of bukkit (I don't see why we wouldn't)
    • Have "Permissions" and "LWC" don't believe either of those two are the problem though
    • While trying to access the chest (Right click on chest) and remove the chest the console says, "[ChestMart] Don't try to remove" (Below that pops up saying Notice: That private chest is locke by you). When I left click on the sign the console says, "[ChestMart] The account: <owner> doesn't exist
    • If you need more info to help me solve my problem I will promptly get a hold of the server owner
    Let me start off by saying this is an awesome plug in and works fantastic....mostly. My name (Frightened_Panda) is one character too long to fit on one line of sign. When I go to make a sign to buy from (Correct order, line blank everything correct) and finish my name pops up on the top line as (Frightened_Panda) this is missing 1 character of my name. After when I go to put more items in that chest the console/chat says, "[ChestMart] Don't try to steal". In addition when I click on the sign the console/chat comes up saying, [ChestMart] The account: <owner> doesnt exist. Essentially my name being 1 character long has locked me out of my own store :'( This seems to be a problem with me only because there are multiple stores across the server I play on (All with owners who names fit on the first line). There is also one "main store" that is an Admin Shop. Thanks a million. Keep up the good work :)
  16. Offline


    Yeah, magical spell is LWC.

    If you have Permissions plugin version 3.0 - plugins/Permissions/your_world_name/
    You will find 2 files there.

    If you have Permissions plugin version lower than 3.0 - plugins/Permissions/your_world_name.yml

    If you don't have Permissions plugin, it will check if you're an OP and non-OP players will be granted all permissions other than admin one.

    Yeah, I am sorry :(
    I am working on this problem, you should probably see a working version in few days.

    Allright, I go to sleep.
  17. Offline


    Hmmm, what file do I edit? I edited the groups.yml file. Now, nothing is happening with the signs.
  18. Offline


    is that register bug fixed where you cant use this+another plugin using register at the same time fixed?
    also, you should give the translators credit in your op. if you did, id create the swedish translation
  19. Offline


    @Acrobot - found another exploit - I'll paste it once its typed up - or just join our IRC.

    "player breaks the block the chestshop sign is on, places a new block, puts a sign up with their name on it so the chest shop becomes theirs. They take all contents and remove the sign."
  20. Offline


  21. Offline

    City Builder

    No, no errors that I could see in the console.
  22. Offline


    For 1st issue - not possible, I mean, really - just try it by yourself.
    Second one - that's really weird. What exactly does "duping on me" mean?

    Register bug SHOULD be fixed in newest BETA.
    Also, I did credit them, but the list was long, even longer than half of the main post. Sorry :(
    I should do something like Translation - Player Name, or something.

    Groups.yml is used for groups, you should register the Permissions for Default group, etc.
  23. Offline


    @Acrobot - I think the duplicating bread/sign occurrence was in relation to bukkit - after updating to 885 - the issue is resolved.
    I do have hard logs from LogBlock that a certain user was making chestshops near other shops to steal from them. So the security isnt there if they can create a chestshop near it too. The user was banned for stealing from several hundreds of chestshops
  24. Offline


    Some there could explain what i do wrong? (with permissions)
            default: true
                build: true
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomyChestShop.*'
    Work (all thing worh with chest shop, buy sell,)

            default: true
                build: true
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomyChestShop.*'
                - '-iConomyChestShop.admin'
    Doesn't work (can't do any thing, with chest shop)

    What do i wrong?

    What i will do, are giving normal player, possible to use all permission without iConomyChestShop.admin
  25. Offline


    i meant like this
    http://dl.dropbox.com/u/11388037/french.txt - French @NameOfTheTranslator
    http://download676.mediafire.com/pmeo8dss21xg/2c1065xciso4byd/config.yml - Dutch @NameOfTheTranslator
    http://dl.dropbox.com/u/11388037/german.txt - Deutsch @NameOfTheTranslator
    http://dl.dropbox.com/u/11388037/config_polski.yml - Polish @NameOfTheTranslator
    http://www.text-upload.com/full.php?id=85714&c=6805959 - Czech @NameOfTheTranslator
    so with newest beta, do you mean 1.7 for minecraft or do you mean for the plugins? if so, is the newest beta out yet so i have a reason to use my iconomy cash?
  26. Offline


    Newest BETA of ChestShop, it's in the main post, just look :)

    Better give them
  27. Offline


    Something like:
            default: true
                build: true
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomyChestShop.shop.*'
                - 'iConomyChestShop.command.iteminfo'
    Doesn't work
    Edit: And it looks like i can use /iteminfo without iConomyChestShop.command.iteminfo why?
    Edit: And without - 'iConomyChestShop.command.iteminfo' it still not work...
  28. Offline


    Your Permissions are fine - be sure that you test it in Default group, and you're not OP.
  29. Offline


    But it doesn't work
    In my plugins/permissions/world/groups.yml i have:
            default: true
                build: true
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomyChestShop.shop.*'
    and in plugins/permissions/world/groups.yml i have:
            permissions: []
            groups: []
    Bukkit build 860
    Permissions version 3.1.5b
    other plugins:
    [INFO] Plugins: AutoRepair, iConomyChestShop, FalseBookIC, FalseBookCart, WorldEdit, WorldGuard, Permissions, FalseBookCore, FalseBookChat, Lockette, PermissionsSql, iConomy, FalseBookBlock, FalseBookExtra
  30. Offline


    Could you just delete whole users.yml file if it's not important?
  31. Offline


    Doesn't work :(

Share This Page