[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

    DoomAngelBlade

    No Errors.
    Sign Looks like This:
    DoomAngelBlade
    _____1______ ("_" - Space)
    ___B_1______
    ___Wood_____
    No messages in the chat(only that NULL NULL after creation)
    Im not in Creative mode
    i Using Version git-Bukkit-1.1-R4-b1938jnks (MC:1.1) (Implementing API version 1.1-R4)


    After Clicking Other ppl shop i getting message:
    This sign was locked with magical spell.
     
  3. Offline

    Acrobot

  4. doesn't work on 1.2.3 for me
     
  5. Offline

    locolocoguy

    this plugin is just what my server needed thanks graded 10 out of 10 [cake]
     
  6. Offline

    PTluzitano

    Acrobot i have CraftBukkit version: git-Bukkit-1.1-R3-37 how i get CraftBukkit CB 1.1 C6
     
  7. Offline

    xduckxx

    @ acrobot, no
     
  8. Offline

    mine157947

    I can't buy or sell i hsve the CB 1.2 R0.1, I'm using the iConomy plugin and I don't remember the version if it was for 1.1R6 or 1.2R0.1 and permissions is PermissionsBukkit and essentials.

    I'll just re-download it and see if that works.

    its for R0.1
     
  9. Offline

    Acrobot

  10. Offline

    Marc-D

    Show Spoiler


    like your setup do you have a full list mine were way higher
    and pm me your server ip so i can check it out :) please
     
  11. Offline

    Kurtis_

    Hey, sorry I haven't checked this in a while. Marc-D - My server is private and I'm iffy about letting people in, but check your PMs.
     
  12. Offline

    Exzib

    I have a problem, people can only buy from a shop but not sell...
    It might be just me, or some plugins that makes this issue.

    Do you know any fixes?
     
  13. Offline

    archer06011

    I think i had the same thing. It is an iConomy bug :c
     
  14. Offline

    Exzib

    Well what happens is that if you right click, you buy items, but you cant sell them.
     
  15. Offline

    PTluzitano

    Acrobot lol now its works but i need: 06:52 AM [SEVERE] [ChestShop] You lack the necessary HTML files in your plugins/ChestShop/HTML folder!

    !! lolz
     
  16. Offline

    lolidk40

    Please Acrobot i have a Problem where it says your SpawnRadius in bukkit YML isnt set to 0 Please change it to 0 or else you wont be able to make sellshops near spawn.


    i did that. and sell wont work
    it says PlayerEventInteractChestShop
     
  17. i think the problem is PEX.
    the permissionsEX doens't work correctly.
    gonna try a other permissions plugin.
     
  18. Offline

    lenis0012

    Acrobot :( so sad
    lol i am joking mayb later :p
     

  19. i use now other plugins..
    and it works create =] [diamond]
     
  20. Offline

    Acrobot

  21. Offline

    65Wolf

    Ok, I'm seeing the same issue now that I'm turning on the stats generation page as I'm upgrading to CB 1.2.3 with Chestshop 3.37.

    What files do we need in there? I rebuilt a quick server with 1.1-R4 to use the v3.35 jar you made for epics, but it didn't work for me. What are the files need, assuming they are just empty files I could manually write and place?

    Thanks!
     
  22. Offline

    Epics

    My error was that I somehow had two /chestshop/chestshop folders.
    All I did was put HTML/ in /ChestShop/ and it fixed the problem.

    Hope this helps,
    Epics
     
  23. Offline

    PTluzitano

    Tks a lot Acrobot .. your help was awsome and plugging works properly <3 ty
     
  24. Offline

    Hackers5955

    Thanks It's Work Now:D
     
  25. Offline

    Puremin0rez

    Is there any possible way you could make it so a worldguard flag could be set for shops to be free? I have smaller subzoned areas for peoples stores but they complain about having to rent the space AND pay the chest fee.

    It'd also be cool if once the owner was removed from the region it would "disown" the chests too - but I'm not sure how far you can go into this whole integration. Thanks anyways for the great plugin!
     
  26. Offline

    Acrobot

    Puremin0rez
    There is a permission, ChestShop.nofee.
    If you had some plugin that gave players that permission, they could create the stores for free.
     
  27. Offline

    PsycheMonkey

    I just updated, and all my previously made shops are gone; I am having to re-place every sign to make the plugin recognize it. Is there a way to update the database in order to avoid this?
     
  28. Offline

    Acrobot

    PsycheMonkey
    It's not ChestShop's problem, sorry - ChestShop doesn't save any sign information in the files.
     
  29. Offline

    Halloween96

    i have some problems :/ i can't buy or sell Items :'( SpawnRadius in bukkit YML isnt set to 0 Please change it to 0 or else you wont be able to make sellshops near spawn. Why? Plugins that i have:Essential,-spawn,-protect,-Chat, SpawnAdjuster, Lockette, WorldEdit, iConomy and ChestShop. Plizz Help me!
     
  30. Offline

    Acrobot

    Halloween96
    Well, the clearly states the problem. You need to set spawn radius to 0.

    Either that, or something else is your problem. Did you get any errors?
     
  31. Offline

    ryunnz2

    same here
     

Share This Page