[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

    obnoxint

    Hi. That's usually no problem. "Optimistic" means you (the code) is assuming that the data wont change between the moments you read and actually change the data. The transaction will be rolled back. This often happens when the database server is under heavy load. The most common solution is to retry again and again until the transaction is successful. Ask Acrobot nicely to put a useful handler to this exception but not to simply print the stacktrace instead.

    Hope this helps. Bye.
     
  3. Offline

    loli559

    /buy command isnt working?
     
  4. Offline

    saenokda

    hi, got a problem here.
    left mouse button doesn't work on normal user accounts for some reason, so i can't buy OR sell, depending on 'REVERSE_BUTTONS: true'.
    everything is fine on my admin account, i can buy and sell and my left mouse button works just fine.
    i have the latest version (chestshop 3.0 beta) and i have the necessary permission node (ChestShop.shop.*) for normal user accounts. (using permissions 1.3.6 btw)

    here is a list of the plugins i'm using.

    LOL nevermind, just found what caused it.
    earlier today i changed my server's spawn point to where my chestshops are, therefore removing the right of building or changing anything at all for normal user accounts, including left clicking the chestshop signs (which i didn't know). i set my spawn point where it was before, now everything's back to normal.
     
  5. Offline

    jcrom95

    Hey i was wondering if someone could tell me the average price for all the items so i know if im pricing items too low or too high.
     
  6. Offline

    Dddrgn

    I found a weird almost glitch thing with your plugin where it actually allows people to steal money from other players. Basically, when they are setting up a shop, on the sign they type the persons name on top of who they want to steal the money from, set it all up as if the person wants to BUY items, such as dirt, for a ridiculously high price. Then, they just collect some and sell it to the person without the person even wanting it. I think that you really should fix that, because I don't want to have to worry about people stealing money from each other.
     
  7. Hello,
    I got a problem with this Plugin.

    First of all, here is my groups.yml: http://pastebin.com/ADfLgmNb

    Also all rights have been given to the Users/Moderators, they don´t have the permission to use ChestShops. Where is the problem? Can anybody help me? :)

    I have Permissions 3.1.6, and CraftBukkit Build (#1000)

    Edit: Solved it myself. Simply deleate the iConomy infront of the ChestShop
     
    Brocodo likes this.
  8. Offline

    Razherrt

    Does ChestShop Beta 11 Bypass any LWC Chest locking limits when using LWC protection for Chestshops?
    Also, I'm trying to stop my players from hiding other stuff in their Chest Shops other than what they are selling, is this possible?
     
  9. Offline

    Donny

    Vacation!??!
    You act as if you don't get paid for this or something! ;)
     
  10. Offline

    Massimo1993

    @Acrobot

    this is the translaction to italian for the version 3


    Code:
    prefix: "&a[Shop] &f"
    iteminfo: "&aItem Information:&f"
    ACCESS_DENIED: "Non hai il permesso per farlo!"
    NOT_ENOUGH_MONEY: "Non hai abbastanza soldi!"
    NOT_ENOUGH_MONEY_SHOP: "Il proprietario del negozio non ha abbastanza soldi!"
    NO_BUYING_HERE: "Non puoi comprare qui!"
    NO_SELLING_HERE: "Non puoi vendere qui!"
    NOT_ENOUGH_SPACE_IN_INVENTORY: "Non hai abbastanza spazio nell'inventario!"
    NOT_ENOUGH_SPACE_IN_CHEST: "Non c'è abbastanza spazio nella chest!"
    NOT_ENOUGH_ITEMS_TO_SELL: "Non hai abbastanza oggetti da vendere!"
    NOT_ENOUGH_STOCK: "Gli oggetti di questo negozio sono esauriti."
    NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "Le scorte del tuo negozio di %material sono esaurite!"
    YOU_BOUGHT_FROM_SHOP: "Hai comprato %amount %item da %owner per %price."
    SOMEBODY_BOUGHT_FROM_YOUR_SHOP: "%buyer ha comprato %amount %item per %price da te."
    YOU_SOLD_TO_SHOP: "Hai venduto %amount %item a %buyer per %price."
    SOMEBODY_SOLD_TO_YOUR_SHOP: "%seller ti ha venduto %amount %item per %price."
    YOU_CANNOT_CREATE_SHOP: "Non puoi creare negozi di questo tipo!"
    NO_CHEST_DETECTED: "Non è stata trovata alcuna chest!"
    ANOTHER_SHOP_DETECTED: "Il negozio di un altro giocatore è stato rilevato!"
    CANNOT_ACCESS_THE_CHEST: "Non hai il permesso per accedere a questa chest!"
    PROTECTED_SHOP: "Negozio protetto con successo!"
    SHOP_CREATED: "Negozio creato con successo!"
    NO_PERMISSION: "Non hai i permessi per farlo!"
    INCORRECT_ITEM_ID: "L'id che hai specificato è errato!"
     
  11. Offline

    Poeschl

    We tried it out with transactions, but nothing changes :/ The statspage only contains the head and food template.
     
  12. Offline

    Moe041991

    @Acrobot
    The group has the permissions:
    Code:
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.buy'
    But still cant create a shop.

    Using ChestShop3
     
  13. Offline

    Danton1983

    for some reason i am unable to get this plugin to work. I have essentials 2.5 I have icnonmy5 I also saw in change log now uses register, is it a requirement or an option? because it isn't mentioned anywhere else. I left the default settings on all 3 and yet i am not able to get this to work. I tried putting the player name at the top of the sign since it wasn't auto adding it. still nothing works just looks like text on a sign. i removed plugin added back same result.
     
  14. Offline

    khatbert69

    Danton i am not the author or even affiliated however I had this same problem and fought it for days. My personal suggestion is upgrade to the Chestshop 3.0 BETA. Solved everything for me.
     
  15. Offline

    khatbert69

    The economy on your server is YOURS to control. Thus how others price on their server is irrelevant. You may price everything at 1c they may price everything @ 100gold its essentially irrelevant. You need to decided the lowest possible item and its price for your economy then price everything from that point. Based on supply and demand.
     
  16. Offline

    khatbert69

    Anybody know off the top of their head the syntax for an Admin shop? I tried not having a chest (which admin shops dont require) and then standard:

    <blank>
    quantity
    b:s
    item

    and then i tried putting admin in the blank and admins (my group name). I for some reason can not find the syntax anywhere. Probably just overlooking it.

    Thanks!
     
  17. Offline

    johnnyrocks

    For AdminShop, my players could buy the items but simply cannot sell them. Is anyone having this problem? I'm trying to fix it the best I can by changing up permissions and fixing them.
     
  18. Offline

    sparroha

    the blugin is not registering LIGHT_GRAY WOOL as an item. the sign just posts as in and doesn't initialize as a shop. I tried it with LIGHT_BLUE WOOL and it worked fine.
     
  19. Offline

    rockyct

    Try using the code for it: 35:8
     
  20. Offline

    Switch0r

    Can players with node "iConomyChestShop.shop.buy" buy from a AdminShop?
     
  21. Offline

    loli559

    i have made some shops

    and i have put in the all the nodes except admin for everybody on permissions, but still no one can buy but admins
     
  22. Offline

    PatrickFreed

    @Acrobot is a griefer! :p
    Show Spoiler

    [​IMG]
     
  23. Offline

    Soulblitz

    I've got a question. The shop mod I used on my old server was LocalShops, but because I was the only OP and had to create the shop, whenever people bought from the shop, I got all the money. With this mod, as the only OP/Admin (we have Permissions now), is it possible for me to create a shop, but not take any of the profit from it? I want to go out and earn money like the rest of my friends. Is that possible with this mod?
     
  24. Offline

    Soulblitz

    Can normal users not buy from Admin shops? I want to have an admin shop so it can have infinite stock and without me getting the money from it, but my normal users (I'm OP) can't buy from it. I've given them the buy, sell and item info permissions. Can you do this or am I doing it wrong?
     
  25. Offline

    Poeschl

    new suggestions?
     
  26. Offline

    Hamad

    I am using PermissionEx and i added nodes exactly, and ppl can buy or sell, they have no permission i tried other plugin nodes, it works for them, but this only doesnt
     
  27. Offline

    tony687

    Me and my friend made some shops, and when another player thats Builder rank can't buy or sell. I think we somehow made an admin shop, but i think we did it right.

    Here is an example of a dirt store

    Line1: nothing
    Line2: 5
    Line3: 2:1
    Line4: DIRT

    Currently using perms 3.1.6
    Code:
     permissions file:
    groups:
        Guest:
            default: true
            info:
                prefix: '&2'
                suffix: '&2'
                build: true
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.spawn'
                - 'essentials.afk'
                - 'essentials.list'
                - 'worldwarp.wwarp'
                - 'worldwarp.wlist'
                - 'deathmessageplugin.sendmessage'
                - 'deathmessageplugin.getmessage'
                - 'scrollingmenusign.scroll'
                - 'scrollingmenusign.execute'
                - 'xauth.register'
                - 'iConomy.*'
                - '-iConomy.admin.*'
                - 'iConomyChestShop.*'
        Builder:
            default: false
            info:
                prefix: '&b'
                suffix: '&b'
                build: true
            inheritance:
                - Guest
            permissions:
                - 'essentials.tp'
                - 'essentials.compass'
                - 'mobarena.use.*'
                - 'mobarena.classes.*'
                - 'mobarena.arenas.*'
                - 'pvptoggle.use'
                - 'pvptoggle.command*'
        AdvBuilder:
            default: false
            info:
                prefix: '&3'
                suffix: '&3'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'colorme.*'
                - 'mothernature.command.*'
                - 'mothernature.day'
        Mod:
            default: false
            info:
                prefix: '&e'
                suffix: '&e'
                build: true
            inheritance:
                - AdvBuilder
            permissions:
                - 'bar.foo'
                - 'instabreak.toggle'
        AdvMod:
            default: false
            info:
                prefix: '&1'
                suffix: '&1'
                build: true
            inheritance:
                - Mod
            permissions:
                - 'essentials.item'
                - 'essentials.time.world'
                - 'essentials.weather'
                - 'instabreak.force'
                - 'magiccarpet.*'
        EliteMod:
            default: false
            info:
                prefix: '&6'
                suffix: '&6'
                build: true
            inheritance:
                - AdvMod
            permissions:
                - 'essentials.invsee'
                - 'essentials.unlimited.*'
                - 'instabreak.bedrock'
                - 'worldedit.*'
                - 'mothernature.wand'
                - 'mothernature.lwand'
        Sniper:
            default: false
            info:
                prefix: '&8'
                suffix: '&9'
                build: true
            inheritance:
                - EliteMod
            permissions:
                - 'bar.foo'
                - 'essentials.god'
                - 'essentials.god.others'
                - 'essentials.give'
                - 'slap.slap'
                - 'essentials.kill'
        SemiAdmin:
            default: false
            info:
                prefix: '&c'
                suffix: '&c'
                build: true
            inheritance:
                - EliteMod
            permissions:
                - 'essentials.heal'
                - 'essentials.god'
                - 'essentials.god.others'
                - 'essentials.give'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory.*'
                - 'essentials.broadcast'
                - 'ThunderTools.strike'
                - 'worldwarp.wcreate'
        Admin:
            default: false
            info:
                prefix: '&c'
                suffix: '&c'
                build: true
            inheritance:
            permissions:
                - '*'
                - '-mobarena.setup.*'
                - '-pvptoggle.admin'
                - '-pvptoggle.gcommand.status'
                - '-pvptoggle.gadmin'
        Owner:
            default: false
            info:
                prefix: '&4'
                suffix: '&4'
                build: true
            inheritance:
            permissions:
                - '*'
     
  28. @tony687 &Moe041991

    Look at this:

     
  29. Offline

    Hamad

    Only Admins Can buy From Another Admins, Members And VIP And Moderators Can't Buy, I dont knwo What I did Wrong In Permissions< It says You have no permissions, heres my permissions config, I use permissionex
    Code:
    groups:
        default:
            default: true
            permissions:
            - modify.chat
            - modifyworld.chat
            options:
                rank: '1000'
        Admins:
            prefix: '&0(&4Admins&0)&7 '
            permissions:
            - -modifyworld.entity.mobtarget.*
            - '*'
            options:
                rank: '0'
        Member:
            prefix: '&0(&8M&7ember&0)&7 '
            permissions:
            - myhome.home.*
            - commandbook.spawn
            - mobarena.classes.*
            - mobarena.use.*
            - iConomy.access
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - iConomyChestShop.shop.buy
            - iConomy.payment
            - iConomy.rank
            - modifyworld.*
            options:
                rank: '900'
            default: false
        VIP:
            prefix: '&0(&eVIP&0)&7 '
            permissions:
            - -modifyworld.entity.mobtarget.creeper
            - modifyworld.*
            inheritance:
            - Member
            options:
                rank: '800'
            default: false
        Moderator:
            prefix: '&0(&1Moderator&0)&7 '
            permissions:
            - iConomyChestShop.shop.sell
            - iConomyChestShop.shop.buy
            - myhome.*
            - commandbook.teleport
            - commandbook.teleport.other
            - commandbook.give.other
            - commandbook.give
            - commandbook.bans.unban
            - commandbook.bans.ban
            - commandbook.kick
            - commandbook.time
            - CommandBook.time
            - permissions.item
            - -modifyworld.entity.mobtarget.*
            - modifyworld.*
            inheritance:
            - VIP
            options:
                rank: '100'
    users:
        Nicolaitis:
            group:
            - Admins
        Hexas92:
            group:
            - Admins
        Player:
            group:
            - Admins
        silverski:
            group:
            - Member
        Hille:
            group:
            - VIP
        TheGeologist:
            group:
            - Admins
        xxkillxx92:
            group:
            - Admins
        TECetc:
            group:
            - Member
        grumbly:
            group:
            - Moderator
        Joga:
            group:
            - Member
        Keldrim:
            group:
            - Moderator
        sagil:
            group:
            - Member
    
     
  30. Your IconomyChestShop version?
    Cordialy
     
  31. Offline

    Hamad

    Latest, I just downloaded now :), now its work but i get no permissions, and also says you succesfully bought iron_pickaxe
     

Share This Page