[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. IconomyChestShop 2.75
    or
    IconomyChestShop Beta 3


    (version of permissionex?)

    Cordialy
     
  3. Offline

    Hamad

    nvm i fixed it, its just the iconomy old version and i add 2 nodes of buy
     
  4. Offline

    riuthamus

    was messing around with my shops and got the most epic idea.... could you make it where multiple people could have access to a store? That way they could all add items to it for sale. For example,

    i put a bank in charge of the shop, and whoever has access to the bank, would have access to the shop.... or maybe a group, and everybody added gets % of the sale
     
  5. Offline

    Kane

    @Acrobot just checking up on this wonderful plugin. How is the beta going? I noticed been on beta 11 for a while hehe.
     
  6. Offline

    Padrino

    Code:
    18:59:45 [SCHWERWIEGEND] Could not load 'plugins\iConomyChestShop.jar' in folder
     'plugins':
    while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 131, column 84:
    
    What I've done wrong?
    (iConomyChestShop Version: 2.75 + iConomy)
     
  7. Offline

    Lucas_Xero

    can you please update it to iconomy 6? That's the one I use. It is way better than 5
     
  8. Offline

    Acrobot

    @Lucas_Xero
    Oh, I've been on holidays :)
    It's added in newest BETA, it'll be out soon.

    @Padrino
    Something wrong with your config file - you've got a tabulator, delete it :)

    @Kane
    Hey, as it states in main post - I was on holidays :)
    It will be out soon =)

    @riuthamus
    Yeah, nice idea, but may be hard to implement - however I'll try :)

    @ThisDudeRiteHere
    Won't use BETA's?
    They are not really beta's.
    They are just a new version, which will be out soon, but it's a HUGE change inside (not outside, it's pretty much the same)

    @cruzer0
    Thanks :)

    @mau5on
    @mico_platt
    Something is wrong with your 3rd sign line :)

    @aeronx
    Check if it isn't ChestShop - if it is, just add ChestShop.shop.* permission.

    @Dddrgn
    Not possible, unless you gave them iConomyChestShop.admin permission or ChestShop.admin permission.

    @Razherrt
    Yeah, it unfortunately does yet, I'll be fixing that.

    @Donny
    Oh yeah, sorry =(

    :p

    @Poeschl
    Wow, that's bad :/
    I will look into it.

    @Moe041991
    "Using ChestShop 3"
    The permissions for ChestShop 3 have changed.
    From iConomyChestShop -> ChestShop.
    So, for example, iConomyChestShop.shop.buy is ChestShop.shop.buy, etc. :)

    @Danton1983
    Register is just an "API", something that programmers care about :p
    Do you get any errors at startup?
    Which CraftBukkit version are you using?

    @khatbert69
    Default setting - "Admin Shop", or "AdminShop" - not-case-sensitive
    In ChestShop 3, you can change that.

    @johnnyrocks
    Maybe spawn protection?

    @sparroha
    Hmm, I'll look into it, it probably is named differently.

    @Switch0r
    Yes

    @loli559
    Are you sure you are using correct permissions?

    @PatrickFreed
    Haha, you still have it?
    Nice one, however this was not me, I have just seen it burning :p

    @Soulblitz
    Yeah, just create an "Admin Shop" :)
    (Set the first line to "AdminShop" or "Admin Shop" case-insensitive)

    And check if you have got the correct permissions for correct version (ChestShop for iConomyChestShop).

    @Hamad
    Are you sure your permissions are for the correct version? (ChestShop or iConomyChestShop)

    @tony687
    Instead iConomyChestShop.*, add 3 nodes:
    iConomyChestShop.shop.create
    iConomyChestShop.shop.buy
    iConomyChestShop.shop.sell

    @Navigateur
    Really thanks =)


    WOW. I believe that's everything, I'm sorry if I forgot to respond to anyone :)
     
    PatrickFreed and riuthamus like this.
  9. When i attempt to create a shop, this error occurs::

    Code:
    [SEVERE] Could not pass event SIGN_CHANGE to iConomyChestShop
    java.lang.NoSuchMethodError: com.griefcraft.sql.PhysDB.registerProtection(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V
            at com.Acrobot.iConomyChestShop.ProtectionManager.protectBlock(ProtectionManager.java:65)
            at com.Acrobot.iConomyChestShop.SignManager.onSignChange(SignManager.java:169)
            at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:462)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:969)
            at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I'm trying to make it so that people cant create shops, unless they have locks available in LWC... :/
    Thanks :D
     
  10. Offline

    Acrobot

    @stargateanubis14
    Update to ChestShop, but the feature you are talking about is not yet available in the plugin :/
     
  11. Offline

    Nurgo

    Can you please add the following permission nodes:
    iConomyChestShop.shop.create.buy.<id>
    iConomyChestShop.shop.create.sell.<id>

    I would like to setup a job system based on permission groups by enabling each group to buy or sell only certain types of items.

    Keep up the good work ! :)
     
  12. Offline

    Acrobot

    @Nurgo
    Hmm... You can partially accomplish that by "[restricted]" signs in ChestShop 3 - just place a sign that has
    [restricted] on the first line, and names of Permissions 3/2 groups on the last 3 lines, for example:

    [restricted]
    Admin
    Owner

    And thanks :)
     
  13. Offline

    petty41

    Whenever someone else tries to buy or sell to my shop it will say I don't want them to buy from here. How do I fix this? I have done a LOT of research.
     
  14. Offline

    Acrobot

    @petty41
    Something is wrong on your 3rd line.
    It's EITHER
    B price
    S price
    B price:price S

    (B and S can be on either side of the price)
     
  15. Offline

    petty41

    Thanks, it works now.
     
  16. Offline

    Dustin545

    Hey i'm geting a error no matter what i do with permissions The error i get is[permissions] you can't make this type of shop

    Here is my permissions Groups.yml file
    Code:
    groups:
        owner:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
            permissions:
            - bb.admin.watch
            - bb.admin.info
            - bb.admin.rollback
            - lwc.create
            - lwc.create.?
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.protect
            - lwc.mod
            - lwc.admin
            - godmode.default.god
            - godmode.command.godSelf
            - godmode.command.godOther
            - godmode.default.noFire
            - godmode.command.noFire
            - towny.admin
            - towny.town.new
            - towny.town.claim
            - towny.town.resident
            - towny.nation.new
            - towny.wild.*
            - towny.wild.build
            - towny.wild.destroy
            - towny.wild.switch
            - towny.wild.item_use
            - towny.wild.block.[block id].*
            - towny.spawntp
            - towny.publicspawntp
            - heroes.classes.*
            - heroes.classes.class-name-in-all-lowercase
            - heroes.admin.exp
            - heroes.admin.classchange
            - heroes.admin.healthchange
            - heroes.admin.reload
            - afk
            - back
            - back.ondeath
            - balance
            - clearinventory
            - compass
            - depth
            - getpos
            - geoip.show
            - help
            - helpop
            - home
            - home.others
            - ignore
            - info
            - kit
            - list
            - mail
            - mail.send
            - me
            - motd
            - msg
            - nick
            - pay
            - ping
            - portal
            - powertool
            - protect
            - r
            - rules
            - seen
            - sell
            - sethome
            - setxmpp
            - signs.create.protection
            - signs.create.trade
            - signs.break.protection
            - signs.break.trade
            - signs.use.balance
            - signs.use.buy
            - signs.use.disposal
            - signs.use.free
            - signs.use.heal
            - signs.use.mail
            - signs.use.protection
            - signs.use.sell
            - signs.use.time
            - signs.use.trade
            - signs.use.warp
            - signs.use.weather
            - spawn
            - suicide
            - tpa
            - tpaccept
            - tpahere
            - tpdeny
            - warp
            - warp.list
            - world
            - worth
            - xmpp
            - trp.*=*
            - magiccarpet.mc
            - magiccarpet.ml
            - iConomyChestShop.shop.create - creating a shop with any item
            - iConomyChestShop.shop.create.<id> - creating a shop with item with <id>
            - iConomyChestShop.shop.exclude.<id> - excludes <id> from the list of allowed items
            - iConomyChestShop.shop.buy - buying from shop
            - iConomyChestShop.shop.sell - selling to shop
            - iConomyChestShop.command.iteminfo - /iteminfo command
            - iConomy.access
            - iConomy.admin.account.create
            - iConomy.admin.account.remove
            - iConomy.admin.bank.create
            - iConomy.admin.bank.remove
            - iConomy.admin.bank.set
            - iConomy.admin.empty
            - iConomy.admin.grant
            - iConomy.admin.hide
            - iConomy.admin.purge
            - iConomy.admin.reset
            - iConomy.admin.set
            - iConomy.admin.stats
            - iConomy.bank.access
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - iConomy.bank.leave
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.set
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.transfer.multipleplayer's bank
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
        admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            - moderator
            - member
            permissions:
            - bb.admin.watch
            - bb.admin.info
            - bb.admin.rollback
            - lwc.create
            - lwc.create.?
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.protect
            - lwc.mod
            - lwc.admin
            - towny.admin
            - towny.town.new
            - towny.town.claim
            - towny.town.resident
            - towny.nation.new
            - towny.wild.*
            - towny.wild.build
            - towny.wild.destroy
            - towny.wild.switch
            - towny.wild.item_use
            - towny.wild.block.[block id].*
            - towny.spawntp
            - towny.publicspawntp
            - afk
            - back
            - back.ondeath
            - balance
            - clearinventory
            - compass
            - depth
            - getpos
            - geoip.show
            - help
            - helpop
            - home
            - home.others
            - ignore
            - info
            - kit
            - list
            - mail
            - mail.send
            - me
            - motd
            - msg
            - nick
            - pay
            - ping
            - portal
            - powertool
            - protect
            - r
            - rules
            - seen
            - sell
            - sethome
            - setxmpp
            - signs.create.protection
            - signs.create.trade
            - signs.break.protection
            - signs.break.trade
            - signs.use.balance
            - signs.use.buy
            - signs.use.disposal
            - signs.use.free
            - signs.use.heal
            - signs.use.mail
            - signs.use.protection
            - signs.use.sell
            - signs.use.time
            - signs.use.trade
            - signs.use.warp
            - signs.use.weather
            - spawn
            - suicide
            - tpa
            - tpaccept
            - tpahere
            - tpdeny
            - warp
            - warp.list
            - world
            - worth
            - xmpp
            - trp.*=*
            - magiccarpet.mc
            - magiccarpet.ml
            - iConomyChestShop.shop.create - creating a shop with any item
            - iConomyChestShop.shop.create.<id> - creating a shop with item with <id>
            - iConomyChestShop.shop.exclude.<id> - excludes <id> from the list of allowed items
            - iConomyChestShop.shop.buy - buying from shop
            - iConomyChestShop.shop.sell - selling to shop
            - iConomyChestShop.command.iteminfo - /iteminfo command
            - iConomy.access
            - iConomy.bank.access
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - iConomy.bank.leave
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.set
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.transfer.multipleplayer's bank
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
        moderator:
            default: false
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance:
            - trial mod
            - member
            permissions:
            - bb.admin.watch
            - bb.admin.info
            - bb.admin.rollback
            - lwc.create
            - lwc.create.?
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.protect
            - lwc.mod
            - towny.town.new
            - towny.town.claim
            - towny.town.resident
            - towny.nation.new
            - towny.wild.*
            - towny.wild.build
            - towny.wild.destroy
            - towny.wild.switch
            - towny.wild.item_use
            - towny.wild.block.[block id].*
            - towny.spawntp
            - towny.publicspawntp
            - afk
            - back
            - back.ondeath
            - balance
            - help
            - home
            - ignore
            - info
            - list
            - mail
            - mail.send
            - me
            - msg
            - nick
            - pay
            - protect
            - rules
            - sell
            - sethome
            - signs.create.protection
            - signs.create.trade
            - signs.break.protection
            - signs.break.trade
            - signs.use.balance
            - signs.use.buy
            - signs.use.disposal
            - signs.use.free
            - signs.use.heal
            - signs.use.mail
            - signs.use.protection
            - signs.use.sell
            - signs.use.time
            - signs.use.trade
            - signs.use.warp
            - signs.use.weather
            - spawn
            - suicide
            - tpa
            - tpaccept
            - tpahere
            - tpdeny
            - warp
            - warp.list
            - trp.*=*
            - magiccarpet.mc
            - magiccarpet.ml
            - iConomyChestShop.shop.create - creating a shop with any item
            - iConomyChestShop.shop.create.<id> - creating a shop with item with <id>
            - iConomyChestShop.shop.exclude.<id> - excludes <id> from the list of allowed items
            - iConomyChestShop.shop.buy - buying from shop
            - iConomyChestShop.shop.sell - selling to shop
            - iConomyChestShop.command.iteminfo - /iteminfo command
            - iConomy.bank.access
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - iConomy.bank.leave
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.set
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.transfer.multipleplayer's bank
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
        trial mod:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
            - member
            permissions:
            - lwc.create
            - lwc.create.?
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.protect
            - lwc.mod
            - towny.town.new
            - towny.town.claim
            - towny.town.resident
            - towny.nation.new
            - towny.wild.*
            - towny.wild.build
            - towny.wild.destroy
            - towny.wild.switch
            - towny.wild.item_use
            - towny.wild.block.[block id].*
            - towny.spawntp
            - towny.publicspawntp
            - afk
            - back
            - back.ondeath
            - balance
            - help
            - home
            - ignore
            - info
            - list
            - mail
            - mail.send
            - me
            - msg
            - nick
            - pay
            - protect
            - rules
            - sell
            - sethome
            - signs.create.protection
            - signs.create.trade
            - signs.break.protection
            - signs.break.trade
            - signs.use.balance
            - signs.use.buy
            - signs.use.disposal
            - signs.use.free
            - signs.use.heal
            - signs.use.mail
            - signs.use.protection
            - signs.use.sell
            - signs.use.time
            - signs.use.trade
            - signs.use.warp
            - signs.use.weather
            - spawn
            - suicide
            - tpa
            - tpaccept
            - tpahere
            - tpdeny
            - warp
            - warp.list
            - trp.*=*
            - magiccarpet.mc
            - magiccarpet.ml
            - iConomyChestShop.shop.create - creating a shop with any item
            - iConomyChestShop.shop.create.<id> - creating a shop with item with <id>
            - iConomyChestShop.shop.exclude.<id> - excludes <id> from the list of allowed items
            - iConomyChestShop.shop.buy - buying from shop
            - iConomyChestShop.shop.sell - selling to shop
            - iConomyChestShop.command.iteminfo - /iteminfo command
            - iConomyChestShop.admin - admin
            - iConomy.access
            - iConomy.admin.account.create
            - iConomy.admin.account.remove
            - iConomy.admin.bank.create
            - iConomy.admin.bank.remove
            - iConomy.admin.bank.set
            - iConomy.admin.empty
            - iConomy.admin.grant
            - iConomy.admin.hide
            - iConomy.admin.purge
            - iConomy.admin.reset
            - iConomy.admin.set
            - iConomy.admin.stats
            - iConomy.bank.access
            - iConomy.bank.deposit
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - iConomy.bank.leave
            - iConomy.bank.list
            - iConomy.bank.main
            - iConomy.bank.main.set
            - iConomy.bank.main.view
            - iConomy.bank.transfer
            - iConomy.bank.transfer.multipleplayer's bank
            - iConomy.bank.withdraw
            - iConomy.list
            - iConomy.payment
            - iConomy.rank
        member:
            default: true
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance:
            - visitor
            permissions:
            - lwc.create
            - lwc.create.?
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.protect
            - towny.town.claim
            - towny.town.resident
            - towny.wild.*
            - towny.wild.build
            - towny.wild.destroy
            - towny.wild.switch
            - towny.wild.item_use
            - towny.wild.block.[block id].*
            - towny.spawntp
            - towny.publicspawntp
            - afk
            - back
            - back.ondeath
            - balance
            - help
            - home
            - help
            - info
            - list
            - mail
            - mail.send
            - me
            - msg
            - pay
            - rules
            - sell
            - sethome
            - spawn
            - suicide
            - tpaccept
            - tpdeny
            - warp
            - iConomyChestShop.shop.create - creating a shop with any item
            - iConomyChestShop.shop.create.<id> - creating a shop with item with <id>
            - iConomyChestShop.shop.exclude.<id> - excludes <id> from the list of allowed items
            - iConomyChestShop.shop.buy - buying from shop
            - iConomyChestShop.shop.sell - selling to shop
            - iConomyChestShop.admin - admin
        visitor:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
            - afk
            - back
            - back.ondeath
            - help
            - info
            - list
            - msg
            - rules
            - spawn
            - suicide
    Here is my iConomyChestShop Config.yml file
    Code:
    maxPrice: -1
    minPrice: -1
    #maxPrice - maximum buy/sell price
    #minPrice - minimum buy/sell price
    
    reverseButtons: false
    sell: true
    distance: 1
    position: 'ANY'
    protection: true
    
    #reverseButtons - If true, people buy with left click and sell with right click.
    #sell - Do you want to let people create/use shops, that buy things from players?
    #distance - Distance between the chest and the sign. (Warning, chests that aren't exactly that far WON'T work as shops)
    #position - Position of the chest, relative to the sign. ANY for anything in radius of 1 block, other: goo.gl/YItRO
    #protection - Do you want to use built-in shop protection?
    
    LWCprotection: true
    signLWCprotection: false
    
    #LWCprotection - Do you want to protect the chests with LWC?
    #signLWCprotection - Do you want to protection signs with LWC? (Warning, gives LWC message when using shop!)
    
    log: true
    logToFile: false
    logFilePath: "plugins/iConomyChestShop/iConomyChestShop.log"
    
    #log - Do you want to log transactions and shop creating?
    #logToFile - Do you want to save the log to file? (Warning, this lags a bit - I reccomend turning this off, as server.log will have these informations too.)
    #logFilePath - Path to log file.
    
    sneakMode: true
    allowUsedItemsToBeSold: false
    stackUnstackableItems: false
    
    #sneakMode - Do you want to let people to shop using left mouse button, and destroy the shop signs when sneaking?
    #allowUsedItemsToBeSold - Do you want to let people sell used tools to the shop? (Warning, the tools will be "fresh" if player sells them. NOT RECCOMENDED)
    #stackUnstackableItems - Do you want to stack all items in chest?
    
    useDB: true
    howLongToStoreInformationInDB: 600
    intervalBetweenTransactions: 100
    
    #useDB - Do you want to use bukkit's built-in database to log the transactions? (Must be turned on, if you want to generate price list)
    #howLongToStoreInformationInDB - How old the transation must be before being deleted? (In seconds)
    #intervalBetweenTransaction - How often can one person buy or sell to the shop? (In miliseconds: 1000ms = 1 sec)
    
    generateTransactionList: false
    intervalBetweenGeneratingTransactionList: 5
    showUnusedItemsInGeneratedList: false
    
    #generateTransactionList - Do you want to generate average price, amount of bought, sold items page? (Currently in ALPHA state)
    #intervalBetweenGeneratingTransactionList - Interval between generating the list. (In seconds)
    #showUnusedItemsInGeneratedList - Do you want to show items, that were not bought/sold on the list?
    
    separatingLineAfterTransaction: false
    doNotRemoveSignIfNotCorrect: false
    serverAccountName: ""
    #separatingLineAfterTransaction - Do you want to show a line in the chat after transaction?
    #doNotRemoveSignIfNotCorrect - Do you want to keep the sign, if it's not correct?
    #serverAccountName - Account of the server to use with AdminShops, blank if you don't want to use one
    
    #Messages:
    showOutOfStock: false
    showMoneyAfterTransaction: false
     
    #showOutOfStock - Do you want to show "Out of stock" messages?
    #showMoneyAfterTransaction - Do you want to show your balance after transaction?
     
    # If you want to translate this file, do it yourself, or copy the "lang:" part from another translation.
    # Prefix will be dispayed at the beggining of every message.
    # You can use terms like <buyer>, <amount> or <item> in messages, however
    # only certain messagess offer this.
    #
    # <buyer> - nick of the person who bought from shop.
    # <seller> - nick of the person who sold to shop.
    # <owner> - nick of the person who own the shop.
    # <amount> - amount of item
    # <item> - name of item
    # <money> - amount of money with iConomy currency
    # <cost> - cost of the item
    #
    # You can always use hMod colors, like
    # &1, &f etc...
    # For example: This is my&6 golden text.
    
    #MAXIMUM OF 55 CHARACTERS WITH PREFIX!
    
    #Experimental: Try changing the prefix to '                          &a[Shop] &f                                             '
    #The text will be centered!
    lang:
        prefix: '&a[Shop] &f'
        Somebody_sold_items_to_your_shop: '<seller> sold <amount> <item> for <cost> to your shop!'
        Somebody_bought_items_from_your_shop: '<buyer> bought <amount> <item> for <cost>!'
        Your_shop_is_out_of_stock: 'Your <item> shop is out of stock!'
        You_cannot_use_your_own_shop: "You can't use your own shop!"
    
        You_bought_items: 'You bought <amount> <item> from <owner> for <cost>.'
    
        Your_inventory_is_full: 'Your inventory is full!'
        You_have_got_not_enough_money: "You don't have enough money!"
        Shop_is_out_of_stock: 'This shop is out of stock!'
    
        You_have_not_enough_items: 'You have not enough items to sell!'
        You_sold_items: "You sold <amount> <item> for <cost> to <owner>'s shop."
        Chest_is_full: 'This chest is full!'
    
        Seller_has_not_enough_money: "Seller has not enough money!"
        Seller_has_no_account: "Seller's account doesn't exist!"
        No_selling_to_this_shop: "Shop owner doesn't want you to sell here!"
        No_buying_from_this_shop: "Shop owner doesn't want you to buy here!"
    
        Your_balance: 'After transaction you have <money>.'
    
        Shop_is_created: 'Your shop has been successfully created!'
        Shop_cannot_be_created: "You have no chest set up!"
        Shop_was_LWC_protected: "Your shop was successfully protected with LWC."
    
        Mode_changed_to_sell: 'Mode set to selling!'
        Mode_changed_to_buy: 'Mode set to buying!'
    
        You_tried_to_steal: "Don't steal!"
        wait: "&4Wait!"
    
        iteminfo: "&aItem ID and names:"
        incorrectID: "Incorrect item ID!"
        Couldnt_fit_on_sign: "Couldn't fit something on the sign!"
        Negative_price: "Can't make shop with negative buy/sell price!"
        Incorrect_price: "This price is too high/low!"
        Incorrect_item_amount: "The item amount you specified is invalid!"
    Plz help asap
     
  17. Offline

    Razherrt

    Im very excited for the changes coming soon Acrobat. If what you say is true, we'll have chest shop limits, charging money for chestshops, and no more people exploiting chestshops to hide other items. :D

    Very Excited to see what the future holds. This would be a miracle for my RPG server.
     
  18. Offline

    Nurgo

    I'm don't think that this will accomplish what I want to do. I want to prevent certain groups from creating certain types of shop (A blacksmith can create a buy-shops for ore and can create sell-shops for weapons and tools).
     
  19. Offline

    geborg

    Am i noob? But why can only admins use this shop? When i am try with normal user the Iconomychestshop plugin says i haven't got permissions to use the shop. What i'm doing wrong?
     
  20. Offline

    Sadness

    MC.jpg Why does evryone in my server get this message?
    Noone can buy or sell stuff, but they can create shops though. Please help.

    Heres my permissions groups.yml file

    Code:
    groups:
      Guest:
        default: true
        permissions:
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.spawn
        inheritance: []
        info:
          prefix: '&e'
          build: false
          suffix: ''
      Member:
        default: false
        permissions:
        - essentials.afk
        - essentials.back
        - essentials.balance
        - essentials.compass
        - essentials.help
        - essentials.home
        - essentials.list
        - essentials.motd
        - essentials.msg
        - essentials.nick
        - essentials.pay
        - essentials.rules
        - essentials.sethome
        - essentials.spawn
        - essentials.suicide
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.worth
        - iConomyChestShop.command.iteminfo
        - iConomyChestShop.shop.buy
        - iConomyChestShop.shop.create
        - iConomyChestShop.shop.create.<id>
        - iConomyChestShop.shop.exclude.<id>
        - iConomyChestShop.shop.sell
        - lwc.protect
        - towny.publicspawntp
        - towny.spawntp
        - towny.town.claim
        - towny.town.new
        - towny.town.resident
        - towny.wild.*
        inheritance: []
        info:
          prefix: '&2'
          build: true
          suffix: ''
      SemiAdmin:
        default: false
        permissions:
        - iConomyChestShop.shop.create
        - iConomyChestShop.shop.create.<id>
        - iConomyChestShop.shop.exclude.<id>
        - iConomyChestShop.shop.buy
        - iConomyChestShop.shop.sell
        - iConomyChestShop.command.iteminfo
        - -groupmanager.mantogglesave
        - essentials
        - essentials.antioch
        - essentials.burn
        - essentials.clearinventory
        - essentials.cooldown.bypass
        - essentials.deljail
        - essentials.fireball
        - essentials.gc
        - essentials.give
        - essentials.god
        - essentials.heal
        - essentials.heal.others
        - essentials.lightning
        - essentials.invsee
        - essentials.item
        - essentials.jails
        - essentials.kickall
        - essentials.kit.*
        - essentials.mute
        - essentials.sell
        - essentials.setjail
        - essentials.signs.*
        - essentials.spawnmob
        - essentials.teleport.cooldown.bypass
        - essentials.teleport.timer.bypass
        - essentials.togglejail
        - groupmanager.*
        - towny.town.new
        - towny.town.claim
        - towny.town.resident
        - towny.spawntp
        - towny.publicspawntp
        - lwc.protect
        - lwc.admin
        - towny.wild.*
        - QuantumConnectors.create.*
        inheritance:
        - moderator
        info:
          prefix: '&c'
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - iConomyChestShop.shop.create
        - iConomyChestShop.shop.create.<id>
        - iConomyChestShop.shop.exclude.<id>
        - iConomyChestShop.shop.buy
        - iConomyChestShop.shop.sell
        - iConomyChestShop.command.iteminfo
        - essentials.ban
        - essentials.banip
        - essentials.broadcast
        - essentials.delwarp
        - essentials.eco
        - essentials.ext
        - essentials.getpos
        - essentials.jump
        - essentials.kick
        - essentials.kill
        - essentials.setwarp
        - essentials.signs.break.*
        - essentials.signs.create.*
        - essentials.spawner
        - essentials.thunder
        - essentials.time
        - essentials.time.world
        - essentials.togglejail
        - essentials.top
        - essentials.tp
        - essentials.tphere
        - essentials.tpo
        - essentials.tpohere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.weather
        - essentials.whois
        - essentials.world
        - groupmanager.listgroups
        - groupmanager.mandemote
        - groupmanager.manload
        - groupmanager.manpromote
        - groupmanager.mansave
        - groupmanager.manselect
        - groupmanager.manuadd
        - groupmanager.manudel
        - lwc.mod
        - lwc.protect
        - towny.publicspawntp
        - towny.spawntp
        - towny.town.claim
        - towny.town.new
        - towny.town.resident
        - towny.wild.*
        - essentials.itemspawn.item-all
        - essentials.itemspawn.item-[itemname]
        - essentials.itemspawn.item-[itemid]
        - essentials.give.item-all
        - essentials.give.item-[itemname]
        - essentials.give.item-[itemid]
        - essentials.afk
        - essentials.back
        - essentials.balance
        - essentials.compass
        - essentials.home
        - essentials.msg
        - essentials.nick
        - essentials.pay
        - essentials.sethome
        - essentials.suicide
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.worth
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.spawn
        - essentials.give
        - essentials.god
        - essentials.heal
        - essentials.heal.others
        - essentials.lightning
        - essentials.invsee
        - essentials.item
        - essentials.jails
        - essentials.kickall
        - essentials.kit.*
        - essentials.mute
        - QuantumConnectors.create.*
        inheritance: []
        info:
          prefix: '&5'
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - semiadmin
        info:
          prefix: '&4'
          build: true
          suffix: ''
    
    And my iConomyChestShop config.yml file

    Code:
    maxPrice: -1
    minPrice: -1
    #maxPrice - maximum buy/sell price
    #minPrice - minimum buy/sell price
    
    reverseButtons: false
    sell: true
    distance: 1
    position: 'ANY'
    protection: true
    
    #reverseButtons - If true, people buy with left click and sell with right click.
    #sell - Do you want to let people create/use shops, that buy things from players?
    #distance - Distance between the chest and the sign. (Warning, chests that aren't exactly that far WON'T work as shops)
    #position - Position of the chest, relative to the sign. ANY for anything in radius of 1 block, other: goo.gl/YItRO
    #protection - Do you want to use built-in shop protection?
    
    LWCprotection: true
    signLWCprotection: false
    
    #LWCprotection - Do you want to protect the chests with LWC?
    #signLWCprotection - Do you want to protection signs with LWC? (Warning, gives LWC message when using shop!)
    
    log: true
    logToFile: false
    logFilePath: "plugins/iConomyChestShop/iConomyChestShop.log"
    
    #log - Do you want to log transactions and shop creating?
    #logToFile - Do you want to save the log to file? (Warning, this lags a bit - I reccomend turning this off, as server.log will have these informations too.)
    #logFilePath - Path to log file.
    
    sneakMode: true
    allowUsedItemsToBeSold: false
    stackUnstackableItems: true
    
    #sneakMode - Do you want to let people to shop using left mouse button, and destroy the shop signs when sneaking?
    #allowUsedItemsToBeSold - Do you want to let people sell used tools to the shop? (Warning, the tools will be "fresh" if player sells them. NOT RECCOMENDED)
    #stackUnstackableItems - Do you want to stack all items in chest?
    
    useDB: true
    howLongToStoreInformationInDB: 600
    intervalBetweenTransactions: 100
    
    #useDB - Do you want to use bukkit's built-in database to log the transactions? (Must be turned on, if you want to generate price list)
    #howLongToStoreInformationInDB - How old the transation must be before being deleted? (In seconds)
    #intervalBetweenTransaction - How often can one person buy or sell to the shop? (In miliseconds: 1000ms = 1 sec)
    
    generateTransactionList: false
    intervalBetweenGeneratingTransactionList: 5
    showUnusedItemsInGeneratedList: false
    
    #generateTransactionList - Do you want to generate average price, amount of bought, sold items page? (Currently in ALPHA state)
    #intervalBetweenGeneratingTransactionList - Interval between generating the list. (In seconds)
    #showUnusedItemsInGeneratedList - Do you want to show items, that were not bought/sold on the list?
    
    separatingLineAfterTransaction: false
    doNotRemoveSignIfNotCorrect: false
    serverAccountName: "Sadness"
    #separatingLineAfterTransaction - Do you want to show a line in the chat after transaction?
    #doNotRemoveSignIfNotCorrect - Do you want to keep the sign, if it's not correct?
    #serverAccountName - Account of the server to use with AdminShops, blank if you don't want to use one
    
    #Messages:
    showOutOfStock: true
    showMoneyAfterTransaction: false
     
    #showOutOfStock - Do you want to show "Out of stock" messages?
    #showMoneyAfterTransaction - Do you want to show your balance after transaction?
     
    # If you want to translate this file, do it yourself, or copy the "lang:" part from another translation.
    # Prefix will be dispayed at the beggining of every message.
    # You can use terms like <buyer>, <amount> or <item> in messages, however
    # only certain messagess offer this.
    #
    # <buyer> - nick of the person who bought from shop.
    # <seller> - nick of the person who sold to shop.
    # <owner> - nick of the person who own the shop.
    # <amount> - amount of item
    # <item> - name of item
    # <money> - amount of money with iConomy currency
    # <cost> - cost of the item
    #
    # You can always use hMod colors, like
    # &1, &f etc...
    # For example: This is my&6 golden text.
    
    #MAXIMUM OF 55 CHARACTERS WITH PREFIX!
    
    #Experimental: Try changing the prefix to '                          &a[Shop] &f                                             '
    #The text will be centered!
    lang:
        prefix: '&a[Shop] &f'
        Somebody_sold_items_to_your_shop: '<seller> sold <amount> <item> for <cost> to your shop!'
        Somebody_bought_items_from_your_shop: '<buyer> bought <amount> <item> for <cost>!'
        Your_shop_is_out_of_stock: 'Your <item> shop is out of stock!'
        You_cannot_use_your_own_shop: "You can't use your own shop!"
    
        You_bought_items: 'You bought <amount> <item> from <owner> for <cost>.'
    
        Your_inventory_is_full: 'Your inventory is full!'
        You_have_got_not_enough_money: "You don't have enough money!"
        Shop_is_out_of_stock: 'This shop is out of stock!'
    
        You_have_not_enough_items: 'You have not enough items to sell!'
        You_sold_items: "You sold <amount> <item> for <cost> to <owner>'s shop."
        Chest_is_full: 'This chest is full!'
    
        Seller_has_not_enough_money: "Seller has not enough money!"
        Seller_has_no_account: "Seller's account doesn't exist!"
        No_selling_to_this_shop: "Shop owner doesn't want you to sell here!"
        No_buying_from_this_shop: "Shop owner doesn't want you to buy here!"
    
        Your_balance: 'After transaction you have <money>.'
    
        Shop_is_created: 'Your shop has been successfully created!'
        Shop_cannot_be_created: "You have no chest set up!"
        Shop_was_LWC_protected: "Your shop was successfully protected with LWC."
    
        Mode_changed_to_sell: 'Mode set to selling!'
        Mode_changed_to_buy: 'Mode set to buying!'
    
        You_tried_to_steal: "Don't steal!"
        wait: "&4Wait!"
    
        iteminfo: "&aItem ID and names:"
        incorrectID: "Incorrect item ID!"
        Couldnt_fit_on_sign: "Couldn't fit something on the sign!"
        Negative_price: "Can't make shop with negative buy/sell price!"
        Incorrect_price: "This price is too high/low!"
        Incorrect_item_amount: "The item amount you specified is invalid!"
     
  21. Offline

    Monkey_nuts

    I get a message like
    "You can't buy that here" and
    "you con't sell that here"
    :?
    how do i fix this
    i am running worldguard, permissions, essesntials, essentialspawn. and a good few other plugins but i dont think they should effect it

    I use the layout:
    Code:
    (blank)
       16
    B:10 S:5
       1
    :?
     
  22. Offline

    MojoManagement

    @Acrobot
    Is there any api for transactions? I need it for Heroes exp gains. :)
     
  23. Offline

    Acrobot

    @MojoManagement
    Hmm... Not really an API, what exactly do you want me to implement? :)

    @Monkey_nuts
    @Sadness
    It's not "B:20 S:20" but "B 20:20 S"

    @geborg
    Something is wrong with your Permissions - are you sure you are using correct ones?

    @Nurgo
    Okay, I'll make that :)

    @Razherrt
    Charging money - yes, limits - not exactly :/

    @Dustin545
    Just put the permissions without the description =)

    Code:
            - iConomyChestShop.shop.create - creating a shop with any item
            - iConomyChestShop.shop.create.<id> - creating a shop with item with <id>
            - iConomyChestShop.shop.exclude.<id> - excludes <id> from the list of allowed items
            - iConomyChestShop.shop.buy - buying from shop
            - iConomyChestShop.shop.sell - selling to shop
            - iConomyChestShop.command.iteminfo - /iteminfo command
    
    Just delete the create.<id> and the description, so it looks like:
    Code:
    - iConomyChestShop.shop.create
    - iConomyChestShop.shop.buy
    - iConomyChestShop.shop.sell
    - iConomyChestShop.command.iteminfo
    
     
  24. Offline

    Danton1983

    I was able to get his plugin to work but I had to have my players enter their name on the first line in order to work.
     
  25. Offline

    Acrobot

    @Danton1983
    Wow... Which version of the plugin?
    Do you get any errors in console?
    Anything?
     
  26. Offline

    yosimi

    I have an error, you do not have permission to continue, I need your help.
     
  27. Offline

    Acrobot

    @yosimi
    Yes, what is your Permissions config and your ChestShop plugin version?
     
  28. Offline

    yosimi

    chestshop version is latest

    but permissions is low version .

    Use the latest version, then a lot of errors at permissions node

    and sorry i can't speak english very well
     
  29. Offline

    Monkey_nuts

    cheers mate :D
     
  30. Offline

    Donny

    Are you keeping the first line empty when not entering the name?

    Example:
    1st line: JUST PRESS ENTER
    2nd line: 1
    3rd line: 1:1
    4th line: 1
     
  31. Offline

    Soulblitz

    Yeah, I had the wrong Permissions (I had iConomyChestShop, not ChestShop). Thanks for getting back to me anyway :D
     

Share This Page