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.
Hello, it is possible that, only in a particular world to create in a particular zone User shops, I would appreciate an introduction WorldGurad flag.
@vanderfr
Guarantee you that isnt crashing your server. Ive fixed it in 2.7, its caused because you have a shop in a world that has been unloaded
2.6 seem to crash th serveur with in the lastest CB-dev build. (2465).
http://pastebin.com/5VSrVL0D
@Duncky99
No, they are compatible.
@netherfoam -> : I have worldedit and worldguard too, are they incompatible with quickshop ?
@lunus72
Strange that it didn't place signs :|
@Duncky99
This plugin throws a dummy PlayerInteractEvent when trying to create a shop. You have some plugin which is forcing you to open the chest (NOT a good idea) before the event is finished.
@Dilski
:/ I'll see if I can find a solution
@netherfoam
sends the message straight to chat
I have downloaded the plugin, vault, Iconomy and lockette, but when I left click a chest with a stack of wood planks, the chest just open, nothing in chat. Help ?
This plugin is so great. Everything works like expected. Stupid me tested even several economy plugins until I realized that there is no change in balance when I purchase from myself ;-) Please add a message like "You bought from your own shop, so just put x$ from your left to your right pocket. Your money balance hasn't changed." as I believe everybody would at first try to buy from the first created test while testing ;-)
Update: issue resolved for me with updating to CraftBukkit version git-Bukkit-1.4.2-R0.2-1-g3d8a353-b2458jnks (MC: 1.4.2) (Implementing API version 1.4.2-R0.3-SNAPSHOT)
Thanks for this great plugin. Simplicity is key.
Update: my issue is resolved by updating to the latest dev version. It did not create the sign on the chest for me with CraftBukkit version git-Bukkit-1.4.2-R0.2-b2455jnks (MC: 1.4.2) (Implementing API version 1.4.2-R0.2) Plugins loaded: Vault, PermissionsEx, Essentials, Quickshop, BOSEconomy
Now it places the sign with CraftBukkit version git-Bukkit-1.4.2-R0.2-1-g3d8a353-b2458jnks (MC: 1.4.2) (Implementing API version 1.4.2-R0.3-SNAPSHOT)
@netherfoam
Ok, thank u
@WingedSpear
I wouldn't hold your breath though. It'll be some time.
@FidusGFX
It seems like you have a shop in a world that is not loaded. I'll fix it for 2.7...
What's the Problem? )=
[WARNING] [QuickShop] Task #29 for QuickShop v2.6 generated an exception java.lang.NullPointerException at org.maxgamer.QuickShop.Watcher.ItemWatcher.run(ItemWatcher.java:37) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:531) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:495) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:428) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
ok i will be using this plugin as soon u add the limit feature, ill be waiting for it
@nhoclesnar
Strange, i have bk installed with no issues coming from it. Try updating it maybe?
Find distance, eg when you use /qs find <nameofitem>, how many blocks do you search from the player. Default is 45 blocks. So /qs find sand will search 45 blocks around you for the closest shop selling sand or sandstone
The limits, not really something i'm concerned about, as there is /qs clean to remove empty shops. However i will add it eventually, i think.
@Thaarg
Glad to hear it!
Loaded up no trouble, works perfect and so much better than the other confusing systems.
Nice work :D
@netherfoam
I removed a few plugins and the error hasn't appeared since, yet. I think it was BKCommonLib from NoLagg; I'm not sure. Btw thank you, at least the error is gone :)
I have two questions. What is 'find-distance: 45' option in the config? Will you add maximum shop per player option plus override permission?
@WingedSpear
There's an alias /shop (as mentioned in commands). If this is overriding quicksign, you can use bukkit to override quickshop with quicksign again.
mmm i think /qs is not a good idea as command since /qs is used for a very old, updated and popular sign plugin called QuickSign, dont get me wrong but u should change the command since that plugin came first.
now some questions:
this plugin take too much memory as SCS and Showcase?
can be full translated?
can u add a limit of shops per player? so if the plugin take too much memory and i can at least prevent that adding a limit of shops.