[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

    The_Minecast

    When I make a chest/Admin shop, everything works except for when I make either of the shops, right/left clicking the sign does nothing. I know that it isn't a plugin incompatibility, because I tried it on a server where the ONLY plugins were iConomy 6 and ChestShop. I had the latest version of CB. Help?

    (by the way: I did give myself TONS of money.)
     
  3. Offline

    DonutPlugins

    I will try re-doing the config, but it did not appear what so ever. no errors, not in the /plugins command.
     
  4. Offline

    rossistboss

    nice plugin makes transactions on my server easy
     
    Acrobot likes this.
  5. Offline

    firetailmadness

    where do i download it? plz tell me
     
  6. Offline

    firetailmadness

    oh nvm i feel like a dumbass now
     
  7. Offline

    Switch0r

    So the bug where they can make shops in every claimed plot is fixed in 3.39 with Towny 0.80.0.0?
     
  8. Offline

    Acrobot

    Switch0r
    It isn't a bug, just Towny 0.80.0.0 DOESN'T work with ChestShop 3.40
     
  9. Offline

    Switch0r

    I am using ChestChop 3.39 with Towny 0.80.0.0.
    People cant build shops in the shop plots, is there special perm needed for it ?
    I have set this in config:

    TOWNY_INTEGRATION: true
    #Do you want to only let people build inside shop plots?
    TOWNY_SHOPS_FOR_OWNERS_ONLY: true
    #If true, only plot owners are able to build inside a shop plot. If false, every town's resident is able to build there.
     
  10. Offline

    Acrobot

    Switch0r
    No, people should be able to build in THEIR shop plots.

    Could you post the EXACT message they get?
     
  11. Offline

    Switch0r

    It says "You cant create shop here"
     
  12. Offline

    strika2000

    can i buy and sell from my a shop i made myself?
     
  13. Offline

    Acrobot

  14. Offline

    Switch0r

    Acrobot i am trying to get it to work with Towny for 3 days now.
    Cant you test it local?
    I am using a shop rank with group manager untill its fixed.
    Thanks for the fast respond like always.
     
  15. Offline

    sebj84

    Hello,

    I need some help to create some chest with Enchant armors and environmental protection 1,2...
    When I run the command "iteminfo" on one chestplate I have for exemple the ID "311-4" (Diamond protect IV).
    When I create the chest with this label, I cannot sell the item (like if the item wasn't detected).
    If I try the same thing with fire protection everything is working well.
    The problem with environment protect is the same with all type of armor.

    PS: the same issue is present on one public server (fr-minecraft.net)

    Thank in advance for your help,

    Sebj84
     
  16. Offline

    Acrobot

  17. Offline

    sebj84

    thank you for your quick answer !!
    I'll keep you updated if I found something
     
  18. Offline

    sebj84

    sry it is the same issue with the version you sent me.
     
  19. Offline

    milo34

    Found 2 Bug's
    1st - End stone never leaves your hand when you try and sell it,
    2nd - ALL Dye items Read as Inksacks

    PLZ fix these lol
     
  20. Offline

    Acrobot

    milo34
    Dye IS an ink sack, just with different damage value - blame Notch, not me :/

    And what do you mean by "end stone"? The white one? It works fine for me.

    sebj84
    Hmm... I'll test that then.
     
  21. Offline

    bluehasia


    hmmm i would like it to work that way shop owner can use there own shop. beacuse atm only me the admin is settin up the stores. so i cant participate in the trading it seems im learning
     
  22. Offline

    Crankmast3r

    Here is what i have in my perm folder:
    groups:
    newbie:
    default: true
    permissions:
    - falsebook.blocks.gate
    - ChestShop.shop.create
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    Everything works great they can create shops in the wilderness but if i create a zone and do the /region flag market chestshop allow still says to them "You dont have permission for this area. ".

    Thanks
    Crankmaster
     
  23. Offline

    PreFixLT

    [​IMG]

    Why it's so lagging? ChestShop is the most lagging plugin in the server.16gb ram 12ghz cpu 100mbps internet
    100+ ~ people in the server
     
  24. - CraftBukkit: version craftBukkit-1.2.5-R1.0
    - ChestShop: version 3.4
    - Your economy plugin (iConomy? BOSEconomy? other one?): IConomy
    - Have you got any Permission plugin? Which one?: NO
    Hi, this is my first time i use ChestShop, i wanted to enable the web page for statistics, so I changed the file config.yml to this:​
    Code:
    GENERATE_STATISTICS_PAGE: true
     
    #If true, plugin will generate shop statistics webpage.
     
    STATISTICS_PAGE_PATH: "/plugins/ChestShop/website.html"
     
    #Where should your generated website be saved?
    But when I reboot the server, I get this error in console:​
    Code:
    17:25:24 [SEVERE] Error occurred while enabling ChestShop v3.4 (Is it up to date?)
    java.lang.NullPointerException
            at com.Acrobot.ChestShop.Config.Config.getDouble(Config.java:41)
            at com.Acrobot.ChestShop.Config.Config.getDouble(Config.java:37)
            at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:63)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:543)
            at org.bukkit.Bukkit.reload(Bukkit.java:182)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
            at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    The error disappears if I restore the basic settings for statistics. What am I doing wrong?
     
  25. Offline

    Monstercat99

    Hi uhm what would be the permission to not let a group buy/sell from an Admin Shop sign.

    Ok well I know the permission is -pex group Default add -chestshop.shop.use
    Well thats what I think it is. But that would stop them from using chest shops too. How can I make it so they can use chest shops but can't use Admin Shops?
     
  26. Offline

    Acrobot

    bluehasia
    Well, the shop owner cannot use his own store - he just accesses the chests. Other people use the store, right?
    However, if you created Admin Shop, you can use it.

    PreFixLT
    Well, your economy plugin does that. If you're using an external database, the lag is even more visible. I can't do anything about it...

    Crankmast3r
    Hmm, no idea, honestly.
    Try turning WORLDGUAR_USE_FLAG to off to see if it still happens.

    DardoRX8
    Well, to be honest, I have no idea...
    Could you test if that does throw that error too?

    http://dl.dropbox.com/u/11388037/Bukkit/ChestShop.jar
     
  27. Offline

    bluehasia

    I dont rally want players on my server setting up shops. yes i can set up admin shops fine. but i also like the chest style of shop...it acts like a limit on how many a store can buy from the players. so poeple are not selling all day long the same item
     
  28. Offline

    JTAKER

    Seems I can't place double chests...Anywhere. And I'm OP'd. Any idea why this might happen?
     
  29. Offline

    RustyDagger

    Howdy I have an issue some of my smart players are tricking other players

    but doing this.

    b 100:.200 s

    as you can see the victim thinks they can abuse the shop and make money when in fact because of the decimal point they get owned :( all im asking is that you cant do a . with out a 0 first.
     
  30. Offline

    Acrobot

    bluehasia
    I don't exactly understand your question.

    Admins can make chest shops for normal players, and the player for whom the shop is made CAN use the shop, as in
    RustyDagger
    I can't do that, I only use Java's number parsing, so anything that is correct to Java is correct do me.

    By the way, don't you think that a player that thinks he can abuse a shop deserves it a bit?

    JTAKER
    I need to fix that, for now use 3.39
     

Share This Page