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.
@nether Well, its not just the problem with the items spawning over them, but the shops that don't have items over them show no information when you click on the chest. Do you know of any plugin incompatibilities?
@john, great :)
@Etheos, it might be lag of some kind or maybe something trying to buffer the items, because this plugin checks periodically every 15 seconds or so that each item is still alive and spawned. If there are no errors, this process is running fine which means the item is actually there which after spawning the item, is in the hands of bukkit and the client :/
@netherfoam
I got it to work i just created on minecraft.net a new username and set that username to the owner ensureing that that username will never come on.
@Geek
Yes, it is. I tested this out last night. if you use essentials, you can do /more to get more of the same book, or use another plugin to copy it.
Also got this error: http://i.imgur.com/wHI1r.jpg The items are not over the shop anymore, and I cant use the chests without items over them. Is there a way for me to fix this? I tryed to reload the server and it did not fix it.
Are written books compatible? Setting up. A book store would be cool!!! :D
@haynzee
I do not plan to add this.
@netherfoam
Really like this plugin, only thing I would like to see added is dynamic pricing, so if the chest is full cost to buy from it lowers. If its really empty the cost is really high.
@Atheos
I'm glad! :D If you have a shop and set it to unlimited, and change the option (shop.pay-unlimited-shop-owners) to false, your balance wont be affected if someone buys or sells with your shop. :)
@netherfoam
We got it to work, after many restarts and reloads with no errors, Ill be sure to report here if I ever get an error. The other staff members seem to like the plugin, I know I love it :D
When the chests are set to unlimited, does it give them unlimited money for buying items too?
@Atheos,
It looks like theres an issue with running queries on the flatfile database. Does it give you any errors? Try have a look in plugins\quickshop\ and see if shops.db exists. Is this after a fresh install? Also can you send me your config?
Hello, When I run this plugin on my main server, it gets stuck at item scheduler, and does not let the server load up. Any idea what it could be?
@John/ian
Create the shop. Then set it up. Then do /qs setowner Server. Also, ban the username Server so nobody comes along and gets all the cash. But ill assume you know to do that
Hey could you add maby a buy/sell to/from the server cause i kinda want to play as a normal player and not have either all the money being removed from my account or massive ammonts being added in.
- Ian
@kal213
Chat
Where do you enter the amount you want to sell for
@Tealk123
@Error - Fixed in the latest version
@Sneak-only My bad, fixed this too. It now works only for sneaking players (buying/selling)
@Money name - I'll use vault's built in method.
These three have been added in the source, if you know how to compile, you can do so from github. If not, wait for another devbukkit upload. :)
@Lwc, this is planned... I might as well do it today.
can you add lwc please?
and i get this error
http://dev.bukkit.org/paste/5969/
"sneak-only: true"
is this only for buying? because i can crate shops without sneaking.
Is it possible to replace credits by the money name?
Thanks man haven't tested it yet but crossing my fingers :)
@guruflex
@john83845
Latest version 1.0b should fix this, just awaiting approval on devbukkit! :)
EDIT: Okay, it's up
Ah okay, try use a diffrent version then for now, ill recompile it when i get home. The burden of having 6 JRE's :/