[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

    wdow117

    You should add an option to set taxes
     
  3. Offline

    Acrobot

    wdow117
    Did you even look in the config? It's all there...

    mjkaufer
    From FAQ
    Code:
    Why does it say "You can't buy/sell here"?
    
    Well, it basically means that the shop owner doesn't want you to buy/sell here.
    
    However, if you know it's in error, that means that the sign's prices line (3rd line) is wrong.
    
    It should look somewhat like: (of course, that's not the all possible combinations)
    
    B 5
    
    S 5
    
    B 5:5 S
    
     
  4. Offline

    Trooper

    I think ChestShop needs updated either that or someone should contact the author of iConomy because that needs updated to the new 1.2.4

    thanks in advance


    ~ Troop
     
  5. Offline

    Acrobot

    Trooper
    iConomy works with 1.2.4 and 1.2.5, ChestShop works with 1.2.4 and 1.2.5 too.
     
  6. Offline

    Trooper

    iConomy doesn't work for me 1.2.4, /money does nothing just a blank screen and that's the only command :S
     
  7. Offline

    Acrobot

    Trooper
    Did you update iConomy?
     
  8. Offline

    Trooper

    Yes I did ... it just doesn't seem to work :(
     
  9. Offline

    Acrobot

    Trooper
    Can you post your server.log on pastebin.com?
     
  10. Offline

    Trooper

    It crashes pastebin.com when I paste the server.log its that big :(
     
  11. Offline

    Acrobot

    Trooper
    Just your server.log from the last startup, please (You can also delete server.log, start the server again, stop it after it finishes loading and paste the new server.log)
     
  12. Offline

    Trooper

  13. Offline

    Acrobot

    Trooper
    So, your problem is that:
    - your world is corrupted. You should try using Chunkster on it.
    - you forgot to install iConomy again. (Either that, or your iConomy.jar has got a wrong extension (it CAN'T be, for example, iConomy.zip))
     
  14. Offline

    Trooper

    And just like that wolha, it works :D thanks so much
     
  15. Offline

    orangemars2000

    Ok, I've just got this and I think it's great!
    But I have some bugs :(
    I'm using Essentials too, and only default can use them. Is there a node I can give all the groups? Thanks in advance!
     
  16. Offline

    Buckethead

    Heres my perms. now y can my builders make shops!!!!!! i have the aprils fools patch and bukit 2126
    Code:
    groups:
      Guest:
        default: false
        permissions:
        - simplejail.jailtime
        - essentials.tell
        - essentials.reply
        - essentials.rules
        - essentials.help
        - essentials.helpop
        - essentials.spawn
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.mail.clear
        - heroicrebuke.list
        - essentials.helpop.recieve
        - essentials.ban.notify
        - essentials.kick.notify
        - lytreehelper.db.blockaccess
        - IPGet.self
        - modifyworld.chat
        - modifyworld.sneak
        - modifyworld.sprint
        - modifyworld.login
        - chaircraft.sit
        - -essentials.eco
        - LockIP.exempt
        - authme.player.*
        prefix: '&5Guest&f>'
      Builder:
        default: true
        inheritance:
        - Guest
        permissions:
        - lockette.user.create.*
        - nocheat.admin.chatlog
        - essentials.portal
        - essentials.tell
        - essentials.help
        - essentials.helpop
        - essentials.afk
        - essentials.back
        - essentials.back.ondeath
        - essentials.clearinventory
        - essentials.compass
        - essentials.depth
        - essentials.getpos
        - essentials.geoip.show
        - essentials.sethome.multiple.unlimited
        - essentials.sethome
        - essentials.home
        - essentials.info
        - essentials.kit
        - essentials.kit.list
        - essentials.kit.Building_starter
        - essentials.kit.Armor_starter
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.mail.clear
        - essentials.me
        - essentials.motd
        - essentials.msg
        - essentials.protect
        - essentials.protect.alerts
        - essentials.protect.damage.drowning
        - essentials.protect.damage.creeper
        - essentials.protect.damage.fall
        - essentials.protect.damage.lightning
        - essentials.protect.damage.projectiles
        - essentials.protect.damage.suffocation
        - essentials.protect.damage.fire
        - essentials.protect.damage.fireball
        - essentials.protect.entitytarget.bypass
        - essentials.protect.ownerinfo
        - essentials.r
        - essentials.signs.create.protection
        - essentials.signs.break.protection
        - essentials.signs.use.protection
        - essentials.suicide
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.warp
        - essentials.warp.list
        - essentials.warp.*
        - essentials.helpop.recieve
        - essentials.ban.notify
        - essentials.kick.notify
        - essentials.portal
        - essentials.time
        - BedHeal.Advanced.Use
        - mobarena.use.spectate
        - mobarena.use.*
        - mobarena.classes.*
        - mobarena.arenas.*
        - heroicrebuke.list
        - lytreehelper.destroyall
        - lytreehelper.db.forestlist
        - signlift.use.normal
        - signlift.use.private.own
        - signlift.create.private.own
        - dreamland.goto
        - dreamland.fly
        - NightClub.go
        - -essentials.spawn
        - nomovedtooquicklykick.exempt
        - nSpleef.member.creategame
        - nSpleef.member.deletegame
        - nSpleef.member.join
        - nSpleef.member.leave
        - nSpleef.member.list
        - modifyworld.usebeds
        - modifyworld.digestion
        - modifyworld.chat.private
        - modifyworld.bucket.empty.*
        - modifyworld.bucket.fill.*
        - modifyworld.blocks.destroy.*
        - modifyworld.blocks.place.*
        - modifyworld.blocks.interact.*
        - modifyworld.items.pickup.*
        - modifyworld.items.drop.*
        - modifyworld.items.have.*
        - modifyworld.damage.deal.*
        - modifyworld.damage.take.*
        - modifyworld.mobtarget.*
        - modifyworld.interact.*
        - modifyworld.tame.animal.*
        - modifyworld.tame.*
        - modifyworld.vehicle.destroy
        - modifyworld.vehicle.enter
        - modifyworld.vehicle.collide
        - spouttrade.trade
        - ashtheking.tent.create
        - cm.init
        - cm.upload.mp3
        - cm.upload.midi
        - cm.radio.list.player
        - cm.song.list.player
        - cm.box.list.player
        - cm.song.play.global
        - cm.song.stop.global
        - boa.*
        - bog.*
        - bof.*
        - boi.*
        - bol.*
        - bonf.*
        - bogl.*
        - arg.user
        - arg.claim
        - mcvote.vote
        - iConomy.holdings
        - iConomy.help
        - ChestShop.shop.buy
        - ChestShop.shop.sell
        - iConomy.payment
        - jail.openchest
        - jobs.world.Forza
        - jobs.join.*
        - griefprevention.createclaims
        - pvparena.user
        prefix: '&cBuilder&f>'
     
  17. Offline

    APhilosopher

    i too am having a permissions problem where my servers default group is able to create shops yet they do not have the perm for it, only the next rank/group up has the rank to create shops

    im using pex

    here is a copy paste from my pex permissions.yml

    Code:
    groups:
      default:
        default: true
        permissions:
        - essentials.pay
        - iConomy.holdings
        - iConomy.user
        - iConomy.help
        - ChestShop.shop.buy
        - essentials.balance
        prefix: '&6[N]'
        options:
          rank: 100
      freemenrank:
        inheritance:
        - default
        permissions:
        - iConomy.holdings
        - ChestShop.shop.*
        - iConomy.payment
        - essentials.pay
        - essentials.balancetop
        prefix: '&e[Freeman]&b'
        options:
          rank: 50
    
    i also tried to add -ChestShop.shop.create including the - because i know sometimes a dash in front of a perm can explicitly deny that perm to that group, yet even that didnt work, default gruop STILL could create shops

    i am using the april fools chestshop and craftbukkit 2148
     
  18. Offline

    Acrobot

  19. Offline

    chickennoodle

    When I tried creating an Admin Shop, I added permissions for each group such as:
    -chestshop.shop.create
    - chestshop.shop.buy
    - chestshop.shop.sell
    - chestshop.nofee
    - chestShop.shop.buy.itemID
    - chestShop.shop.sell.itemID

    But wen they try to buy from the admin shop it says something like (Sign Locked By Owner) and they can't buy anything, is it the chesthop perms or LWC ? thanks :DD
     
  20. Offline

    APhilosopher

    my bad, when i saw bukkethead reference the april fools joke i immediatly assumed it was chestshop doing that, having just downloaded chestshop and iconomy at the same time, i now realize it was iconomy that did that see here http://dev.bukkit.org/server-mods/iconomy/files/8-7-0/
    so its unrelated.




    and ya here is the problem with the faq on this issue, here is what it says

    Why can my players buy/sell/create shops even if they lack the necessary permissions?
    Well, it's a superperms (system that Bukkit uses) feature - those are default permissions. You need to negate them (refer to your perm plugin's documentation)


    and like i said i AM using pex, when i go to the perm documentation what im met with is to add the perm with a minus/dash - in front of it like so -ChestShop.shop.create btw i said this in my last post that i already tried this and it doesnt work, - no longer negates perms with pex, i dont know why, i couldnt get it to work with other plugins perms either, i know it used to work i had used it all the time in the past,

    so the ONLY solution to this problem is to edit the chestshop.jar with winrar then open the plugin.yml within it and change a config option in there, this answer is NOT in the faq, but hey it is in that one single comment you linked to in your reply so thank you much for that, it did work, that comment made by you was posted 1 hour, 38 minutes ago, so ya, maybe that explains why u get asked the question alot :D

    thank you much for the swift response to my post, im glad i was able to fix that before to much time had passed and we had a bunch of default players creating shops,
     
  21. Offline

    Acrobot

    chickennoodle
    Probably your iConomy is broken, did you try updaing it?


    APhilosopher
    Well, PEX handles negative permissions wrongly.

    If you wanted to use its negative permissions, you have to deny "-ChestShop.shop.create.*"

    I personally recommend the WinRAR method though :p
    (It's sad that people have to do that, but well, I can't fix all permission plugins :/)
     
  22. Offline

    orangemars2000

    so what are the permission nodes for this?
     
  23. Offline

    Acrobot

    orangemars2000

    From the beginning of the OP:

    Code:
    Permissions:
    Easy to copy: http://pastebin.com/aBb36xwJ 
    
    ChestShop.shop.create - lets you create shop
    ChestShop.shop.buy - lets you buy from shops
    ChestShop.shop.sell - lets you sell to shops
    
    
    
    ChestShop.nofee - lets you create shops for free
    
    ChestShop.mod - lets you open other people's chests, but doesn't let you create admin shops
    ChestShop.admin - ChestShop.mod + ability to create admin shops, etc.
    
    
    You can also add ".itemID", where itemID is... well... item id.
    ChestShop.shop.create.itemID - lets you create shop which buys/sells itemID.
    ChestShop.shop.buy.itemID - lets you buy itemID from shops
    ChestShop.shop.sell.itemID - lets you sell itemID to shops
    
     
  24. Offline

    chickennoodle

     
  25. Offline

    orangemars2000

    Oh, sorry.
    Thanks a lot!
     
  26. Offline

    lloyd204

    wherse the tutorials?
     
  27. Offline

    meowcraft

    download link say 1.2.3.
     
  28. Offline

    Acrobot

    meowcraft
    ..And?
    It works with 1.2.5 as well, it was just released when 1.2.3 Bukkit came out.
     
  29. Offline

    zergilng

    sorry i think it is bukkit error.. can type to sign message but click to done, sign is blank. i can't fix..
    it was no plugin error
    thank you
     
  30. Offline

    meowcraft

    oh alright thanks i have just had trouble figuring out what it means when a plugin says 1.1r7 or cb build 2037.
     
  31. Offline

    Acrobot

    meowcraft
    Well, basically, there are ~2 types of plugins now.

    Pre-1.1R7 and Post-1.1R7

    The plugins Pre-1.1R7 are almost guaranteed to not work.
    The plugins made after 1.1-R7 should work fine with any new CraftBukkit build, starting from #1989
     

Share This Page