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 just popped in to say THANK YOU SO MUCH! This plugin is a dream! I haven run any chest plugins for the past year because they were just so ugly and tedious to configure and use. This, it's idiot proof! I absolutely love it! A king among men!
why developper compile with DEV build!!!!!!!!!!!!
eg: lockette and quickshop not work on 1.4.5 R0.2 beta! because that
and worldguard send many errors to console if with update to dev build so guys comon!
update only to beta because BETA build its much better than DEV build thanx.
@sucas
Downgrade QuickShop to 2.7 or upgrade bukkit to a newer dev build and it'll be fixed :) [Bukkit made some hugeass plugin breaking changes]
Not working on CB 1.4.5-R0.2 -> http://pastebin.com/VeVfdT0S
@crohakon
Haha, it happens to the best of us.
Sorry! Apparently it was a vault issue. Somehow I had uploaded an older version of vault. All is fine now.
Full server.log http://pastebin.com/N2ev2u50 Full qs.log http://pastebin.com/KsG1LGNb
Did notice this:
2012-12-13 17:15:54 [INFO] [QuickShop] Enabling QuickShop v2.7 2012-12-13 17:15:54 [INFO] [QuickShop] Hooking Vault 2012-12-13 17:15:54 [SEVERE] [QuickShop] §eVault was found, but does not have an economy to hook into! 2012-12-13 17:15:54 [SEVERE] [QuickShop] §eDownload an economy plugin such as: 2012-12-13 17:15:54 [SEVERE] [QuickShop] §eBOSEconomy, EssentialsEcon, 3Co, MultiCurrency, MineConomy, CraftConomy 2012-12-13 17:15:54 [SEVERE] [QuickShop] §efrom http://dev.bukkit.org! 2012-12-13 17:15:54 [SEVERE] [QuickShop] §eThis plugin will not function (at all) until you install an economy.
BUT... also this: 2012-12-13 17:15:54 [INFO] [iConomy] Enabling iConomy v8.2 2012-12-13 17:15:54 [INFO] [iConomy] Enabled (34 ms) 2012-12-13 17:15:54 [INFO] [Vault][Economy] iConomy hooked. 2012-12-13 17:15:54 [INFO] [iConomy] Purged accounts with default balance.
While gathering a log file (removed server.log, started server, shut down server) I noticed this error during server shutdown. Still no error on load.
2012-12-13 17:16:46 [SEVERE] Error occurred while disabling QuickShop v2.7 (Is it up to date?) java.lang.NullPointerException at org.maxgamer.QuickShop.QuickShop.onDisable(QuickShop.java:275) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219) at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:400) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400) at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:393) at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:265) at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:350) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:457) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
I will check this when I get home from work and have access and will clean out all the logs and post them. Currently chest protection for shops is not working either leaving all the chestshops open for raid.
All other plugins using iconomy are working fine, aside from bankcraft, which fails at load. Towny, mcjobs, et cetera all seem to work fine (though I think they use register.)
@crohakon
Do you have an economy installed that Vault is hooking into properly? If you don't, there will be a message saying "Vault was found, but does not have an economy to hook into!" in the server.log file when QuickShop tries to load. Can you see that in there at all?
If that doesn't solve it, can you copy and paste me the text QuickShop spits out when you do a start? E.g. a healthy install should say something like:
@netherfoam qs.log only shows last transactions. No error for vault. No error for QS. Commands do nothing (just echoes back the command in chat /qs shows /qs. No error on start.
Could it be a vault issue? I did update vault today. Is there a recommended version of vault?
Vault version: Vault 1.2.21 for CB 1.4.5-R0.2
I noticed the backcraft plugin we use also has died, but that errors on load and may just be outdated.
@aroeira
I'm not sure :/. There is a dupe in v2.7, but bukkit is taking its sweet time approving the fix for it. Get v2.8 ASAP :)
@crohakon
Nothing in server.log, no display items, no messages when you hit a chest, no vault error, nothing in qs.log? Are you sure...?
QuickShop has stopped working.
No errors on load, commands return no results, no errors in console.
Latest version of this and beta build of bukkit.
I am using version 2.7 and all players are dupping items. I reseted my server and it is NOT happing again.
anyone know why items of the quickshop are going to boots slots of the players when close to the chest ?
Any other way other than per world perms to prevent people from creating chest in certain worlds/areas? I have all my world perms mirrored at the moment so that's not an option for me and people are just making shops in the survival games arena with the chest at the spawn.
Any chance of adding world support in the QS config or to only allow people to create shops from chest that they place?
Didn't hurt to ask. Great plugin, none the less, keep up the good work!
@borncorp
The problem is fetching an offline players permission is difficult
@imaapseudonym
Youre welcome!
@mindcat
This plugin already has support for everything: If you can open the chest, you can create a shop there. If you want to translate it, edit messages.yml in the config folder. If you share it, I can link it on the front page. To translate a message, just change it in the config :)
@xKingOfChaosx
This is an issue with orebfuscator, try update it and your items should be in the right place!
@Masterreno92
i dont think vault supports multiple currencies, meaning I would have to hook each plugin manually, a lot of effort!
I have a question, could an function be added to support multiple currencies?
Something like when it asks you how much to pay for one item of your chose, and before when you can just put in ex. "2"
Instead something it could be something like "2 Dollars" (yen, euros, ect..)
Hi, really nice plugin, thanks!
But... i use it on my server and sometimes it looks like this:
It's really ugly.. The items aren't at the place, they should be.
Please fix that. :/
But anyway: Thanks for that awesome plugin!