[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

    poliuy

    Acrobot

    Ok so now it allows them to open the chest, however, it allows EVERYONE to open that same chest =/. I want it so just that player specified on the first line can open the chest. Is this possible?
     
  3. Offline

    Acrobot

    poliuy
    Well... you don't need to modify anything then.
    The player by default can access his own shop...
     
  4. Offline

    poliuy

    Acrobot

    If I place the sign for them they cannot access the chest, even if I define the first line as their name. It tells them they have no access. Somehow by placing the sign there even if the first line is defined for them, it will not let them open said chest, it designates me as the chest holder.
     
  5. Offline

    Acrobot

    poliuy
    Are you sure it isn't just the LWC chest/sign protection that causes that?
     
  6. Offline

    poliuy

    Acrobot

    I don't have LWC, the only sign protection I could think of is essentialsprotect, but I turned that off =/.
     
  7. Offline

    Acrobot

    poliuy
    Hmm...
    I do not store the names in any database.
    Are you 100% sure that the player's name is the same as the sign's first line? (No colours allowed)

    Can you post his nickname and what is on the sign?
     
  8. Offline

    poliuy

    his name is plasmaraay

    the sign looks like this

    Plasmaraay
    10
    b 10
    Diamond

    I turned off their ability in perms to create a shop, but even when I allow it, it still does not allow them access.
     
  9. Offline

    flixcraft

    it says i cant create a shop when i put the sign and type in all the stuff it says cant create this type of shop help
     
  10. Offline

    Acrobot

    poliuy
    Well, it's a capital B on the 3rd line, also - it's case-sensitive.

    You haven't got the permissions set up.
     
  11. Offline

    flixcraft

    i got all the stuff B pex and iconomy
     
  12. Offline

    th3thin9

    PLZ HELP when i try to create a shop it sais i cant create this type of shop! HALP
     
  13. Offline

    Morrgo

    Just wondering can you tell me how I get my items that i'm selling in my Admin Shop to appear above the shop? Seen this quite a lot and can't figure out how to do it... To be honest I think it will be really simple and i'm just being stupid but if you know how to do this can you please tell me?
    Acrobot
     
  14. Offline

    Acrobot

    Morrgo
    Showcase is the mod you're looking for :)

    th3thin9
    You haven't set up your permissions correctly.

    flixcraft
    Well - you use a permission plugin and you didn't set up it correctly (It's ChestShop.shop.*, with capital C and S)
     
  15. Offline

    JoneKone

    Option to disable taxes in Admin Shops.
     
  16. Offline

    Acrobot

  17. Offline

    flixcraft

    it works now i downloaded bpermissions :) thanks for the help
     
  18. Offline

    Buckethead

    • Warn given for using caps
    HOLLY CRAP I MADE SERVER SHOP WITH INF. MATERIALS AND IT SAYS SHOP OWNER DOESNT HAVE ENOUGH MONEY WTFFFFFFFFFFFFF!!!!!!!!
     
  19. Offline

    Acrobot

    Buckethead
    What is on your 1st sign line?
    Can you post your config on pastebin.com?

    flixcraft
    Ok :)
     
  20. Offline

    Niklas1896

    Can You bring the 1.1 version, We need it for the protect because everyone steals now the Diamonds:)
     
  21. Offline

    HHunterx

    Hi, I want a create an Admin Shop Chest but i can't. I'm an admin but when i put the sign and write a:

    Admin Shop ​
    64​
    100:50​
    2​
    the sign is fall down and server says:
    [Shop]: You can't create this type of shop.


    Note: Sorry for my English
     
  22. Offline

    Acrobot

  23. Offline

    cuddylier

    Why in player shops when you try to buy from them it says "You cannot buy here", it used to work. I have towny installed.
     
  24. Offline

    HHunterx

    Ok, how can i set up?
     
  25. Offline

    Acrobot

    cuddylier
    You cannot buy here = your 3rd sign's line is wrong. It should be like (B and S can be on either side):
    B 5
    S 5
    B 5:5 S

    HHunterx
    Well, that depends on the permission plugin you're using. I recommend going to youtube, there are many tutorials about different plugins.
     
  26. Offline

    HHunterx

    I'm using, bPermissions, Permissions and PermissionsEx.
     
  27. Offline

    Acrobot

    HHunterx
    o.0
    Why three?
    You should only be using one permission plugin, but if you want to configure one, configure Permissions (2/3) first - it has the highest priority in ChestShop.
     
  28. Offline

    HHunterx

    Err, don't ask! :D I will use bPermissions. But I'm do not know how can i configure Permission. I searched on youtube but Im didn't find.
     
  29. Offline

    cuddylier

    Thank you!
     
  30. Offline

    aceshooter11

    How does enchanted Item worked do we get to pick which one it is or is just the lets say Iron_sword will work with any enchantment?
     

Share This Page