[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

    Acrobot

    xTitanCraftx
    Sorry, but as you can see - I'm on holidays. It's not easy to respond to everyone, so I only look at the last 1-2 posts. If there's an bug reports that needs submitting, please submit it to the "Tickets" section on the ChestShop's BukkitDev page.
     
  3. Offline

    Noxturno

    aww come on if you add this I give you pizza since I dont know anything about java
     
  4. Offline

    Tribaljr

    i have an issue, i am using worldguard and lwc. When i try to create a shop outside of my specified region it doesn't work (this is correct as i want it) but when i try to build inside my region it also won't allow me (because of restrictions saying no building on worldguard). is there a simple way around this?
    im relatively new to the server side of mc
     
  5. Offline

    Tribaljr

    alternatively, the text's ive read says there is a way i can create a shop for someone on their behalf as an admin. whats the command or process to do this?
     
  6. Offline

    Acrobot

    Noxturno
    Look - I'm on holidays right now, with no access to IDE, so I can't develop plugins. Once I get back, message me and I'll see what I can do.

    Tribaljr
    You need to do /region flag yourRegionName chestshop allow

    Be warned, though, that if anything goes wrong (server crashes, etc.) - the flag might disappear.

    And for the admin shop creation - just put someone's name on the first line of the sign.
     
  7. Offline

    Noxturno

    enjoy your holiday cya when you get back.
     
  8. Offline

    xTitanCraftx

    Ad
    d the wool id
    example

    kenjin
    1
    B 35
    wool:x

    Explaination:
    kenjin is the owner's name and 1 is the number of items per transaction and 35 is the value of the item , and wool is the item that is being sell , and x is the item id number it can be 1-15 for different wool colors ,. Try it yourself
     
  9. Offline

    Boris

    Is it possible to link chest to shopsign so people dont put chests in shop and put them in their base and make chests unprotected this will not allow people to use shop to keep all valuables safe

    EDIT: like old school sign shop was you need to link sign to the chest with redstone
     
  10. Offline

    yafos

    I'm trying to have this plugin run smoothly with my essentials.sign permissions... but it's not working out. When I install this plugin, my essentials perms for signs do not work at all. Anyone have some suggestions? I don't have any other economy plugin. Just essentials =)
     
  11. Offline

    Xayges

    Hey, sorry, but I was wondering if you could like type /findshop <item/itemid> then you can get some coordinates for shops that sells the item.
     
  12. Offline

    rustymyers

    Hey, thanks for the plugin. It's very nice and working well on my setup, except for one thing. Is it possible to make shops that sell items for no value? I'd like to set up a sign at spawn to hand out torches and other items. If I set the B price to 0, it says I can't sell here. If I set the B price to > 0, it works as expected.
     
  13. Offline

    Acrobot

    Boris
    Nope, not possible.

    yafos
    Sorry, no idea, but Essentials Protection was reported as the problem sometimes.

    @ffline
    It's a feature that was requested, but I can't do it now.

    rustymyers
    Yes, set the price to "free".

    For example:
    Admin Shop
    1
    B free
    Diamond

    Unfortunately, you can't set the price to 0 because of an ancient signs :p The "0" indicated no buying/selling.
     
  14. Offline

    dehcarim

    how can i make this restrict? i sow this in tutorial but not understand... i put the permissions in groupmanager... but every one in every group (even the ones i dont put the permissions...) can make a chestshop... and in config folder of chestshop plugin, i dont find any of "groups" or "restrict" /... can u guys help me?
     
  15. Offline

    koyaanisqats1

    Hello! Buy/Sell function not works - i am pressing left mouse button... and nothing! for a long time - will destroy the sign! I have:
    PermissionEX,
    last version of iConomy,
    CraftBukkit 1.3.1-R2,0;
    3.46 chestshop.
     
  16. Offline

    Acrobot

  17. Offline

    koyaanisqats1

    No, usual survival mode
    I can make a little video to show
     
  18. Offline

    Acrobot

    koyaanisqats1
    Hmm, it would be better if you posted any errors you got in the console.
     
  19. Offline

    koyaanisqats1

    this only
    16:27:38 [INFO] [ChestShop] Enabling ChestShop v3.46
    16:27:38 [INFO] [ChestShop] iConomy version 6 loaded.
    but when reating a chop there is a text "[shop] shop successfully created", like all is good
     
  20. Offline

    Acrobot

    koyaanisqats1
    Hmm... You can post the video. It's hard to think of anything that wouldn't work :/
     
  21. Offline

    tetryds

    is it possible to add the option to buy a command using a sign?
    and then allow only ops to create command signs
    for example:
    Adminshop
    1
    B 20
    /repair

    would repair the item you are holding when you left click it
    and
    Adminshop
    1
    b 20
    /time day
    would set the world time to day

    if its impossible, is there any plugin that could do that for me?

    yours is pretty awesome, thanks a lot!
     
  22. Offline

    Acrobot

    tetryds
    Sorry, but it probably won't come. This is an item shop plugin, not command shop - unfortunately, I think that there isn't any plugin like that.

    Of course, the situation may change with ChestShop 3.50 API - someone could just create a custom plugin for ChestShop, that does that.
     
  23. Offline

    tetryds

    what about written books?
    i dont know if they work on normal shops but failed when trying to sell any on adminshops
     
  24. Offline

    Acrobot

    tetryds
    If they have a damage value - they work, just do /iteminfo and put that information on the sign. But it can only sell one particular book.
     
  25. Offline

    dehcarim

    how can i make this restrict? i sow this in tutorial but not understand... i put the permissions in groupmanager... but every one in every group (even the ones i dont put the permissions...) can make a chestshop... and in config folder of chestshop plugin, i dont find any of "groups" or "restrict" /... can u guys help me?
     
  26. Offline

    DaveRyan

    This is a wonderful plugin! However, is there any plan to to have some way to indicate how full a chest is for that shop?

    I'm looking for a visually quick way to determine which shops are empty/full etc. I was thinking the best way would be to have the letters on the sign be Green, Yellow, or Red.

    Green = The chest is 50% or more full.
    Yellow = The chest is Less than 50% Full.
    Red = The chest is empty.

    Any thoughts?

    This could also be done with characters.

    (H) = Half or more full.
    (L) = Less than 1/2 Full.
    (E) = Empty.

    Plenty of space on the 2nd line where the stack ammount is currently set.
     
  27. Offline

    deathdragonaw

    DaveRyan: I posted a similar idea half a year ago, read from "AND" http://forums.bukkit.org/threads/ec...onomy-plugins-1-3-1.4150/page-195#post-859627

    A %-Value would be more exact or a comparison of free and used slots like 9/54. I have a big Storage for all the players on my server where they can exchange materials etc, and it's very unclear to see which chest is full and which is emtpy. Checking all those by opening is not much fun ... ^^ And im the only person who is able to, so others have absolutely no idea about the stock.

    In my humble opinion this is one of the most important to-do's!
     
  28. Offline

    Acrobot

    DaveRyan
    Well, there are always some plans :) It is possible to do that in ChestShop 3.50 :)

    The red/yellow/green suggestion is really nice :D

    deathdragonaw
    Hmm... I'll concentrate on that, then! :D
     
    deathdragonaw likes this.
  29. Offline

    deathdragonaw

    alright :D how can i get notified about news regarding this changes in the plugin? I could also test dev-versions on an extra server if it's necessary
     
  30. Offline

    facerollaaa

    Hey i was wondering if there's anyway i can create a market for players to make chest shops where all they had to do is place the sign on the wall. The only problem is the market is in a safezone and it has the place and destroy restriction on. Is there any way i can set the market up where they are able to place a sign while keeping those restricitons?
     
  31. Offline

    Acrobot

    deathdragonaw
    Just look on this thread or watch the repo on github.
    All the versions which are masked as "TEST VERSIONS" are public test versions - I am waiting for bug reports before the are "official"

    facerollaaa
    Sorry, but I think that ChestShop plugin can't do anything about the building restrictions.
     

Share This Page