[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


    permissions updated to the max.
    bukkit 1060
    chestshop 3.02
    iConomy updated to the max

    no one can build shop (only admins can), they get: you cant create this type of shop.
    when they want to buy/sell: you dont have permissions to do that.
    i gave them chestshop.shop.* and chestshop.shop.buy/sell/create.
    no idea whats wrong :D
  3. Offline


    What are good prices for nether items? (Netherrack, Glowstone, Soul Sand)
  4. Offline


    It really depends on your server.
    If you have nether worlds, then IMHO Netherrack should be worth little more than smooth stone, Glowstone is rare - it should be +- price of Gold, Sould Sand is less rare - iron price.

    It is case-sensitive
    You need to give them
  5. Offline


    There is no Nether in my server cause of lag
    And lots of peole want glowstone and Netherrack and normally you can't get it
  6. Offline


    I have a problem that my users can buy but cant sell. I have given them the permissions :
    - ChestShop.shop.create
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    I cant see a problem myself but if anyone knows a fix that would be great :D There is no error coming up just simply blank when they left click.
  7. Offline


    Oh, so they are very rare - I would price it higher than mossy cobble.
    Soul sand worth the least
    Netherrack in the middle
    Glowstone worth the most

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


    @Acrobot Thank you so much for your quick response and your solution. It may have took me a while to get around to posting on here but i know to do it in future. :p
  9. Offline


  10. Offline


    I was to lazy to type that :D
    i thought i wrote ChestShop in my permissions but i didnt so your comment helped me alot :D thx
  11. Offline


    Every time i put this into my plugins it tells me BLOCK_PISTON_EXTENT

    Please advise!
  12. Offline


    kk thx
  13. Offline


    fyi r u just answer comments here all the time :p? quite boring ehh?
  14. Offline


    can you make it so it shows the stock in the chest
  15. Offline


    Yeah, I try to answer most of them.

    How? Where should I put this info?

    Probably a bug in CraftBukkit, but which version are you using?
  16. Offline


    please add support for iconomy 6 because players can't buy or sell after typing /money chestshop just stop working (no error msg) and you need to reconnect to fix that.

    weird thing is they can buy stuff BEFORE typing /money but they don't get charged at all.

    will stick to iconomy 5 now but the bad thing is its not really compatible with some plugins and cause errors after 10 hours of server uptime.
  17. Offline


    It IS a problem with iConomy 6. I use Register - the iConomy 6 part was made by Nijikokun - iCo6 dev.
  18. Offline


    If somebody from my server will buy something, it says: You don't have money !!

    What is the Problem ?!?!

    Help please


    Visit: www.youtube.com/InspectorGamer
  19. Offline


    When my players try to buy or sell diamonds from other players they tell that in shop no items for sell or player does not have items, but admin shop work fine with diamonds. Other items in player shops work fine. Pls help me! CB1060. In cmd no errors.

    My plugins:
    AutoMessage, Backup, BananaChunk, BananaPortal, BigBrother, BorderGuard, ChestShop, CommandBook, DailyBonus, FalseBookBlock, FalseBookCart, FalseBookChat, FalseBookCore, FalseBookExtra, FalseBookIC, GravelClay, HeroicDeath, iConomy, LyTreeHelper, milkAdmin, MinecraftViewer, MultiHome, MyWarp, nSpleef, obuShutTheHellUp, Permissions, PermissionsSql, PvPReward, RawcriticsOreObfuscationPlugin, Reservations, SimpleRestart, VanishNoPickup, VoxelSniper, WorldEdit, WorldGuard, xAuth, dynmap, iChat, Factions, LWC, MobArena, NoCheat, properTime

    My config:
    #Preferred economy plugin (iConomy, BOSEconomy, Essentials). If you do not want to specify this, leave it blank.
    #If true, people will buy with left-click and sell with right-click.
    #Economy account's name you want Admin Shops to be assigned to
    ADMIN_SHOP_NAME: "Admin Shop"
    #First line of your admin shop should look like this
    #Amount of money player must pay to create a shop
    LOG_TO_FILE: false
    #If true, plugin will log transactions in its own file
    LOG_TO_CONSOLE: false
    #Do you want ChestShop's messages to show up in console?
    LOG_TO_DATABASE: false
    #If true, plugin will log transactions in EBean database
    #If true, plugin will generate shop statistics webpage.
    STATISTICS_PAGE_PATH: "plugins/ChestShop/website.html"
    #Where should your generated website be saved?
    #How long should transaction information be stored?
    #How often should the website be generated?
    #Do you want to use built-in protection against chest destruction?
    #Do you want to protect shop chests with LWC?
    #Do you want to protect shop signs with LWC?
    #Do you want to mask shop chests as other blocks? HIGHLY EXPERIMENTAL, CAN LAG!
    #Do you want to show "Out of stock" messages?
    #Do you want to show "You bought/sold... " messages?
    #Do you want to show "Somebody bought/sold... " messages?
  20. Offline


    What is on the sign?
  21. Offline


    ok there will be a sign on top of the store and it says the stock like u can do [stock] or you can do /stock and click he sign but i will lokeit if it was ontop of the shop
  22. Offline


    /stock would be easy to implement :)
  23. Offline


    B 150:70 S

    I try type Diamonds in the 4 line but it does not help. And try to remove protection.
  24. Offline


    Please download TeamViewer (if you don't have it), and PM me your ID/PW :)
    Jokaru likes this.
  25. Offline


    well ok but all be in russian i join the game and open all server folders
  26. Offline


    Thats be awesome, when you join shop dont buy or sell diamond, but i type /i 264 64 and try to sell and its work. May be som lag with territory in Factions like with spawn? Thank you friend!!!!
  27. Offline


    Jokaru likes this.
  28. Offline


    ok so yea that will be asome when will it come
  29. Offline


  30. Offline


    And again THX you VERY MUCH FRIEND!
  31. Offline


    2011-09-03 20:23:34 [SEVERE] Could not pass event BLOCK_PISTON_RETRACT to ChestShop
    java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
        at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
        at org.bukkit.event.block.BlockPistonRetractEvent.getRetractLocation(BlockPistonRetractEvent.java:18)
        at com.Acrobot.ChestShop.Listeners.blockBreak.onBlockPistonRetract(blockBreak.java:45)
        at org.bukkit.plugin.java.JavaPluginLoader$42.execute(JavaPluginLoader.java:533)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.World.update(World.java:407)
        at net.minecraft.server.World.setTypeId(World.java:379)
        at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:146)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:438)
        at net.minecraft.server.World.update(World.java:407)
        at net.minecraft.server.World.setTypeId(World.java:379)
        at net.minecraft.server.BlockPiston.a(BlockPiston.java:143)
        at net.minecraft.server.World.playNote(World.java:2303)
        at net.minecraft.server.WorldServer.playNote(WorldServer.java:162)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:93)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:436)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:438)
        at net.minecraft.server.World.update(World.java:407)
        at net.minecraft.server.World.setTypeIdAndData(World.java:391)
        at net.minecraft.server.BlockDiode.a(SourceFile:65)
        at net.minecraft.server.World.a(World.java:1997)
        at net.minecraft.server.World.doTick(World.java:1736)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:444)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Tell me if you need plugins running

Share This Page