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**
Are we ever going to be able to sell enchanted books/items with enchantments?
Out of curiousity, what can't you sell with Battleshops. The Admin on a server I play says selling potions and enchant books won't work
@Bulymays
Could you pm me how as well? I just switched to this from ChestShop because of permission problems, if there is a dupe bug I may reconsider depending on how easy it is to replicate.
Sent you a pm awhile back. You can still dupe with this plugin, not going to post how, but did include that info in the message. Any way to fix this or updates?
when u fixing failed to find shop signs??
@wumpyc
Alright, I'll check now.
@alkarinv
doesn't work. pmed you
@wumpyc
Can you left click all of those with a redstone_torch. That should make them all active.. If not let me know and pm me your ip and I'll come on.
I have used this plugin instead of Chestshop. So this is what i got: http://i.imgur.com/m4oWN9k.png but when i right click nothing happens and i can't buy :/
@FuSe18
That looks like a reload error.. that or you replaced the jar. I bet this goes away on a restart.
2013-01-25 19:04:04 [SEVERE] Exception in thread "Timer-0" 2013-01-25 19:04:04 [SEVERE] java.lang.NoSuchMethodError: com.alk.battleShops.Serializers.SQLInstance.executeBatch(ZLjava/lang/String;Ljava/util/List;)V 2013-01-25 19:04:04 [SEVERE] at com.alk.battleShops.Serializers.SQLInstance.saveSigns(SQLInstance.java:310) 2013-01-25 19:04:04 [SEVERE] at com.alk.battleShops.Serializers.SQLInstance.saveAll(SQLInstance.java:604) 2013-01-25 19:04:04 [SEVERE] at com.alk.battleShops.BattleShops.saveWorldShops(BattleShops.java:181) 2013-01-25 19:04:04 [SEVERE] at com.alk.battleShops.BattleShops.access$000(BattleShops.java:50) 2013-01-25 19:04:04 [SEVERE] at com.alk.battleShops.BattleShops$1.run(BattleShops.java:113) 2013-01-25 19:04:04 [SEVERE] at java.util.TimerThread.mainLoop(Timer.java:555) 2013-01-25 19:04:04 [SEVERE] at java.util.TimerThread.run(Timer.java:505)
@Ugpzt
Ahh, alright, well glad you got it working!
@alkarinv
Thanks for the suggestion, I'll look into BattleProtection.
Regarding Fe-economy, it is already hooked into Vault and things seem to be working properly. However, I need the monetary unit which was set up with Fe-economy. As is, BattleShops hooks into Vault as if forced by default, resulting in the loss of monetary unit. Perhaps I missed some settings?
EDIT:
Never mind, I simply hard-coded the monetary unit into the messages.yml file.
@Ugpzt
Does Fe-economy use Vault? I guess I'm confused about the question. If Fe-economy uses Vault, then I support it... if not, then no :)
I don't have any item-duplication bugs.
I don't really do griefprotection as there are other plugins like worldguard that do a much better job at protecting things. I even have a plugin for making player protections easier, BattleProtections, and I know a lot of other plugins do the same, factions,towny, lwc.
What you can do is prevent people from breaking their shop sign.
Is it possible to support Fe-economy? It is already using Vault.
Also, supporting GriefPrevention?
Also, does this plugin have problems with item-duplication as chestshop does(did)?
@FuSe18
I'm really sorry... so basically the problem ties into the database. I wrote this over a year ago when the items were very different. So I need to update the database and write the auto conversion from past databases into the new one. Usually this would be a small fix, but since it requires me to change the db it's taken longer.
The good news is that while I'm doing this I'm also making the database support lore and item meta... so this means I'm trying to let you sell unique items, and enchanted items.
Have you fixed the potion problem yet?
@MadeBySaints
I'll make that a configurable option for you.
Usually I want the link to be broken because otherwise you could steal<sub> then sell to the player, then steal, and sell to the player. You could just repeat that until a player is completely broke. But it should be an option.</sub>
i dont want my players to break the link how do i stop them from being able to... that should be a configurable option
@KStorm1
Hey. So new release has that option http://dev.bukkit.org/media/files/663/599/BattleShops.jar
add the line "leftClickSells: false" inside the config.yml, after you reload it should work.
let me know!