[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

    andriii25

    It's work with Bukkit 1.2.4 RB0.1???
     
  3. Offline

    Epics

    iConomy 6 acts weird with ChestShop and may cause the lagg, I'm not 100% about this but they aren't perfectly hooked.
    Also, I hope you know 800 = 0.8 seconds. Maybe try 2000 or something, although I use BOSEconomy with 100 interval and ChestShop without any lagg with a 50 slot server.

    Yes, it does.
     
  4. Offline

    Acrobot

    Gbagley2
    WingedSpear
    Are your people in creative mode?
    Are you sure that your economy plugin is working?

    Are you sure that your shop isn't inside spawn-radius? Go to bukkit.yml, change spawn-radius to 0.

    andriii25
    Yes, why don't you try it?

    Flash619
    Like VADemon said, you can't buy/sell to your own shop, it just opens the inventory for convenience :)

    Mrchasez
    Have you tried the iCo5 link I posted on BukkitDev?

    sticky55
    Potions, in Bukkit, haven't got names.
    They have data values, like wool etc.

    For example:

    Potion:8

    To find out potion's ID, do /iteminfo while holding the potion
     
  5. Offline

    Mrchasez

    Acrobot
    How can i convert my iConomy 6 to iConomy 5

    I cant have 50k Players lose there money.
     
  6. Offline

    Acrobot

    Mrchasez
    Hmm... It seems like you actually can't....
    Well, I have no idea, really. You should ask, for example, Nijikokun - I have no clue why your DB's performance is so bad.
     
  7. Mrchasez
    You should write a script that removes any data when player is more than 30 days offline. I don't think BOSEconomy is better - it doesn't even support MySQL.​
     
  8. Offline

    Mrchasez

    It's not just me.
    iCon 5 works great with Chestshop.
    Just iCon 6 don't, Its not our Db.

    Also, icon 6 use's a flatfile, and lots of servers are having the issues with iCon 6+ Chestshp
     
  9. Offline

    Acrobot

    Mrchasez
    Yeah, that's probably the issue - using a flatfile.

    It's not iCo6 + ChestShop, it's just new iCo6 that by default uses flatfiles, ergo it's slower.
     
  10. Ya everything its working, but i cant create the admin shop, tryed with creative and with out it, spawn radius 0, the name at /pl its not red, iconomy 6 for 1.2, also have another economy plugins and they work fine..., i think theres something wrong with this one, im not getting errors, i just set the sign and nothing happen..., i just need the plugin for let the players sell items for money and i cant find another one for do that =/
     
  11. hi guys i have a question

    if i create one shop for each player in spawn, this plugin can set permissions for only the owner can place chests inside? or need another plugin like residences for set individually permisions for each shop?

    thanks very much
     
  12. ne0x86
    The owners can fill chests then. You need to create extra wordguard regions for shops inside spawn (with priorities etc.)
    WingedSpear
    Try to set iConomy as prefered economy plugin in your config. (I think you need our help via teamviewer)
    If this won't help try to run a copy of the server only with permissions iconomy chestshop and vault plugins installed (minimum)
     
  13. Offline

    Acrobot

  14. Offline

    vanmc

    Is is possible to disable completely the default protection of the chestshop
    I tried doing this
    USE_BUILT_IN_PROTECTION: false
    #Do you want to use built-in protection against chest destruction?
    PROTECT_CHEST_WITH_LWC: true
    #Do you want to protect shop chests with LWC?
    PROTECT_SIGN_WITH_LWC: true

    on LWC I did make it that explosion is enabled
    so I was expecting it should destroy the chest along with the sign
    but what happen was it did not so I tried to disable all the protection on chestshop and so I ask another player to break the chest
    and it he was able to break but when I told him to break the sign it did not its like its protected no matter what.
     
  15. i cant change my econ plugin, my users have already money so..., and iCon6 its not broken cuz the old admin shops are working fine, i just removed one for change the price and now i cant place it, i have commandiconomy and it work, have buttonwarp with money and it work.

    i have a server of TeamSpeak, i have Ventrilo, Mumble, Skype, if any of those are enought for u to help me plz tell me, the ppl want to sell their iron and they cant...
     
  16. Offline

    Acrobot

    @ngedSpear
    Can you give me the IP to the server? I should be there in ~1 hour.
     
  17. SERVER.IGAMERS.ES , we speak spanish but i speak english so dont worry about that

    Solved, Tyvm VADemon and Acrobot for comming to my Server, actually i have no idea what happend but its already fixed, thx again =)
     
    Acrobot likes this.
  18. Well sometimes you have to do some things twice. And sometimes you need help but then the problem solves itself, strangely.
     
    WingedSpear and Acrobot like this.
  19. Offline

    aleco247


    Its iron_ingot or iron_block
     
  20. Offline

    lloyd204

    IM new and i was wondering after i copy the permition thing what do i do with it?
     
  21. Read the first post or watch tutorials
     
  22. Offline

    seanthesean

    When i try to buy and sell ores like diamond for instance it says you cannot buy hear , but everything else works fine.
     
  23. Offline

    painisgod

    ca
    n you make it functional in safezone please?:D
     
  24. Offline

    Acrobot

    painisgod
    What do you mean by "make it functional" and by "safezone"?
     
  25. Offline

    painisgod

    that you can buy from stores near spawn:p
     
  26. Offline

    Acrobot

    painisgod
    Well, you can already do that, why not?
     
  27. Offline

    Mozart07

    Video Tut in PL :)
    Please add me to first post ;)

     
  28. Offline

    Acrobot

  29. Offline

    A_Shy_Hyena

    My Chest shop won't work.
     

Share This Page