BattleShops

About
A fully functional shop system for bukkit. BattleShops adds functionality not found in current shop systems. Most importantly, in my opinion; 1) the current quantity of items being bought/sold is always current and displayed on the sign; 2) You can place your chests anywhere you want, they don't have to be right next to the sign. So you can keep all of your shop chests at your base, but have a public facing sign store.
Backwards compatible with ChestShop
This plugin was designed to replace ChestShop, which means you can use all of your old Admin Signs, and players can use their old signs. The only thing to move over is for players to link their chests with their signs, click them with a redstone torch, and for admins to click their admin signs with a redstone torch.Examples


Amount remaining Colors
- Gold F : Chest is full of items and can't be sold to.
- Green <quantity> : Current amount of items.
- Gray 0 : Shop does not have enough items in stock to buy.
- Gray U : Sign is not linked to a chest
- Buy/Sell from signs
- Remaining quantity is displayed on the sign
- Full/Empty is displayed on the sign
- Allow selling from any chest to any sign selling that item
- Share your chests with other players
- buy and sell multiples
- Show player transactions
- Show shop transactions
- Admin shops
- Colored Text on Signs
- Use common names for items such as Pink Wool
- DB backend
Permissions
- For players to create shops they must have the perm **shop.create**
- For admin usage you must have the permission **shop.admin**
I still get this error with the new download: http://pastiebin.com/5157c8952f79e
You are correct that it is due to not having those 2 plug-ins. It works flawless with them installed.
@draco89349
Really sorry Draco, so I found the bug. It only happens when you don't have worldedit and worldguard.... I have a fix that I just released.
I think if you "subscribe" you can download the jar before it gets authorized by bukkit. Otherwise try adding WorldEdit and WorldGuard and that will fix the issue until the new release comes out.
I have tried for hours trying to find out what is causing this problem with no success. I even removed all plugins except for the required ones to run this and the same results.
http://pastiebin.com/5157c8952f79e
edit: This happens when I try to link a chest (empty or not) or the sign with the redstone torch by left clicking them. The sign pops up normally and says I must link it before it can be used. That is as far as I can get with this. I have even tried earlier versions of craftbukkit and still the same error.
@alkarinv
My bad, I thought the linking was via right-click. However, I've seen that "grilled porkchop" shows its ID (320) instead of its name. I haven't yet tested other objects.
EDIT: I think that any object is displayed with its ID if you wrote it in the sign. It recognizes the objetct but doesn't display its name.
@Break0ff
Well it should be left-clicking with a redstone torch, but I think it works for me as an admin.
Are you just trying to set up your own sign to sell? or are you trying to set up an 'Admin Shop'? Admin shops don't need to be attached to a sign.
BattleShops works flawless between my users, but as an admin I can't link chest using right-click with a redstone torch. My users have shop.create, and my admins have shop.admin.
What I am doing wrong?
@EclipseGaming
It uses Vault, so as long as you have that really any of the major ones.
What economy system does this use?
@kahlilnc @Slappygilmore
Will release an update today, sorry.
EDIT: Released
EDIT: Did that fix your problem?
Keep getting sql errors on start up http://pastiebin.com/5144a26cf023c
Regular players can't buy or sell to my adminshops, what permissions do they need for it? I don't want them to be able to create shops.
@kahlilnc
Please let me know if you find issues!!
It only uses the bukkit api, but i'm always wary with new releases
nvm found your needing approval build :P
@BOMC
Sure.
First are you making an Admin shop? or a normal player shop?
admin shop
Example for allowing players to buy 64 diamonds for 10.
This next makes a player shop (notice the first line is blank) that will allow players to buy 15 pink wool for 5, and allow them to sell 15 for 3.
I've gone through the tutorial, and still i cant make a SignShop its really aggravating me can you please inform me on how to do so!
@alkarinv
UPDATE
To All the people that had issues with the latest version. This jar should fix those problems.
http://dev.bukkit.org/media/files/680/113/BattleShops.jar
I had to change the way I compiled the code to conform with some Bukkit Standards and I messed up when I did it last time.
This should also fix a number of small issues and also let me add in more advanced Enchanted item and unique item selling later.
I got this error using latest version:
Im looking for a chest plugin. My server is a faction server and i want chestshop on it But with chestshop you can save diamonds when you put it in an chestshop chest. You cant destroy chestshops with tnt or claim it over because its personal. Maybe is there a way to add a feature that you only can put stone in a stone chest, things like that? and a feature that you can configurate what items can be selld by players?
You know what would make this plugin go from 'meh' to 'great!'. Make it support enchantments. That would be so awesome!
@wumpyc
Hey Wumpy.. I was away for a couple of days and just got back yesterday. Been wrapped up in a lot of bug fixing and that includes BattleShops as well.. trying to get it done.. sorry for the wait.
@Faldonboy
It was a dupe introduced because of a change in item handling in minecraft. Found and Fixed. The link below has been tried and verified to be solid.
http://dl.dropbox.com/u/38069770/jars/BattleShops.jar this has not been approved by bukkit yet
@RestInPeaceHBK
@bobbob1870
I am currently in the midst of a lot of changes for BattleShops.. Selling Potions and enchanted items is one of them.
The reason they arent currently in... well I originally wrote this plugin 1 1/2 years ago way before those concepts existed and the current database doesnt support them. Once I make the changes... and more importantly the database auto update for people.. it will be released.