QuickShop
QuickShop
The Predecessors
Showcase was abandoned. Chestshop needed a display, with signs whose order you could never remember. SCS has too many commands. I'm yet to find someone who uses essentials shops.
Don't get me wrong though, they're all awesome plugins each in a few ways.
QuickShop
So, I set out to write this. QuickShop. QuickShop is a shop plugin, that allows players to sell items from a chest with no commands. It allows players to purchase any number of items easily. In fact, this plugin doesn't even have any commands that a player would ever need!
Features
- Easy to use
- Togglable Display Item on top of chest
- NBT Data, Enchants, Tool Damage, Potion and Mob Egg support
- Unlimited chest support
- Blacklist support & bypass permissions
- Shops that buy items and sell items at the same time are possible (Using double chests)
- Herochat support
- Checks a player can open a chest before letting them create a shop!
No longer accepting feature requests
For those people that hate reading, here's an awesome video from UltiByte:
A more up to date and informative video can be found here
Installation Guide:
http://www.youtube.com/watch?v=eJsv7fqaXNk
How to Create a Shop
- Place a chest on the ground
- Hit the chest with the item you want to trade
- Type in price for the item (As prompted) in chat
- Fill the chest with the items you wish to sell
Advanced
- Face the chest
- Type either /qs sell or /qs buy to make the shop buy/sell instead (Optional: use /shop instead of /qs)
- Stock the shop accordingly, if necessary.
How to Buy/Sell to a Shop
- Find a shop
- Hit / Left click the shop
- Enter the amount you wish to trade in chat
Menu Example:
See it in action:
http://maxgamer.org or
play.maxgamer.org:25571 and /warp market!
Commands
- /qs unlimited - Makes the shop you're looking at become unlimited.
- /qs setowner <player> - Changes shop owner to <player>.
- /qs buy - Changes your shop you're looking at to one that buys items
- /qs sell - Changes your shop you're looking at to one that sells items
- /qs price <price> - Change the price of your shop that you're looking at
- /qs clean - Removes any existing shop that has 0 stock.
- /qs find <item> - Use to find the nearest shop that begins with <item> - E.g. '/qs find dia' will find the nearest diamond shop.
- /shop - Alias (Optional) of /qs
Player Nodes
- quickshop.use - Required to use ANY quickshop
- quickshop.create.sell - Required to make a QuickShop (At all)
- quickshop.create.buy - Required to use /qs buy (Change the shop type from Sell -> Buy)
- quickshop.create.double - Required to make doublechest shops.
- quickshop.create.changeprice - Required to use /qs price (Ability to change the price of a shop without destroying it. This may allow for some scammers to quickly change the price while someone is buying.
- quickshop.bypass.ItemID - Required to sell blacklisted items (E.g. bedrock)
- quickshop.find - Required to use /qs find <item>
Admin Nodes
- quickshop.unlimited - Required to use /quickshop unlimited
- quickshop.setowner - Allows use of /qs setowner
- quickshop.other.destroy - Allow breaking other peoples QuickShops if they're locked by this plugin
- quickshop.other.open - Allow opening (And stealing/Stocking) other players QuickShops
- quickshop.other.price - Allow changing price of other people's shops
- quickshop.refill - Ability to refill chests using a command (=Unlimited items)
- quickshop.empty - Ability to empty chests of all items
- quickshop.clean - Permission to purge any shops that have 0 stock.
Source: Source on Github
Checkout the config over here.
Have Towny?
Try out this plugin http://dev.bukkit.org/server-mods/quickshop-towny-interop/ to stop players creating shops outside of Towny shop plots!
Calculating Economy Prices
Vagrant326 has created an Excel spreadsheet that allows you to calculate prices for a market, if you're looking to set one up! It takes a few minutes to setup the basic material prices, and once done, will tell you the appropriate value for almost any material! http://www.planetminecraft.com/blog/how-to-create-stable-prices-system-on-your-server/
Hi, I'm an 19 year old University student studying Software Engineering. I spend my time writing code that I receive practically no reward for other than people asking questions I've answered a hundred times before. I know server Admin's and Owners aren't the richest of people - But if you're feeling particularly generous, I always appreciate any amount for the time and patience I put into coding Bukkit plugins.
Hang on. Why is it hitting the chest that buys It? EVERY other plugin out there has you hitting the sign.. for that exact reason.. you can both left and right click a sign. Also why does this plugin message you every time you hit any chest.. surely it would be better to crocuh click to set up a shop... else you get a message every time you hit a chest that isn't a shop...
I think it would be better to shift click to setup a shop.. left click sign to buy.. and right click sign to sell.
Right click is the default action to open a chest, thats why i havent used it. Say a shop owner wants to buy from themself, or you dont lock your chests. Then players should be able to open it.
Shift is already used in the config.
Crouch and click? buy right click... sell.. left click? or vise versa...
@Scott, suggest a reasonable and simple way of interacting with a shop to distinguish between buying and selling and i will happily add it.
Theres no way to have a shop both sell and buy?
@Sean, yes, you need to make a shop for each item
@netherfoam
ay now have made the chop to buy stuff but ay have all the items of minecraft in it bt if ay whant to sell do ay need to make the chops agen ?
Found your issue, you should be using 0.10 for 10%, 0.335 for 33.5%, etc. using 15.0 will result in some funky number issues (15 = 1500% tax)
Tax is a percentage already.
Sorry if I was being a little too active on the comments, but I figured my problem out. You need to make the tax be a percentage, not a flat rate. Players were paying 15 bucks no matter what. They should be a percentage.
@notbob1
Recreate the shop with a different price.
Players aren't losing money for me. Open a ticket, paste your config, logs, bukkit version, QS version, economy plugin, etc.
I have an urgent issue. When players sell items to buy item shops they lose money, also, I think you should add an option to change the prices.
@aehooo
There may be economy plugins out there that do this, but this is difficult because bukkit has no API for modifying offline players. I'm not going to support item trading like that. Vault may or may not support an economy plugin that does that for you, and if Vault supports it, then I already support it.
@senne97
I don't understand?
@linwetalion
Glad you think so!
splendid plugin
but thane ay need to make everything to times ?
Could you add an option, where instead of using an economy plugin, the shops would use emeralds as the default money?
@senne97
I've considered this, but it isn't really intended. Normally you open a chest with right click, a newbie comes along and tries to open everyones chests, but just ends up buying a bunch
can't you do right mouse sell and left buy
but realy love your plugin
Nice plugin, anyway i got some request :D
- Add a lang file ( to modify display message, sign etc ... ) - Add a way to disable spam message when someone buy in my shop
No more request, great work, hope you won't let this plugin die like many others.
Helio
@Tealk123
The config hasnt changed since.
I'm currently working on a fix for shops wiping.