[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

    Timberman

    is Support for EssentialsEco broken?

    Have latest CS-Version Stabel bukkit and regsiter 1-5 installed

    hmmm seems its something other... cause it cannot pass the PLAYER_INTERACT" event to cs

    deleting the Config.yml + /reload solved my problem xD
     
  3. Offline

    Acrobot

  4. Offline

    MaGGoT

  5. Offline

    xGhOsTkiLLeRx

    First: Great plugin!
    Second:

    I updated the German localization! (Because letters like "ü", "ä" or "ö" aren't working in YAML)
    Show Spoiler
    prefix: "&a[Shop] &f"
    iteminfo: "&aItem Info:&f"
    ACCESS_DENIED: "Dazu hast du nicht die Rechte!"
    NOT_ENOUGH_MONEY: "Du hast zu wenig Geld!"
    NOT_ENOUGH_MONEY_SHOP: "Der Shop Besitzer hat zu wenig Geld!"
    NO_BUYING_HERE: "Du kannst hier nichts kaufen!"
    NO_SELLING_HERE: "Du kannst hier nichts verkaufen!"
    NOT_ENOUGH_SPACE_IN_INVENTORY: "Du hast nicht genug Platz in deinem Inventar!"
    NOT_ENOUGH_SPACE_IN_CHEST: "Die Truhe ist voll!"
    NOT_ENOUGH_ITEMS_TO_SELL: "Du hast nicht ausreichend Items zum verkaufen!"
    NOT_ENOUGH_STOCK: "Dieses Item ist ausverkauft."
    NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "Dein %material Shop ist ausverkauft!"
    YOU_BOUGHT_FROM_SHOP: "Du hast %amount %item von %owner zum Peis von %price gekauft."
    SOMEBODY_BOUGHT_FROM_YOUR_SHOP: "%buyer hat %amount %item zum Preis von %price gekauft."
    YOU_SOLD_TO_SHOP: "Du hast %amount %item an %buyer zum Preis von %price verkauft."
    SOMEBODY_SOLD_TO_YOUR_SHOP: "%seller hat dir %amount %item zum Peis von %price verkauft."
    YOU_CANNOT_CREATE_SHOP: "Du kannst diesen Shop nicht erstellen!"
    NO_CHEST_DETECTED: "Kein Chest gefunden!"
    ANOTHER_SHOP_DETECTED: "Shop von jemand anderem gefunden!"
    CANNOT_ACCESS_THE_CHEST: "NICHT STEHLEN!"
    PROTECTED_SHOP: "Truhe erfolgreich mit LWC gesichert!"
    SHOP_CREATED: "Shop erfolgreich erstellt!"
    NO_PERMISSION: "Du hast dazu keine Rechte!"
    INCORRECT_ITEM_ID: "Die Item ID ist nicht in Ordnung!"
    NOT_ENOUGH_LWC_PROTECTIONS: "Du hast die Grenze an LWC Truhen erreicht!"
    TOWNY_CANNOT_CREATE_SHOP_HERE: "Du kannst hier keinen Shop erstellen!"

    Maybe you can update the OP ;)
     
  6. Offline

    Acrobot

  7. Offline

    PinguinAman

    xGhOsTkiLLeRx likes this.
  8. Offline

    xGhOsTkiLLeRx

  9. Offline

    Buckethead

  10. Offline

    robert puckett

    What if a server Members Name does not fit on the sign? how do i go about fixing this so that they may create shops?
     
  11. Offline

    killerciao

    My Admin Shop dont work... it say that could not find a chest!
     
  12. Offline

    Acrobot

    @killerciao
    What is in your config?
    What are you writing on the sign?
    What permissions have you got? (Plugin & config)
    Have you got ChestShop.admin permission?

    @robert puckett
    AFAIK, They can create it just fine. (It will automatically be added to a list of long names, so his iConomy will match his on-sign name)
     
  13. Offline

    killerciao

    i got PEX i 'm the admin and i'm op i can make sign and for other player work but i cant use the shop because it say thant cant find the chest... Now i cant deostroy the shop too... :\ all happend when i updated today at 3.32... :\ before all was working
     
  14. Offline

    Rexel

    Yeh exact same issue,only I haven't tried destroying the shop yet :S
     
  15. Offline

    Acrobot

    @killerciao
    Hmm, thanks, I'll check that now. I think it's due to you having the admin permission, you could temporary add a negative permission, -ChestShop.name.adminshop
    You should be able to destroy the sign though.
     
  16. Offline

    Acrobot

  17. Offline

    killerciao

    uploading on server now
     
  18. Offline

    killerciao

    yes work now THANKS!
     
  19. Offline

    Acrobot

    @killerciao
    Lol, ok :) Can you destroy the shop too? Can I upload it now?
     
  20. Offline

    Rexel

    Yeh that updated fix the Admin shop here aswel, and you could destroy the sign just fine with both releases.
     
  21. Offline

    Acrobot

    @Rexel
    Ok, so uploading the new version as a official one. (You don't have to update if you have the version I posted)
     
  22. Offline

    Rickeh

    Is there any way to sell permissions groups to users with this plugin?
     
  23. Offline

    Acrobot

    @Rickeh
    Nope, sorry. It might be possible in ChestShop 4 though, because it will be modular.
     
  24. Offline

    denomeitor

    I can not know how to configure the tutorial videos are kind of confused when I put the information, nothing appears in the chat, I need help:'(
     
  25. Offline

    denomeitor

    The plugin depends on which programs and which plugins?
     
  26. Offline

    killerciao

    Why when I go in my shop building the client start lag? And this happen only because there are Admin Shop of most of items in the game
     
  27. Offline

    funky man


    I have done this but yet still the group can buy/sell/create, any ideas?
    Code:
    groups:
        Guest:
            prefix: ''
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.chat
            - lwc.deny
        citizen:
            prefix: '&0(&8Citizen&0)&7 '
            permissions:
            - -ChestShop.shop.buy
            - -ChestShop.shop.sell
            - -ChestShop.shop.create
            - lwc.protect
            - falsebook.blocks.readbook
            - falsebook.blocks.hiddenswitch
            options:
                rank: '800'
     
  28. Offline

    Acrobot

    @funky man
    No clue then, sorry. PEX is starting to get more and more incompatible with plugins.
    If I were you, I'd open ChestShop.jar with WinRAR/7Zip, open plugin.yml and delete the "permissions" section.

    @denomeitor
    You need to have the latest recommended version of CraftBukkit and any of the permission plugins.

    @killerciao
    This is all Notch's fault. When there are many signs, the client starts to lag. I recommend to use Optifine or Spoutcraft (with Optifine built-in)
     
  29. Offline

    killerciao

    Ok thank for The support!
     
  30. Offline

    yaitsbilly

    I can no longer sell items in a chestshop. Please help.
     
  31. Offline

    JoneKone

    We have a nifty SignHack Mod that prevents Text from rendering beyond 16 blocks. <- Yet another Notch fail Hope jeb fixes this... As signs are the only way of .. well for text.
     

Share This Page