[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

    s4b3r_t00th

    I am running a server with my friend and when we tried to install iconomy it worked for us admins but not everybody else. When they try to use our shops it says they don't have permission but we have tried setting up the permissions several times.
     
  3. Offline

    Acrobot

    @s4b3r_t00th
    Do you have ChestShop (version 3) or iConomyChestShop (version 2)?
    If ChestShop, add:
    ChestShop.shop.*
    to player's Permissions.

    If iConomyChestShop - add:
    iConomyChestShop.shop.sell
    iConomyChestShop.shop.buy
    iConomyChestShop.shop.create
     
  4. Offline

    s4b3r_t00th

    Um I think its ChestShop as I said I do this with my friend and he's the one who installed it, but in the plugins folder it says ChestShop
     
  5. Offline

    Acrobot

    @s4b3r_t00th
    Add "ChestShop.shop.*" to the Permissions, then.
     
  6. Offline

    nichiatu

    Yes, that worked, thank you. You should state that in the OP, a bit of a hassle to read through every single comment to find that info. :)
     
  7. Offline

    s4b3r_t00th

    Yes thank you soo much it finally works!!!!
     
  8. Offline

    s4b3r_t00th

    Yeah I tried reading them all but gave up before I found anything
     
  9. Offline

    kamilll3

    when i click left mouse button i buy something from the shop, but when i clikc right mouse button there is nothing happing, so i can only buy something. When i set reverse true, and restart serwer then on left mouse button i sold something to shop and on right is still nothing happing so i can onyl sell something. What's the problem ?

    Sory for the language, i'm from poland....
     
  10. Offline

    Acrobot

    @kamilll3
    Hmm, weird...
    Do you have "sneakMode" set to "true"?

    Swoją drogą, też jestem z Polski :p
     
  11. Offline

    kamilll3

    Sneak mode ustawiony na false
    zauważyłem, że jeżeli kliknę prawym przyciskiem na tablicy jako właściciel to otworze skrzynie :eek:

    edit:Już udało mi się to naprawić :D
    1. Pobrałem starszą wersję chestshop co zlikwidowało powyższy problem
    2. Jeżeli sklep stoi blisko spawnu to możliwe jest tylko kupno przedmiotów a i to czasem powoduje błędy
     
  12. Offline

    Acrobot

    @kamilll3
    SneakMode właśnie powinien być włączony :p
     
  13. Offline

    Dimochka

    If up-to-date shop list was stored in database, we could create price listings for servers.
     
  14. Offline

    Acrobot

    @Dimochka
    There isn't a shop list, but there is transaction list, and you can auto-generate price listing :)
    It's even built-in the plugin! Just use ChestShop, turn on database and site generation :)
     
  15. Offline

    McSushi

    this may be supper noobie but, i have installed iconomy and iconomy chest shop, installed many times and my /money works but when it comes to using iConomyChestShop.admin and all the other commands it does nothing. not even an error.
     
  16. Offline

    Acrobot

    @McSushi
    iConomyChestShop.admin is not a command. It's a Permissions node.
    Do you get any errors at startup?
     
  17. Offline

    McSushi

    so whats the commands? and i didnt get any errors
     
  18. Offline

    Acrobot

    @McSushi
    What, what?
    This plugin makes it possible to make physical shops, not global - command - ones.
    If you want to set up shops, look into "How to set up a ChestShop" in the main post :)
     
  19. Offline

    Dimochka

    Listings are generated per-item, which means when there're several shops dealing the same stuff the price for item is averaged, right? Without shop ids you can't make a list of shops with prices so that people can compare how much this item costs here and there.
     
  20. Offline

    Acrobot

    @Dimochka
    Yes, it is.
    Okay, I'll add shop Location to the fields of DB.
     
  21. Offline

    thefoxygranpa

    Acrobot,

    Are we able to switch back to the old way of buying and selling from shops? By typing /buy and /sell and then right clicking the sign? I am running Beta 3.0 v8 and did not see this option in the config. My players are quite confused :p
     
  22. Offline

    Acrobot

    @thefoxygranpa
    Ehh, I don't really like it.
    By really, I mean REALLY.
    Commands confuse both me and server admins, as they might cause problems with other plugins using the same commands :)
    Well, I bet all of your player will get used to it :)
    If you REALLY, REALLY need those commands, I might add them for you - just ask :)
     
  23. Offline

    Dimochka

    commands suck, clicking is natural.
     
  24. Offline

    thefoxygranpa

    So its been half a day and my users are getting used to it. Unless I have an uprising because of this I won't request you add that for me :p. The only complaint I've had was users breaking signs when holding down left click, and I don't want to reverse it at this point and confuse them more! Thanks!
     
  25. Offline

    zstickay

    It says the shop owner does not want you to sell here. What do i do!
     
  26. Ever fix the names being too long to fit on the signs?
     
  27. Offline

    McSushi

    this is what i get on start up, all the parts about iconomy


    08.07 11:24:18 [Server] INFO [Essentials] Payment method found (iConomy version: 5)

    08.07 11:24:16 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    08.07 11:24:16 [Server] INFO WorldEdit 4.6 enabled.
    08.07 11:24:16 [Server] INFO [iConomyChestShop] Permissions version 2.7.2 loaded.
    08.07 11:24:16 [Server] INFO [iConomyChestShop] iConomy version 5 loaded.
    08.07 11:24:16 [Server] INFO [iConomyChestShop] version 2.75 initialized!
    08.07 11:24:16 [Server] INFO [iConomy] hooked into Permissions.
    08.07 11:24:16 [Server] INFO [iConomy] Developed by: [Nijikokun]
    08.07 11:24:16 [Server] INFO [iConomy] v5.01 (Eruanna) loaded.
    08.07 11:24:16 [Server] INFO [iConomy] Logging is currently disabled.
    08.07 11:24:16 [Server] INFO Fake Permissions version 2.7.2 is enabled!
     
  28. Offline

    brzavr

    [SEVERE] ebean.properties not found
    [SEVERE] Could not load 'plugins\iConomyChestShop.jar' in folder 'plugins':
     
  29. Offline

    Acrobot

    @thefoxygranpa
    Yeah, you have to hold shift to destroy the sign.

    @zstickay
    You probably have something wrong on line 3, or just put "0" instead of "free" as a price.

    @McSushi
    So it's turning on properly :)
    Just look at my main post, or any video tutorial (for example THIS) :)

    @ImmortalOverlord
    Trying to find a way to do it.

    @brzavr
    You didn't post the whole error, but I guess your server is in path with special characters. Please move it to, for example, C:/Server
     
  30. Anyone knows how i can disable this stupid message : "The sign is locked with a magic spell"
    everyone someone hits the sign to buy or sell it shows up.

    Using 953, Beta 8

    PROTECT_CHEST_WITH_LWC: false
    PROTECT_SIGN_WITH_LWC: false
     
  31. Offline

    Acrobot

    @Sandbird
    Disable automatic sign-protection with LWC?
    Or just use /lwc -r protection and click on the sign
     

Share This Page