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.
i set up a chest shop thing, then i stop server and then put it back up but when i go to any of the stalls they are back to normal chest. :( , how can i fix it so it wont revert back to normal chests?
it dosnt show the enchantents on enchanted books and other things like that you enchant with book like sticks ect plz fix. i dont want peaple saying they have a good enchantment when its nothing there
@BlockyDigital
That is weird, it should have converted to the latest NBT style. Can you tell me what files are in Bukkit\plugins\QuickShop\ and send me shops.db and (if it exists) shops.db.bak? Basically, something went wrong in putting info in the database. What went wrong, I can't say.
@Luzitano
Again, https://dl.dropbox.com/u/72835893/QuickShop_3.0.jar will work with 1.4.6, but I'm not uploading it to devbukkit until a reasonable amount of time has passed.
@coolo1
See the reply above.
@BlockyDigital
Like I stated before, am I doing something wrong here?
Does not work with latest version of bukkit (dev) Quickshop does not load.
Please Update for 1.4.6 Its working okay but :)
@netherfoam
Hey Netherfoam, sorry to bother you again, but this showed up after I made a shop. I don't know if its my problem... can you reply please? Appreciate it! :D Thanks -BlockyDigital
1:50:25 PM [SEVERE] java.sql.BatchUpdateException: batch entry 1: [SQLITE_ERROR] SQL error or missing database (no such column: item) 1:50:25 PM [SEVERE] at org.sqlite.Stmt.executeBatch(Stmt.java:226) 1:50:25 PM [SEVERE] at org.maxgamer.QuickShop.Database.DatabaseWatcher.run(DatabaseWatcher.java:41) 1:50:25 PM [SEVERE] at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) 1:50:25 PM [SEVERE] at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 1:50:25 PM [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:530) 1:50:25 PM [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) 1:50:25 PM [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) 1:50:25 PM [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) 1:50:25 PM [SEVERE] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 1:50:25 PM [SEVERE] [QuickShop] Could not update database!
@imaapseudonym
Enable sneak-only in the config. Players will have to sneak to create or use a quickshop.
Thanks so much nether. Last question! haha.
Is there a way to disable the message about what players want to sell everytime they place a chest?
@imaapseudonym
A build for 1.4.6 https://dl.dropbox.com/u/72835893/QuickShop_3.0.jar
I won't upload this build to bukkit for a while though.. The last time I uploaded a dev version, :|
@FlashLight32
Go into the Config and put the Sneak Only Creation configuration thing to true to then you need to SHIFT+CLICK to create a shop. Your players won't be bugged unless they are sneaking. :P
@imaapseudonym
Not on 1.4.6... Its pretty simple to update to it. I might put a link for 1.4.6 on dropbox or somewhere in the meantime... tomorrow.
I haven't updated bukkit yet but will this work when the dev 1.4.6 build? The new one that you just finished?
@BlockyDigital
Does now, while bukkit approves, heres a link: https://dl.dropbox.com/u/72835893/QuickShop.jar
@Beaupedia
Fixed it! Same link as above or wait for bukkit to approve
@nokati
If you still want item frames, can you help us out? Register an atlassian account for bukkit and upvote https://bukkit.atlassian.net/browse/BUKKIT-3154 - Thanks! :)
@FlashLight32
I haven't added /qs on|off, seeing as I think I've fixed the bug that's been annoying you in the above version
@BlockyDigital
I'm working on it now... Bukkit made some RETARDED internal changes.
@netherfoam
Does this plugin not work with the new CB 1.4.5-R1? Every time I try to make a shop, it Shows an error and leaves the item floating about! Here is the error:
http://tinypic.com/view.php?pic=2ev4wnp&s=6
I need to delete all the plugin data after to fix... :( So please help
@netherfoam
Eagerly awaiting the fix for this. Driving us mad.
@FlashLight32
Good idea. I would like to know which plugin is screwing this up though - It should NOT open the chest when you try to create one...
@Healix40
Try downgrade to quickshop 2.7 til you update bukkit..
@nokati
Item frames won't work at the moment (I'm working on it... But I have no idea what the hell is with these frames - They're never facing the direction they should, and they're offset by a block or two every time I succeed... And if I fail to relog, they're all stacked in the same place until i relog, which puts them all over the place. Something is screwing with me). The config option is a leftover from that I never removed from the latest build after disabling it completely
As for the build, I'm not aware there was one I could select at the time of uploading... Plus the bold dev build only.
My goal is to have 3 item frames on each side of the chest, and the sign on the other.