[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

    fofos

    NEED HELP ! why do my players always have to relogg to see that item what they had bought ? Just the Players !!! If you are an Admin you get it with out an relogg !


    can sb help me . D ?
     
  3. Offline

    Arjan

    How can i set it like they buy 2 wood for 1 coin and they sell 2 wood for 1 coin? i tested these:
    1
    2:2
    5
    and:
    2
    2:2
    5
    both didnt't work and i tried many more plz send me the way?
     
  4. Offline

    Flenix

    Craftbukkit 612
    ICS Version: 2.11
    ICS Config: (Haven't touched it) : http://pastebin.com/G4LFBzA3
    Iconomy Version: 4.65
    Permissions Config: http://pastebin.com/Fj2tyg6X
    The notes at the top of Permissions are to the other admin, explaining how to set new people up for Races :p
     
  5. Offline

    PatrickFreed

    upgrade to cb617 and try it then ;)
     
  6. Offline

    Deadlystrike

    how to i use like $5.33 on the sign
     
  7. Offline

    Flenix


    I tried 617 a couple of days ago (didn't test this mod then) and it went really buggy on our server.
    I think I'll wait until this is updated to next recommended build, and then I'll get both :)
     
  8. Offline

    Acrobot

    @RustyDagger
    It's not inefficent, it shouldn't affect the performance, because it only uses onCommand, it doesn't hook to other things. Anyway, I'll make something so it won't depend on other plugins.

    @Flenix
    I have tested it on 617 and 670 - works.
     
  9. Offline

    RustyDagger

    Thanks would be handy Its bad to have unnecessary dependencies only makes update time worse Example commandbook,world edit,worldguard and craftbook can be a pain if 1 is updated and not the other find your self waiting 4x longer for the 1 plugin that you really need cause your depending on the cosmetic plugins that are not needed for day to day function.

    EDIT also what is the go with the shift and the left click not working to sell items Do i need to turn selling off for that to work or what cause selling is turned on and the players have permission and it dont work have to use /sell first :/
     
  10. Offline

    Acrobot

    @RustyDagger
    I'm now making security bugfix.
    Also, the shift and left click is for destroying the sign, if the sneakMode is turned on.
    If sneakMode is turned on, left-clicking the sign sells the item you're holding in hand.
     
  11. Offline

    solidsnake916

    @Acrobot i think you missed my bug. When trying to sell mob_spawner, from the list of availabe items, and or the id. it makes it all capslock like it found it, than i try to buy it, and it fails. Also i have Creaturebox 0.70 installed, i uninstalled it, and still has issue with mob_spawner.
     
  12. Offline

    Acrobot

  13. Offline

    PatrickFreed

    @Acrobot
    does 2.11 fix the bug where everyone can make anyone's shop, including admin shops?
     
  14. Offline

    Acrobot

    @solidsnake916
    Can't reproduce this bug with the newest version I will upload soon.

    @PatrickFreed
    I couldn't reproduce it, but try the version I'll upload soon.
     
  15. Offline

    solidsnake916

    Ok, thanks, because im trying to sell CreatureBox Spawners, with the Chestshop setup like this.


    Code:
    Blank
    1
    10:5
    MOB_SPAWNER
    
    That failed.
     
  16. Offline

    Acrobot

    @solidsnake916
    I'll make a video for you...
    Please wait a while
     
  17. Offline

    Virtlink

    I am sorry to bother you, but did you by any chance read my
    feature request?
     
  18. Offline

    Acrobot

    @Virtlink
    Sure :)
    I just had no time to respond.
    I'll consider it, because it seems really nice :)
     
  19. Offline

    yottabyte

    Sign only fits 14 characters. What about our users with 14 characters? Running 2.01 and this doesn't seem to work
     
  20. Offline

    Acrobot

  21. Offline

    PatrickFreed

    @yottabyte

    If you use odditem you could shorten the alias ;)
     
  22. Offline

    Acrobot

  23. Offline

    solidsnake916

    @Acrobot I set it like this now.
    Code:
    BLANK
    0
    1:1
    MOB_SPAWNER
    If i put Amount 1 like it should be, it says Shop is out of stock...
    If i put Amount 0, it gives fake mob spawners.
    I'm using Creaturebox 0.7.0, and ChestShop Build when it said B617 in title. Also using Bukkit 617!

    Could that be an issue, everything else works but mob_spawners... i dont think i need a video..
     
  24. Offline

    killerbeez

    I know tradecraft had a nickname option, where you could use a longer name but someone could use a shorter version of it. Kinda like the /tp command can use half a name and know who to get.
     
  25. Offline

    yottabyte

  26. Offline

    BioRage

    @Acrobot

    Did you get a chance to look at my request?
    Thanks.
     
  27. Offline

    solidsnake916

    @Acrobot i did what you did in the video and i typed mob spawner, still says out of stock. even though theres one there...i'll suggest the owner to update to the 670 build of this plugin, it will work on bukkit 617 right?
     
  28. Offline

    RustyDagger

    What you just said is confusing cause its hard to tell if you mean the setting or the key.

    Atm I'm sure the setting is turned on but no combination of holding an item and left clicking sells a dam thing holding shift or not holding shift the only way i can sell my items to a shop is to type /sell then hit it...
     
  29. Offline

    solidsnake916

    @Acrobot I got it working with the new version 670, on bukkit 617, and it doesn't keep the properties of the mob spawner, it buys, but when i place it, it becomes a pig spawner. if it was a zombie spawner, from creature box. can you add support for that plugin?
     
  30. Offline

    MaMaxGER

    The Lagune German dont works
     

Share This Page