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
The number to the right of the quantity to buy/sell is the Amount of items remaining.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**
@Bobacadodl
That should happen by default. The only people that won't unlink a shop chest when they touch a chest are admins and ops. If that is not happening it's a bug and I'll check it out.
@datwerd86
I could add that in, I'll figure out a good way to do it. the region-specific-permissions from Bobacadodl also looks like a good way (though I've never used it before)
@alkarinv
I have one major request! Could you add a permission that allows people to modify their shop chest permissions? I own a factions/raiding server and I WANT anyone to be able to unlink someone else's shop chest.
@datwerd86
You could use RSP (region-specific-permissions) like i do to only allow users to create shops in the shop area of my server
could you please add residence or worldguard flag support so shops can only be placed inside certain areas?
thanks.
@LegndPowerdNube
I can do something like that. What are you trying to do exactly?
@MadeBySaints
Excellent!! exactly why I made it.
wow works very nicely.... i have been looking for days for a good replacement for chestshop then i happened to stumble upon this! great work to the dev. works great on my server!
Can you make it so users can only make a certain amount of shops or just make shops in a certain area or something?
@Bobacadodl
Thanks!!! I just released it recently, but I made it back in march of last year. I guess most people are happy with their other sign shops.
@Bobacadodl
So the majority of the size is not BattleShops. I made a lot of plugins that use SQL, and the best way to share a limited number of database connections amongst multiple plugins is through Connection Pooling. So I used apache-commons-pool and apache-commons-dbcp (which take up 90% of the space).
But really I have made 10+ plugins that use SQL, and they all use those same libraries, so on my server I don't include those in the BattleShops build, I just include those libraries as part of the server startup classpath. In that build BattleShops is like 30k.
This is THE shop plugin to use for factions servers. I'm surprised it has so few downloads.
@alkarinv
Just wondering, why does this plugin have such a large file size? I was about halfway done with something similar to this, yet it only took up 20k bytes (yours takes up 700k bytes) My one major request would be to reduce the file size ;)
EDIT: I just realized that this plugin has SEVERAL additional features by looking through the source (such as mySQL, logging transactions, etc.), but I still think that 700k is a bit more than it needs. (Essentials only takes up 600k!)
@Bobacadodl
Thanks! Let me know if you have ideas for making it better... always listening.
I was just about to create something similar to this :) Just decided to do a search to see if something similar was already created. Thanks for the plugin and keep up the good work!
@alkarinv
That sounds fine :)
@ImCane
Hey ImCane, sorry I was gone for a lot of this weekend. I'll put in the missing translation, I'll also check out this missing %s thing clearing the messages.yml(that sounds horrible). I'll do that tonight.
I'll also change the format of %s to something more changeable, like {sellprice}, so that you can leave them out when not wanted. That will take a little longer though as it's more involved.
You forgot to add the translation of owner_has_not_enough_money . When somebody will sell something in a shop and the owner have not enough money the plugin say "No translation for owner_has_not_enough_money" Please add this :)
EDIT: It would be great when it will be possible to remove some off the %s in the messages.yml cause in some languages you cant translate the %s for example when the %s stands for the amount of items. Every Time when I try to remove the %s it clear the messages.yml ...
Greetz Cane
If there is more i will contact you ;)
@ImCane
New version 3.0.8 has all the messages customizable (well if I missed any let me know). It also has a couple of bug fixes.
Let me know if there is anything you would like me to customize for this plugin.
Cool :D thank you and take your time I can wait ^^
@ImCane
Ahh, well I will try to get all of those messages into the messages.yml so you can change them. I'm working on some other projects but give me a day or so.
Ohh ok i see what you meant but what I meant was that ir should be possible to change the messages like "You created a store ..." ( see my first message) cause they are in englisch and cant be changed by the messages.yml