[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

    itorrent

    But when we left the last row blank, it didn't work either :/ i have updated to latest

    Can it matter if the chests are in a Region?
     
  3. Offline

    Acrobot

    Nope, I think it doesn't matter
    But did you change noID in config file to true?
    If you do so, it will place item name there.
     
  4. Offline

    itorrent

    ahh i will change it, so there rly aint no need for an item.db file?
    [MERGETIME="1299960851"][/MERGETIME]
    yay, but i already have an item.db file :D and it turns lapsi lazuli into inc sac :D

    And i have essentials plugin, so it maybe fcks somethings up :)?
     
  5. Offline

    killerx20102

    @Acobot Do you mean me?
     
  6. Offline

    itorrent

    WTF, i mean rly WTF!
    so "inc sack" is "blackdye"......... and when i put "lapis lazuli" in a chest and create a sign with the last row blank (noID=true) it shows inc_sack.

    IM RLY MAD RIGHT NOW
    [MERGETIME="1299961697"][/MERGETIME]
    GUYS, GUYS, i just discoverd sumthing!!

    All dyes have the same ID (that is 351) and a suffix number after it. (which cant be wirtten in the minecraft chat).

    So all chests with dye in them will have "inc_sack" on the sign (last row). So be sure to put up a sign ontop of that saying which dye it is :)
     
  7. Offline

    Acrobot

    @killerx20102 - Sorry, I don't understand you

    Oops, I left some debug code in, re-download new version now to fix this.
     
  8. Offline

    killerx20102

    @Acrobot

    Can any one help me? If only I enter:
    killer20102
    5
    3
    DIRT

    Is there always: [Shop] Sing is in old format, please update!

    Can any one help me?​
     
  9. Offline

    Pnyplex

    Hello,
    can some one help me with the settings of the config.yml?
    i got the problem that u´re able to get some stuff out of the chest without lost some money.
    The other people who test it with me is also Server-Admin.

    my config:
    useID: false
    noID: true
    sell: true
    distance: 1
    position: 'DOWN'
    protection: true
     
  10. Offline

    itorrent

    No, the old format wont work anymore. (atleast not with the latest version)

    new format is:
    Code:
    Name
    Amount
    1:1  (first is buy cost, second is sell cost.)
    ID, or name.
     
  11. Offline

    sexygob

    very nice work but...
    (I'm french i'm not good for speak english , use simple word please)
    I have DL this good plugin but...i'have probleme.
    i have install this plugin , i have work with permissions for permissions.(use , create , sell ...)(i know use permissions i have install many plugin)
    But....i can't bild a shop . i can /buy the server said : "[Shop]Mode set to buing!"
    but when i whant create my shop ...never....there is no sentence to say “you have create your shop”
    I need your help please for this good plugin .
     
  12. Offline

    Acrobot

    @sexygob
    You use incorrect sign format then, you need it to be
    Code:
    Name
    Amount
    1:1  (first is buy cost, second is sell cost.)
    ID, or name.
    
     
  13. Offline

    itorrent

    u used my code :D
    sneaky xD
     
  14. Offline

    sexygob

    ...i have use your technique...no difference.
    i have try
    sexygob sexygob
    1 1
    20:10 20:10
    3 Cobblestone
     
  15. Offline

    itorrent

    thats still incorrect.

    EXAMPLE 1

    Code:
    name (or leave blank)
    amount
    price. EXAMPLE (type only this) 1:1
    ID or NAME or leave blank if u have noID set to TRUE
    EXAMPLE 2

    Code:
    itorrent
    64
    1:1
    DIRT
     
  16. Offline

    killerx20102

    Now stands [Shop] Mode set to buying!
    I stand in front of the shop!!
     
  17. Offline

    Chrisbeee

    It says - Sign is in old format! Please update. - Help please.
     
  18. Offline

    itorrent

    Then if u have any signs with the old format u need to change them, but does the plugin work like it should either ways? i mean if u try to put up a sign with the new format, does that sign work properly?=
     
  19. Offline

    Chrisbeee

    Fixed that but now It says I can't build shops, and I use Essentials.
     
  20. Offline

    itorrent

    DO u have permission plugin as well? are u op on the server?
     
  21. Offline

    Emolk

    ok please help, my plugins folder looks like this:
    Acrobot-iConomyChestShop-210e53b
    iConomyChestShop (JAR)
    Plus various other plugins

    except when i do the sign it says: (SHOP) no config! please make sure you have pasted everything from the ZIP into the /plugins!

    Please help!
     
  22. Offline

    Chrisbeee

    I don't have the permissions but I was told that Essentials Replaces Permissions and I am op
     
  23. Offline

    Acrobot

    @itorrent
    Really thanks for your help :)

    Everyone with Permissions fault - you don't have permissions/permissions configured.
    Sign in old format:
    place the sign like
    Code:
    itorrent
    64
    1:1
    DIRT
    
    thanks again itorrent :)

    @Emolk
    No, you need /plugins to be like iConomyChestShop(folder), config(yml) inside and iConomyChestShop(jar) in /plugins

    @Chrisbeee
    You still need to configure the permissions
     
  24. Offline

    Emolk

  25. Offline

    Chrisbeee

    Would you happen to know how, because I use Essentials and Not Permissions because Permissions for some reason doesn't work well.
     
  26. Offline

    Emolk

    do i need to re-name plugin.yml to config.yml? and what elce needs to be in the IConomyChestShop folder i just madE?
     
  27. Offline

    itorrent

    @Acrobot
    Have u tested version 0.96 with iConomy 4.4.6 ?
    Cuz i only have 4.2 and it seems to work better. i am trying to help a guy atm and hees using 4.4.6, he is experiencing some troubles (it doesn't work at all). but /money works. i have no idea if this is ever releveant to the iConomyChestShop plugin but it might be.

    Or its just him failing :) ill return with more info
     
  28. Offline

    Acrobot

  29. Offline

    Emolk

    ok, so, mine looks like yours, except inside my IConomyChestShop folder there is:
    plugin.yml
    com (folder)

    that wrong?
     
  30. Offline

    itorrent

  31. Offline

    Emolk

    ok ive done everything but now it says: Incorrect 'position' in config
     

Share This Page