[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


    Thaaank you so much :)
  3. Offline


    Does anyone possibly have ChestShop for #1185? Or is there any official page for old versions?

    I'd really appreciate it - Thanks!
  4. Offline


    Vision likes this.
  5. Offline


    I have got a problem with this plugin. When I would like sell item, I write


    This command doesn't work :eek:
  6. Offline


    This is not a global shop, it's a chest shop. To sell, simply left-click on the shop sign that allows selling to it.
  7. @Acrobot
    If you're here: what does WorldGuard support? Only members/owners are able to buy/sell?
  8. Offline


    Nope, just blocking shop creation when there's no region defined.
  9. Hm... Very useful, because many noobs build a shop and then griefers destroy it = it looks terrible and noobs are worried
    Could you add an option that users can build shops only in a specific region(s)? Because we have a trade center and nobody uses it :/ :D
  10. Offline


    Is there a way to modify the signs externaly? like is it stored in a database anywhere?
  11. Offline


    I thought this plugin was going to be gay... BUT!!! It is the best shop plugin i have ever used! Thanks to you i have a shop for my server at the spawn and it s a super Bad Ass shop! Thanks to this plugin... At first i was like its not bad then i found out 'bout the AdminShop's and i use that for my town shop! Thanks SOOOO Much for this plugin!! Your the best! :D
  12. Offline


    Yeah I was thinking about it.

    Nope - at least in ChestShop 3, which is not modular. In ChestShop 4, you will be able to make your own module, which will save the signs to the database, and you'll be able to change it. ChestShop 4 is at the moment at planning stage.

    Haha, thanks :)
  13. Offline


    Player can't use sell or buy in shop. Left mouse button doesn't work, permissions are good...
    Oping player can sell or buy... but normal not.
  14. Offline


    I'm not sure if it's already been mentioned, but it would be great if players could "link" signs to chests. ie A player could link a normal chestshop sign to a chest back at his house so that the chest would take up space (and so that signs could be placed next to each other etc. If you did this, it would probably be best if players could store multiple items in a chest that that multiple types of linked signs could draw from.

    ALSO, this feature is probably the one most people want:
    Adding a "stock" count on the sign. So if the shop was selling 5 REDSTONE at 16 dollars and there was 12 left in stock the sign would look like

    5 : 12
    B 16

    It would be even neater if you included colors, so if it had enough stock to buy from it would be green (the 12) and if there wasn't enough it would be red.

    I haven't posted on this thread before, so I'd like to thank you for this great plugin!
  15. Offline


    I have a major problem where everyone can create shops.

    I added ChestShop.shop.create: false in permissionBukkit for the Default Rank, and they can still make it. Somehow when i try to make it, It wont let me, and i thought because i cant do it as a "Default" rank, nobody else can, but People who are in the Default rank can still make Chest Shops, but When i test it as a Default rank i cant! -.-
  16. Offline


    Go to bukkit.yml, change spawn-radius to 0

    That's a PermissionsBukkit problem, you should probably ask them in their thread.

    Yeah - but this isn't possible atm, I'll do it in ChestShop 4. Nevertheless, thanks for suggestions!
  17. Offline


    I apologize if this has been asked before, but I was not able to locate the answer I was looking for elsewhere. I am still new to this whole server/plugin system, so any help would be appreciated.

    I run a small server for me and my friends. We have decided to look into an economy plugin to make things more interesting. All reviews I have seen said iConomy is the way to go. However, so far as I can tell, iConomy is only for CraftBukkit 1060. There is nothing for Minecraft 1.8.1 yet. Last update was 20th Sept.

    So, my three questions are:
    1) is there an iConomy update I haven't been able to locate yet?

    2) What is a good Permissions plugin with detailed info on how to set it up, maybe a good wiki to go with it?

    3) or is there a way to get around it all with just this plugin?
    An Idea was posed on another forum that I decided I liked, A LOT! Using Iron Bars, Gold Bars, and Diamonds AS the currency. It would be strictly inventory managed, no wallet or money trackers needed. If I wanted to do that with this plugin, could I simply list 1 Gold Bar as the price for an item? Is something like that possible? Maybe some sort of config file that lists currency Items (modifiable) and their abbreviation (i.e. Item: Gold Bar; Abbreviation: "G"; Value: 10 Iron Bars ---- Allowing a sign that said "B 1G: 5I S" for the price line). Just a thought.
  18. @mypetsquirrel
    iConomy 6 is for 1.8.1 - works fine for me.
    PermissionsEX is a very good plugin with many options and helpful wiki.

    3) Is a good idea. But to let more space for names that should look so:

    Buy 14 Cobblestone for 7 Stone or Sell 7 Stone for 14 Cobblestone. Pretty much code, Acrobot, heh:p?
    And users need less place for items. And I think price "free" won't be avaible because it doesn't anything or is just stupid.
  19. Offline


    Yep, @VADemon said.
    And no, the gold ones is not possible. But you can make just an admin shop that exchanges gold for iConomy money and back.
    Or you can use MultiCurrency, where you can define a currency in gold - and you'll be able to just use iron bars, gold bars and diamonds for currency.

    Free actually is nice for donation chests.
    And I really like the simplicity - so red amount would mean none left, green amount - there is left.
  20. Offline


    I apologize if it has been askes yet: I´m using PermissionsEx and gave my users the permission chestshop.shop.*, but they can neither create a shop nor sell/buy any items from/to an admin shop.
  21. Offline


    case matters. I'll probably make it also lowe-case-compatible though :p
  22. @Acrobot
    I know that's a donatation, but this shouldn't work with shops that sell items for items. (See idea 3.)
    How want you implement colors? Don't you need another plugin or an own sign-color-system if you want to use "&1" etc. ? Or you want to try it with the section sign?
  23. Offline


    ah...I never had problems with case sensitive in permissions ^^
    thanks, now it works :D
  24. Offline


    @Acrobot - by chance are you keeping chunks loaded in?
    Trying to squash some issues here... heh
  25. Offline


    @Acrobot I cannot create a chestshop I am an op with all premissions. Whenever I create a shop I can't buy/sell from/to it. Other players cannot ethier. Premissions Plugin: PremissionEx BukkitVersion: 1317 Chestshop version: 3.24 The Sign is directly above the chest the sign says: (Line 1) 64 (Line 2) B: 10 (Line 3) 364
  26. Offline


    Nah, why? Colors on the sign is like colors in the chat - it's no problem. The only problem is it takes 2 characters on the sign.
    And no, I'd rather use MultiCurrency for that - you can exactly declare "gold" currency, which will use gold ingots/whatever.
    Nope - ChestShop works only on PLAYER_INTERACT and block destroying things. So no, I don't keep the chunks loaded. But if I were you, I'd remove all boats/minecarts.

    If you have only buy price or sell price, you MUSTN'T put : there.
    ":" is a separator between buy price and sell one.
    Just do
    B 10
  27. @Acrobot
    Then, I think, the color should be in the 2nd line if in the first line is no place for colors (so first check if in the 1st line is enough place, if isn't then make the 2nd line colored.)
    Because no chest or invertory have 123456789101315 slots. So the 2nd line MUST have enough place. Even if you write empty at the end:
    Admin Shop
    1111111 &2EMPTY

    UPD: Heh, of course it should be red. I think one more letter can't hurt: ENOUGH/EMPTY
  28. Offline


    Yeah - I meant to do the color on the 2nd line, as I said here:
    "red amount would mean none left, green amount - there is left."
    Simple, and even better than the text feature.
  29. Heh, I should sleep or play stupid games, so I won't be able to misunderstand someone :D
  30. Offline


    Hah, happens to me too, sometimes.
  31. Offline


    Ok, I did that. Do I restart the server for the shop to work?

Share This Page