[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

    chisox8

    I haven't changed anything in the config, its here: http://pastebin.com/9QY4b7R6

    And, as for the plugins I have (this may take a while, I have a weird addiction to plugins...):
    Show Spoiler

    BananaChunk 4.6

    BananaPortal 0.2

    ChairCraft 1.2.6

    ChestShop 3.24

    ColorMe 2.4.1

    HomeX 0.7

    JailWorld 1.4

    Jobs 2.5.6

    Log 0.8

    MobRider 0.39

    MobileAdmin 3.2.2
    MonsterBox 0.2

    MoveCraft 0.7.1

    NoLagg 1.26

    NoOrbsPlease 1.1

    OpenInv 1.5.2

    PlgSetspawn 5.0

    PorteCoulissante 1.2.6

    Spout 510

    SpoutTrade 1.4.2 -



    Vanilla 0.1 -

    VanishNoPacket 1.7.fix.srsly


    WorldEdit 4.7

    WorldGuard "5.3"

    PermissionsBukkit 1.1

    ClearInv 1.8.1

    iConomy 6.0.7b

    tinyWhisper 1.1
     
  3. Offline

    Acrobot

    @chisox8
    Oh right, I meant Permissions config :p
     
  4. Offline

    chisox8

  5. Offline

    Acrobot

    @chisox8
    Can you try
    Code:
    ChestShop.shop.create
    ChestShop.shop.buy
    ChestShop.shop.sell
    
    instead of ChestShop.shop.*?
     
  6. Offline

    chisox8

    thats what i had before ChestShop.shop.* .... it didn't work :(
     
  7. Offline

    Acrobot

  8. Offline

    chisox8

  9. Offline

    Acrobot

    @chisox8
    Well, you said that when you're in the default group, the ChestShop.shop.* permission works fine, and when you're admin, it doesn't.
    You should probably ask about broken inheritance - as "Administrators" group inherits (at least it should inherit) the default group's permissions.
     
  10. Offline

    chisox8

    srry... i got it all figured out. Thanks so much for your help. LOVE THE PLUGIN!
     
  11. Offline

    Acrobot

    @chisox8
    No problem and thanks :)
    If you won't mind telling me - what was the problem? It might help other people :)
     
  12. Offline

    chisox8

    Lol... the problem ended up being having stupid users...

    To all you server admins out there: Make sure ur users know what they are doing!
     
  13. Offline

    chisox8

    Also, is there a way to have a chest just buy (from a player) anything, for 1 set price?

    That would be cool...
     
  14. Offline

    Acrobot

    @chisox8
    No, unfortunately not in ChestShop 3 :/
    Probably will be possible in CS4.
    (Also, good night everyone :p)
     
  15. Offline

    chisox8

    Ok Cool! GOodnight!
     
  16. Offline

    Adumbbird

    okay so only admins can buy or sell, are any of these plugins conflicting? were using bukkit 1337, ive tried everything short of giving everybody admin.
    plugins:
    commandbook
    iconomy
    mobbounty
    permissionsEx
    WorldEdit
    WorldGuard
    XcraftGate
    ChatManager
    Modifyworld
    Permissions
    ChestShop
    LWC
    mcMMO
    WorldBorder
     
  17. Offline

    Acrobot

    @Adumbbird
    "only admins can buy or sell"
    What is the message ChestShop gives?
    If there is none, go to bukkit.yml, change spawn-radius to 0.
    If there is "You don't have permission" it means that you haven't configured your permissions properly.
    If there is "You can't buy/sell here" it means that the sign is incorrect.
     
  18. Offline

    zaklooz

    can there be a proble if you have essentials and iconomy (6)?
    when i sell i don't get money its stands i get 230(from diamonds) but theres no cash when i say /money
     
  19. Offline

    Acrobot

    @zaklooz
    Yes, it is a problem if you have them both, and you didn't configure them.
    You need to put "iConomy" (exactly like that, without quotation marks) in PREFERRED_ECONOMY_PLUGIN in config.
     
  20. Offline

    zaklooz

  21. Offline

    Kirbyflys

    Still wondering what the node is. People can buy/sell items in creative mode/creative worlds.
     
  22. Offline

    Adumbbird

    Weve narrowed it down to permissions and i was reading the op and i was wondering since were using PermissionsEx as our permission plugin and it dosent mention that as a supported plugin, could that be the problem?
     
  23. Offline

    tom

    One of the best plugins out there, users love it.
     
  24. Offline

    arnotsai

    i need´╗┐ help, only ops in my server can buy items. but the members cant? and members cant /money how do i fix that UGH SOO CONFUSING
     
  25. Offline

    Crapcicle

    Uhmmm can anyone help me? For some reason i can't create admin shops..... Here is a copy of my permissions and my config file.
     
  26. Offline

    Acrobot

    @Adumbbird
    PEX, well, recently had many bugs. Could you re-download PEX?

    @tom
    Thanks :)

    @arnotsai
    Go to bukkit.yml, change spawn-radius to 0.
    If members can't do /money, then you might also be using a permission plugin and you must give your members correct permission.

    @Crapcicle
    That's not how PermissionBukkit's permission file looks like :/
    It looks like:
    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
    That looks like PEX permission file. Either try installing PEX, or try bPermissions and import the file.
     
  27. Offline

    zuendi123

    Hey Acrobot!
    In the changelog you said that ChestShop supports WorldGuard. But how do I have to use it? I want to have only shops in some regions. Can you help me?
    Thanks!

    zuendi123
     
  28. Offline

    Acrobot

    @zuendi123
    Well, at the moment it's only for denying shop creation in "wilderness" - where there isn't any WG region.
    There'll be better WG integration in ChestShop 4. (I hope)
     
  29. Offline

    chisox8

    Hey Acrobot? Can you add a permission node that allows a group (with the node) to create shops for free? (if SHOP_CREATION_PRICE- is enabled in the config.yml)

    That would be great!
     
  30. Offline

    2MAD4U

    This plugin is great and i like it! but i have a problem with the ID. When i try to set:

    Admin Shop
    1
    1:1
    44,2(SandstoneSlab)
    (or another number after ,)
    It will not work and i have no idea why. But pls if someone can help me, pls help me.
    My players are getting really angry at me :(.
     
  31. Offline

    chisox8

    Hate it when players get angry at there Admin... :(

    Here is what I would do:

    Get OddItem (another plugin) and set the item aliases for your items (alias to code)

    So, Example: 42;2 would be sandstoneslab (you would configure that in the odditem.yml)

    Then put that on the bottom of the sign (were the datavalue/itemname on a chestshop goes) and BAM! it works!
     
    2MAD4U likes this.

Share This Page