[ECON] ChestShop 3.50 (iConomyChestShop) - Chest&sign shop for economy plugins [1.5.1]

Discussion in 'Plugin Releases' started by Acrobot, Feb 12, 2011.

     
  1. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)


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

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

    Bulgarian - Muff1Ncho
    Czech - LordPgsa
    Chinese (Simplified) - tab415263
    Danish - blasterweb
    Deutsch (newest) - xGhOsTkiLLeRx
    Dutch - marinus15
    French- Chbrams
    Hungarian - Anachen
    Italian - Massimo1993
    Korean - Zwing87
    Norwegian - _AlexN_ and TheUnkownGamer
    Polish - Holls1
    Portugese (Brasil) - FelipeMarques14
    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]

    This post has been edited 210 times. It was last edited by Acrobot May 15, 2013.
  2.  
  3. Offline

    Buckethead

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    oh ok
  4. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Nickshelton80
    Thanks for the feedback! I actually think of releasing 3.46 TEST VERSION, and then the official one :)
  5. Offline

    Nickshelton80

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll be sure to test that one as well :)
  6. Offline

    daboross

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can I use essentials economy with this plugin? I 'm not sure what vault is.
  7. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @daboross
    Yes, but you need "Vault" - it's a plugin that allows other plugins to hook into economy plugins.
  8. Offline

    ricardo42

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    At my server, everyone can take all the stuff out of the chests, without buying it.
    How do I solve this problem?

    CraftBukkit version git-Bukkit-1.2.5-R4.0-b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0)
    ChestShop's version is: 3.42
    I use economy
  9. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @ricardo42
    I don't know, unless you gave them ChestShop.admin permission/OP, then I have no idea. Do you get any errors in the console?
  10. Offline

    Emiloow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello Acrobot i really like the concept of chestshop, but im having trouble making it work on my server,

    we can buy and sell just fine. Thing is, our balance's arent getting update, when i buy from one, my own balance gets updated but his doesnt so i spend the money but instead of him getting them, they dissapear into nothing.

    so.
    A has 20$ B has 20$.
    A buys for 4$ from B
    A now has 16$ B still has 20$


    versions are
    git-Bukkit-1.2.5-R4.0-b2222jnks
    chestshop 3.42
    Using Essentials
    Essentials Group (permissions)

    This post has been edited 6 times. It was last edited by Emiloow Jul 6, 2012.
  11. Offline

    ricardo42

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Acrobot Ow, I see, everyone is OP because it's a server with friends. Thank!
  12. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Emiloow
    Hmm... This sounds like an Essentials problem. Are you using Vault? If not, install it please.

    @ricardo42
    Well, I'd use some kind of Permissions system even on a friends-only server :)
  13. Offline

    Emiloow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i figured it out, i had somehow been told that it didnt matter what i wrote in the first line on the sign, but now that i write the exact playername, the money goes the right place and not just into nothing and everything works as should :)
  14. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Emiloow
    Well, yeah :p
    It doesn't matter what you write in the first line UNLESS you're admin/OP :p

    If you ARE an admin/OP, you can type whatever name on the first line and the money will go to that account.

    Otherwise (if you are not an admin or you didn't write anything in the first line), ChestShop will auto-complete the first line with your name.
  15. Offline

    Emiloow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    allright, thank you :b now i understand.
  16. Offline

    leon01288

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Every time i try doing an admin shop for 98:0 ~ 98:3 it always sells the 98:3 brick
  17. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @leon01288
    Known issue, please search...
    This is fixed in the test version, and I'll be soon rolling out the official one.
  18. Offline

    leon01288

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ah i did look via page but since you don't have a known bugs on the start area its hard to find stuff about bugs since you have over 200+ pages
  19. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  20. Offline

    ~Alex

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What is the texturepack in the picture
  21. Offline

    [AFA]Archer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello,

    We've been using your plugin for quite a while now, and all of us really love it!

    However, I had a few request, if you would be willing to take any :p


    First one: Could you maybe make it possible for the shops to have co-owners? So for example 2 people can own a single chestshop and edit the contents of it. People will recieve split profit if somebody buys their goods then (50/50 for 2 people for example).

    Second one: We have a marketsystem on our server, with a big amount of space with preset sized plots dedicated for player-owned shops, but all those shops together seem to cause a lot of fps reduction, I went from 80 to something like 30 when walking around for example.

    Now for me it's not much of an issue, but for players with already low fps it can make going to the market a really annoying trip. Do you think there are any ways to fix this issue?


    I hope you'll look into these requests.

    -Archer6621

    This post has been edited 1 time. It was last edited by [AFA]Archer Jul 9, 2012.
  22. Offline

    Andreas Brisner

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok, I just removed chesthop.shop.buy and .sell from my users, but they still can buy?¨
    What gives? If I dont give them that permission it should be denied?!?
  23. Offline

    mcpixx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Every time I get this for my server, it never works, I've got it like 4 times already, do you know why?
  24. Offline

    mcpixx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You
    Don't need to protect, if it's a shop, you don't need to, although you could protect it using shD LINEop, like this:
    FIRST LINE: NAME
    SECOND LINE: AMOUNT
    THIRD LINE: B 99999999999999 (As much that fit)
    FOURTH LINE: Dirt (Or any object really, doesn't have to be what you keep in there, 'cause no one will be able to pay)
    And there!! Easy!
  25. Offline

    mcpixx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I meant: Don't need to protect, if it's a shop, you don't need to, although you could protect it using a shop, like this:
    FIRST LINE: NAME
    SECOND LINE: AMOUNT
    THIRD LINE: B 99999999999999 (As much that fit)
    FOURTH LINE: Dirt (Or any object really, doesn't have to be what you keep in there, 'cause no one will be able to pay)
    And there!! Easy!
    Lol ;)
  26. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @~Alex
    That was probably Default HD, but I don't remember - it's a screenshot of probably Beta 1.5 or something.

    @[AFA]Archer
    1 - something like that was planned, but I will start working on it when I get home, which will be probably around 30.07

    2- well, you can use OptiFine for that - here you can blame Notch for making sign rendering really, really cpu-heavy

    @Andreas Brisner
    Read the FAQ!

    @mcpixx
    Sorry, but I can't read minds. I don't know what you mean by "doesn't work".
  27. Offline

    mcpixx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, when I make a sign, it doesn't say "Shop successfully made!" and I don't know why, I put it on top of a chest and everything! :'(
  28. Offline

    Blatform

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello guys ... Sorry for my English, is google translator. I have a couple of problems with my new blocks. Basically I set bukkit with new blocks, chestshop wanted to try with these. I downloaded oddItem and I set the new blocks. When I write the sign (example):
    Blatform
    1
    B 1:1 S
    Copper

    I confirm it, and instead of seeing the name of the item, I see:
    Blatform
    1
    B 1:1 S
    X154

    But how is it possible? How can I fix it?

    P. S. = Even if I write in place of Copper, the id is the same thing.
  29. Offline

    Nerrion

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello.

    I don't want my regular members to be able to create a chestshop, but somehow they still can. How do I disable it for them? I gave the member group the negative (- -ChestShop.shop.create) node, but they're still able to create shops.
  30. Offline

    Andreas Brisner

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is whats really wrong with you devs, why cannot it be up to US to decide who gets this?
    Default should be false!

    Permission not given == Shouldnt work, entire purpose of having a permissions system..

    This post has been edited 1 time. It was last edited by Andreas Brisner Jul 12, 2012.
  31. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Andreas Brisner
    This is what's really wrong with you users. You don't fully understand why this decision was made, yet you still blame us for that.

    Blame Bukkit's SuperPerms system - I am only utilizing it.
    Imagine server without any permission plugin - there are some like these - if I hadn't set the "default: true", they wouldn't be able to use ChestShop at all.

    I agree, it's not the perfect solution - in Nijikokun's Permissions 1/2/3 times, you could simply check if the permission plugin was present and if not, you could enable default nodes. Now, you can't simply check for a permission plugin.

    @mcpixx
    Do you get any errors in the console?

    @Blatform
    I understand you. Well, honestly, I haven't used any item mods for a long time, so I couldn't tell that it was happening, however I will check that, thanks.

    @Nerrion
    I guess you're using PEX. PEX doesn't like standards, so to disable ChestShop creation, you should do -ChestShop.shop.create.* (with a ".*" at the end)
  32. Offline

    Blatform

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    Oh, fantastic! I will wait anxiously the release of bug fixes :)

Share This Page