[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

    arnie231

    need abit of help i keep gettting this error and dunno if its permissions or chest shop

    ive change the permnodes to chestshop.shop* but ppl can use the shop just getting this error on console
    http://pastebin.com/GfShw21v
     
  3. Offline

    Acrobot

    @arnie231
    That means your Permissions is corrupted. Be sure to re-download Permissions version 3.
     
  4. Offline

    Costan Balgobin

    When using this plugin there is a problem when default players are setting up the shop. It says "You can't create this type of shop". what does this mean and how do i fix it?
     
  5. Offline

    Acrobot

    @Costan Balgobin
    It means you don't have Permissions configured.
    If you have ChestShop, add ChestShop.shop.* to your Permissions config.
    If you have iConomyChestShop, add:
    Code:
    iConomyChestShop.shop.buy
    iConomyChestShop.shop.sell
    iConomyChestShop.shop.create
    
     
  6. Offline

    arnie231

    thanks that means to have fixed everything will test more tho :D btw AWESOME PLUGIN if my server gets some more donation will be sure to send some your way ;)
     
  7. Offline

    vinni96

    'iConomyChestShop.shop.use' doesn't work for my users, Permissions is working !
     
  8. Offline

    Acrobot

    @vinni96
    It's iConomyChestShop.shop.create, iConomyChestShop.shop.buy and iConomyChestShop.shop.sell
     
  9. Offline

    Connor Mackay

    I am running bukkit with essentials. My server still own't acknowledge the plugin. Im on the beta 7, I copied the plugin files and have iConomy
     
  10. Offline

    Matt Gill

    For some reason when I make an AdminShop just like this:
    Code:
    AdminShop
    1
    0:100
    GOLD_INGOT
    
    It say's the seller doesn't have enough money. I thought Admin shops don't require money? Any help here?
     
  11. Offline

    Felonu

    It might be a problem that your setup sells for 0 first number is cost to buy so 0 might error out. Was this intended so people can get free items and sell them?
     
  12. Offline

    Matt Gill

    No selling is on the right. Buy on the left. I have been using GoldStandards so people could exchange 1 gold bar for $100, but for some reason it just stopped working. I couldn't find a solution so I just decided to make an adminshop to buy gold ingots from players. Then i bumped into this problem.
     
  13. Offline

    Acrobot

    @Matt Gill
    Hmm? That's weird, you're not even making a shop that sells items. Well, check your "serverAccountName" in config, however I reccomend that you just use the beta one :)

    @Connor Mackay
    Do you get any errors?
     
  14. Offline

    Matt Gill

    Oh ok i didn't know I had to set the name. So how is the 3.0 beta different from 2.x and is it stable?

    Also can I suggest using this for the admin shops info. The one you have is a bit lacking and is why I got confused.
    Admin shops (open)

    1. First search the config (ctrl+f) for "serverAccountName"
    2. Set it to anything you would like. This is what I use on my server: serverAccountName: "AdminShop"
    3. Now in order to make a shop you must get a sign and enter this into it:

    Code:
    Line 1: AdminShop    (Unless you set a different name)
    Line 2:     1        (This is the amount of items. It can be any amount)
    Line 3:   0:100      (These are the buy and sell amounts default: buy on left sell on right. A B and S attach to the side)
    Line 4: Gold_ingot   (The item the player will buy/sell. It can be a Item ID or name.
    
    Admin shops do not require a chest.
    You can do this only is you are admin (You have admin Permission node or if you don't use Permissions, you're an op)
    If you have an account with this name, shop's account will be used for transaction
    Economy plugins don't like spaces in name, so be sure to name the shop without spaces!
     
  15. can i limit the shops for that user can open only 6
     
  16. Offline

    Acrobot

    @Matt Gill
    It doesn't work like that.
    serverAccountName is the name of ECONOMY account for admin shops. If you do not need this, just change it to "".
     
  17. Offline

    calvri

    [​IMG]
    Help me this is what happens when my member creates or tries to buy/sell from a shop
    [​IMG]
     
  18. Offline

    calvri

    Can anyone help me out on my problem :(
     
  19. use chestshop beta 3 und use to permission chestshop not iconomy chestshop
     
  20. Offline

    Acrobot

    @calvri
    Delete those
    'iConomyChestShop.shop.create.<id>'
    and
    'iConomyChestShop.shop.exclude.<id>'
    and
    'iConomyChestShop.shop.use'
     
  21. @Acrobot
    can i limit the shops for user can open only 6 shops not more?
     
  22. Offline

    Acrobot

  23. oh camming soon??
     
  24. Offline

    Acrobot

  25. very god i hope the update coming soon
     
  26. Offline

    calvri

    It still doesn't work, when I create a shop my members can't buy or sell
    or create a chestshop. I removed those 3 nodes and tried but didnt work
     
  27. Offline

    Acrobot

    @calvri
    This sounds like it's a ChestShop (So version 3 of iConomyChestShop)
    Just remove all your nodes and add ChestShop.shop.*
     
  28. Offline

    calvri

    Thank you, is there a way to allow players to make shops only on plots that have to be bought?
    PS: I want players to not make shops anywhere else besides the plots.
     
  29. Offline

    Acrobot

    @calvri
    Wow, hmm... If they do not have Permissions to build outside, they can't create shops then. But no, you can't restrict where the shops can be placed, unless cuboid management is natively in CraftBukkit :/
     
  30. Offline

    thefoxygranpa

    Acrobot, what's the poossibility of limiting shops being created within certain coordinates?

    I have a trade city, but don't want users creating shop signs outside of it, is there a feature that would already accomplish this?

    EDIT: rats, it looks like you answered my question above......support worldguard for cuboid management ;) ?
     
  31. Offline

    Gamerz1996

    everyrestart from my server cam the message:

    2011-07-06 10:57:43 [SEVERE] Could not load 'plugins/iConomyChestShop.jar' in folder 'plugins':
    com.avaje.ebeaninternal.server.lib.sql.DataSourceException: java.sql.SQLException: Access denied for user 'ni15213_1_DB'@'localhost' (using password: YES)

    why? i redownloaded the file Icononmychestsjop.jar 10 times and get the setting of mysql and h2, but nothing!
    everytime this errormessage! please help me
     

Share This Page