[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

    MrMan8080

    Try typing Iron Ingot on the sign and see if thaat works
     
  3. Offline

    Brutal_deluxe

    same problem here and same config, i dont want to lose this plugin
    help us ;)
     
  4. Offline

    Acrobot

    @MrMan8080
    Hey :)
    That post was from 13 February, since then I have fixed this bug :)

    @Brutal_deluxe
    I will fix that tomorrow, however it isn't that much of a bug - it just gives an error, doesn't affect anything, but I am on holidays 'till tomorrow - I can't fix it now.
     
  5. Offline

    Diagonalspoon

    Ive just switched over to permissionsex, Is this supported in this plugin?
     
    Kane likes this.
  6. Offline

    Sniper3

    The sticky piston and sign bug doesn't just output that error, it crashes the server.
     
    Kane likes this.
  7. Offline

    Acrobot

    @Sniper3
    OH WOW. I am really sorry, I'll fix it as soon as I get home - tomorrow :/
    You can use iConomyChestShop till then.
    @Diagonalspoon
    Yes, I believe it is.
     
  8. Offline

    Diagonalspoon

    Gah, Okay then it seems I have a problem, Ops can buy from the shops but anyone who isnt an op cannot buy from the shop saying "they do not have permission to buy from this shop" I am running craftbukkit B1060 and I have tried it away from spawn in places that aint under worldguard protection. I am thinking it may be conflicting with one of my other plugins heres the list:

    Show Spoiler
    BananaChunk, ChestShop, DailyBonus, Essentials, EssentialsProtect, EssentialsSpawn, HeroicDeath, iConomy, LazyRoad, Log, mcbans, MineBackup, MinecartManiaCore, nChat, PermissionsEx, Stargate, Turnstile, WorldEdit, WorldGuard, Permissions, SimpleRestart, Citizens, dynmap, LWC, NoRegen
     
  9. Offline

    Kane

    works fine here besides them sticky sticky pistons :p
     
  10. Offline

    Temaska

  11. Offline

    Acrobot

    @Diagonalspoon
    Did you give them ChestShop.shop.* permission?

    @Kane
    I'm sorry :( I feel bad :(
     
    Kane likes this.
  12. Offline

    Acrobot

  13. Offline

    Temaska

    @Acrobot
    :rolleyes: Your are welcome.
    If you need a description of the last two bugfixes - you can contact ;)
     
  14. Offline

    Acrobot

    @Temaska
    Sure - PM me about the last one, because you told me how to fix the previous one already :)
    I am now putting you in the Credits for your help :)
     
  15. Offline

    GordonGrey

    @Acrobot

    Looking forward to an update with the unstackbles "fix" ;)
     
  16. Offline

    Acrobot

    @GordonGrey
    Soon :)
    Yeah, I am returning home today (01:17 here) :)
     
  17. Offline

    Kane

    woot :)
     
  18. Offline

    Kane

    @Acrobot

    Also another bug when fixing things. Your protection system prevents from breaking blocks. But you forgot to prevent blocks from being placed. Example from a admin super shop that I use as a ATM machine:

    [​IMG]
     
  19. While you are at it, dont suppose you want to fix the bug that makes it so you dont get more items then 64 when buying 65 or higher? I have shops that trades in 100 and 1000 items. Alot of money gets lost when using them.
     
  20. Offline

    Kane

    oh yeah that is a nasty bug too.
     
  21. Offline

    Salt

    - CraftBukkit version (type /version in chat) 1060
    - ChestShop version (type /csversion in chat) Your most recent one
    - Your economy plugin (iConomy? BOSEconomy? other one?) IConomy
    - Have you got any Permission plugin? Which one? PermissionsBukkit
    Everytime I try to create a player shop or a admin shop I get [Permissions] You cant make this type of shop. I added the permissions to the config in permissionbukkit and no matter what i do it still wont work.
     
  22. Offline

    Dysp

    Does this work with factions?

    People cannot shop within faction areas. Is this fixable, or do we need to just bypass it somehow?
     
  23. Offline

    Anton1453

    i need help form some one that can tell me what im doing wrong or what to do

    i have iconomy installed on my server and essentials
    and ofc iconomy chest shop

    when i got my adminshop up its telling me seller has out of money

    ... but its an adminshop dont they have infane money?

    mabye i have got it wrong becus the iconomy money is not in use its only essentials own money that works...
    is it any file i can change or do i need to remove something please help me as soon as you...or any one can :D
     
  24. Offline

    Acrobot

    OKAY, I'M BACK HOME. Now, bug fixing time!

    @Kane
    I wanted to improve this system so it doesn't protect those blocks.

    @Sorken
    I'll fix that.

    @Salt
    Did you add ChestShop.shop.*?
    Please don't say "The most recent one" when I ask for the version - it's there for a reason. :)

    @Dysp
    The faction plugin CAN'T block ChestShops o.0

    @Anton1453
    Try ChestShop 3 (the newest version) - it fixes many, many bugs.
     
    Anton1453 likes this.
  25. Offline

    Dysp

    @ Acrobot - Thank you for your replay. It was fixed when fixing spawn-protection.
     
  26. Offline

    Ifoundwaldo

    - CraftBukkit version 1060
    - ChestShop version 3.01
    - Your economy plugin iConomy
    - Have you got any Permission plugin? Latest version of permissions (3.1.6)
    Everytime I load it up permissions just stops working. Some access error I think is what it said
     
  27. Offline

    Acrobot

    @Ifoundwaldo
    Can you post the error on pastebin.com and link me to it?
     
  28. Offline

    melmunda

    Hello, i have some problem. I make admin shop and I can sell and buy items, buy normal player can only buy. In permission its look like this:

     
  29. Offline

    Acrobot

    @melmunda
    Hi :)
    It's spawn protection, go to bukkit.yml and change spawn-radius: 0

    :)

    Siema :)
    To spawn protection, wejdz w bukkit.yml i zmien spawn-radius na 0 :)
     
  30. Offline

    Valiant

    Code:
    reverseButtons: false
    sell: true
    distance: 3
    position: 'ANY'
    protection: true 
    Users are placing signs 3 blocks above the chest. But it keeps saying it can't find it. Is my "position" variable incorrect?
     
  31. Offline

    Acrobot

    @Valiant
    IIRC, distance and position "ANY" don't work together.

    BTW, you are using an old plugin version, also, in the new version, there is no "distance" yet.
     

Share This Page