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.
@nhoclesnar
It's pretty vague, but if you can figure out how to get QuickShop to throw the error you gave me, then that'll narrow it down severely.
I can't really say what would be throwing an event with no block though, that seems like something totally pointless, and I have no idea what'd use that.
@netherfoam
Hm can you tell me what type of plugin that is most likely to cause that error? I really want to find out which one and report it, but I can't go through every one of my 30-40 plugins.
@nhoclesnar
Well that is weird, I can add in a fix but someone who coded one of your plugins is throwing a PlayerInteractEvent with a null block (Kind of a stupid thing to do). :|
@Dilski
I mean they already should work with each other :/
When the player enters a number to use the shop, does it say 'Purchase/Creation cancelled'? or does it just send the message straight to chat?
@DreamPhreak1
Well that's a shame :) - I made this because of all those reasons pretty much.
Wow! A physical chest to put items in, the floating item on top to see what it is, the sign actually ON the chest and even with a readable format ("Selling <item> For <$> each" rather than the "Line1: <item> - Line2: B $$:$$ S" or essential's "Line1: <item> - Line2: <amt> <item>:<totalAmt>" that makes it hard to tell what you are trading for what), and then the one hit to buy, this plugin is AWESOME!
I only wish you would have been around many versions ago (alpha? beta?) to make this, cause I would have used the hell out of it. (I used to use SC/SCS and ChestShop long ago, currently with essentials' sign trading...)
@netherfoam
so do you mean the two plugins wont work with each other?
What a lovely plugin, but it carries an annoying bug. The plugin continuously spamming my server with this error.
@Dilski
That doesn't appear to modify the chat event :|
EDIT: By modify I mean obliterate irrecoverably
@netherfoam The one im talking about is part of the permissionsEX package.
http://dev.bukkit.org/server-mods/permissionsex/
@Dilski
ChatManager link? bChatManager doesn't destroy the chat events.
@jfoe1980
http://dev.bukkit.org/server-mods/vault
You need an economy plugin too, ofcourse.
I keep getting a server console error, "quickshop couldn't load vault!!! Errors will ensue!" Anyone know how I get it to load vault? I have searched for hours online and I can't find a solution to the error..
@netherfoam
@Chriz2012
Okay I've dealt with an issue similar to this and it was never 'fixed' - it's not a bug.
If *you* own an unlimited shop, and *you* buy from yourself, *you* will not lose money. Same goes for normal shops, but people don't realise it is still owned by *you* when it's unlimited.
@lockNoob
Your server is offline
@scgamer_99
Interesting... I'm running on the latest build of QuickShop and am not having this issue on my own server.
Link me your config, as well as your bukkit build, vault and economy plugin?
Can you also show me your server.log file where QuickShop loads, and if there are any messages when you try buy?
I can confirm, money isn't being taken out of the accounts, with either unlimited or limited shops
the ip is 85.165.164.211
hi. the quick shop dont work can you come on my server and fix it
@Chriz2012
Are they unlimited shops out of curiousity?
@Chriz2012
Strange, are you using the latest (v2.4)?
Hi, I can create shops and love your idea for shops (They look awsome btw xD) however, whenever ANY user, an Admin OR a Default player with the correct perm's (They have use,buy,sell,find and changeprice etc.) try to buy/sell an item it does not give nor take their money but yet gives/takes the item that is being sold at the shop =/ I have Vault and Iconomy6 installed. Many thanks.