[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

    Iyeru

    Edit: Nevermind, make sure not to be in creative mode when dealing with chestshop signs :p
     
  3. Offline

    rejectdeath

    can any1 please respond?
     
  4. Offline

    Epics

    Are you using the correct damage value?
    i.e
    Code:
    45:1
    The damage value is :1
    I'm not sure if ChestShop can call these values without the help of OddItem and using the IDs...
    Code:
        '373;16': [awkwardpotion]
        '373;32': [thickpotion]
        '373;64': [mundanepotionext]
        '373;8192': [mundanepotion]
        '373;8193': [egeneration]
        '373;8257': [regenerationext]
        '373;8225': [regeneration2]
        '373;8194': [swiftness]
        '373;8258': [swiftnessext]
        '373;8226': [swiftness2]
        '373;8195': [fireresistance]
        '373;8259': [fireresistanceext]
        '373;8197': [healing]
        '373;8229': [healing2]
        '373;8201': [strength]
        '373;8265': [strengthext]
        '373;8233': [strength2]
        '373;8196': [poison]
        '373;8260': [poisonext]
        '373;8228': [poison2]
        '373;8200': [weakness]
        '373;8264': [weaknessext]
        '373;8202': [slowness]
        '373;8266': [slownessext]
        '373;8204': [harming]
        '373;8236': [harming2]
        '373;16384': [splashmundanepotion]
        '373;16385': [splashregeneration]
        '373;16449': [splashregenerationext]
        '373;16417': [splashregeneration2]
        '373;16386': [splashswiftness]
        '373;16450': [splashswiftnessext]
        '373;16418': [splashswiftness2]
        '373;16387': [splashfireresistance]
        '373;16451': [splashfireresistanceext]
        '373;16389': [splashhealing]
        '373;16421': [splashhealing2]
        '373;16393': [splashstrength]
        '373;16457': [splashstrengthext]
        '373;16425': [splashstrength2]
        '373;16388': [splashpoison]
        '373;16452': [splashpoisonext]
        '373;16420': [splashpoison2]
        '373;16392': [splashweakness]
        '373;16456': [splashweaknessext]
        '373;16394': [splashslowness]
        '373;16458': [splashslownessext]
        '373;16396': [splashharming]
        '373;16428': [splashharming2]
     
  5. Offline

    rejectdeath

    Ah. That would probably be it. I'll give it a try.
    EDIT: Wait, can you show me the exact format this needs to be in for odditem? Thanks.
     
  6. Offline

    Epics

    [Yourname OR whatever you defined as "admin shop" in config]
    [# of items]
    [B price:S price]
    373;8204

    This would give me the harming potion 1 in OddItem. :)
     
  7. Offline

    Mtiger99

    Wats The one with gold nuggets[goldore] for money:confused:
     
  8. Hi i need help i cant buy from my server shops "admin-shop" it just keps telling me that i cant buy/sell here. its my server, i tryed most of the replys here and non of them is working.. plz help..
     
  9. Offline

    Epics

    Are you using permissions?
    Towny?
     
  10. permissions.. but im OP and owner of the server so the permissions shouldnt be the problem, but im a noob otherwise, i wouldnt be here.. :)
     
  11. i can give you the ip then you can come and see, if you op a person then he will overide the permission plugin..
     
  12. Offline

    Epics

    I went into his server and helped him out.
    Just had his syntax on the signs off. :)
     
  13. Offline

    napnapnap

    Hi people
    Is it possible to make a region with worldedit or worldguard in which the player can create shops and in not defined regions thay cant?(So that the player only can create shops in the market)
    Thx for helping :)
     
  14. Offline

    Epics

    I've thought about this lots before, it's a shame you can't really to my knowledge.
     
  15. Offline

    Olick

    I need reponse...
     
  16. Offline

    Acrobot

    Olick
    Well, that may mean an error in iConomy :/
    Also, are you sure you AREN'T in creative mode?

    Epics
    ChestShop handles damage values fine, using ":", you can also do, for example, "Red Wool" and it will be recognised.
    Also, really thanks :)

    Mtiger99
    You can use, for example, iConomy using InventoryDB or any other plugin using Vault.

    napnapnap
    Not yet, sorry :/
     
  17. Offline

    Olick

    Im not in creative mode. I had reinstall BOSE, and ChestShop don't work.. its worked there for two days
     
  18. Offline

    Acrobot

    Olick
    Hmm - I have no clue then, it should work just fine.
    Well, the things to check:
    - aren't you inside the spawn (if you want to fix that problem, go to bukkit.yml, change spawn-radius to 0 - that'll disable spawn protection)
    - what do you put on the sign (how does your sign look like)
     
  19. Offline

    Epics

    I didn't know if ChestShop supported potions, that's all. I knew it supported damage values!

    Just trying to lessen your load. Keep up the good work!
     
  20. Offline

    Olick

    The list of my Plugin:
    [​IMG]
     
  21. Offline

    Acrobot

    Epics
    Haha, thanks :)
    Potions work too, just not like "Swiftness potion" but "Potion:something"

    Olick
    Hmm, could you answer the 2 questions in the post you quoted?
     
  22. Offline

    Olick

    - aren't you inside the spawn (if you want to fix that problem, go to bukkit.yml, change spawn-radius to 0 - that'll disable spawn protection): No
    - what do you put on the sign (how does your sign look like):
    [​IMG]

    [​IMG]
     
  23. Offline

    Acrobot

    Olick
    Everything seems fine.
    What exactly happens if you right/left click the sign? What happens when you click someone's shop chest?
     
  24. Offline

    Olick

    Nothing. LWC alert only... i don't know why it don't work..
     
  25. Offline

    Acrobot

    Olick
    Hmm, mind giving me the IP to the server?
     
  26. Offline

    Olick

    77.111.240.78:25565

    Its a french server, so good luck =x
    What its your name ? I set you '' Member '' and i give you Sign, item and chest for testing
     
  27. Offline

    rejectdeath

    EDIT: Whoops, didn't read thoroughly enough, sorry. It's working!
     
  28. Offline

    Acrobot

    rejectdeath
    This work :)
    Do /iteminfo, it will tell you the exact ID and damage value of the item.
    Then, just do same as Epics said, just don't use ";", but use ":", so for example
    AcrobotPL
    5
    B 5:3 S
    373:8204 (or Potion:8204)
     
  29. Offline

    rejectdeath

    Hey by the way is it possible to sell multiple items from one shop?
     
  30. Offline

    Acrobot

  31. Offline

    AlexCityOfFun

    Please update it to 1,1 R3 !
     

Share This Page