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.
Is there a way I can destroy the shops if they're trying to hide a chest in a griefable world without actually destroying the chest?
@notbob1
Try delete shops.db
Quickshop won't start up: pastebin.com/eBy78HiA
@Aldun
I've seen that error once before, and I have no idea how to fix it. Try remove shops.db (This will delete all shops on your server) - do it while it's not running ofcourse. But if you come up with a solution, I'll be glad to hear it :|
@user_83
Ah, that's a bummer and I have an idea what might be causing it. If you have experience with plugins, you can:
Then hopefully it's fixed. I didn't get an opportunity to test 3.1 for 1.4.6 on 1.4.6.
@netherfoam
Ok found on issue when the server starts.
@netherfoam
I've had vault and iconomy6 for over a year now, but I'll fiddle around with it. If you haven't heard of this before then its probably my end. Thanks
EDIT
Found this Error on my test server.
7:28:26 AM [SEVERE] Could not load 'plugins\QuickShop_1_4_6.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:255) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugins(CraftServer.java:235) at org.bukkit.craftbukkit.v1_4_6.CraftServer.<init>(CraftServer.java:213) at net.minecraft.server.v1_4_6.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_6.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:243)
@Aldun
I cant help you until you find me an error or something to deal with... Try delete your server.log file and then do a clean start, create a shop, then shutdown and send me the log file via pastebin or something.
@user_83
Read everything your server spits out. You probably havent installed vault or an economy properly.
@netherfoam
I allready updated to 3.1 and its still having the same problem.
Your plugin looks awesome and I cant wait to start using it! But I installed the .jar for 1.4.6 through the link in the comments and the plugin wont generate files and my server will not even acknowledge its existence. Is this a problem on my end?
@Zombiemold
Unfortunately, i think that is the economys fault for not formatting the number properly. Vaults format method calls the economys format method, and then the economy should say how the number should be formatted.. So the economy is at fault here :)
@Aldun
Also try updating to 3.1, the links are a few posts below this one while bukkit approves the plugins :)
I'm having the same issue as fusserhi. there are no errors in the log the shop creates and works fine until I restart the server and then its like it never existed.
@netherfoam
Love the updates man, keep it up. This is shaping up to be easily the best shop plugin available for bukkit right now.
A few suggestions after using it for some time:
- Items should display their names if available
On our server we have lot of named enchanted weapons and tools, as well as spell books and other tomes. It would be amazing if Quickshops actually showed their name. For instance, instead of "WRITTEN_BOOK" it would be "Fireball" etc.
- Ability to disable integer message lines
Item based economies typically don't use integer currency values, so items sold for say, 1 currency say "1.0" currently. A simple toggle for disabling integers would be great.
@netherfoam
Very cool. Will check it out.
While Bukkit approves (They seem to be having christmas and other unacceptable things): 1.4.6 https://dl.dropbox.com/u/72835893/Plugins/QuickShop_1_4_6.jar
1.4.5 https://dl.dropbox.com/u/72835893/Plugins/QuickShop_1_4_5.jar
@fusserhi
Try update to 3.1, I may have fixed this issue
@m10653
Ohh, well that is a nuisance. I will see if I can fix the books.. For now, if you're concerned about scams, put the books on the blacklist so people can't sell them.
@fusserhi
Are there any errors in your log?
@BlockyDigital
Haha, glad you solved it!
@antoniobenedetti
In Quickshop 2.9, I made it give players the permission to create, buy, sell, use, and find chests automatically. If this isnt what you want, you can take the permission away by putting a - infront of the node, e.g.
- Quickshop.use (allows use of qs) - -Quickshop.buy (disallows making shops buying shops)
Or... Open the quickshop.jar with winrar and edit plugin.yml to say default: false for each permission node.
There is a bug with this version https://dl.dropbox.com/u/72835893/QuickShop_3.0.jar
Using 1.4.6 R0.2, the latest snapshot, and the latest PermissionsEX/Vault. Players can create QuickShops without the "quickshop.create" node but only using the "quickshop.use" node. Please fix this.
@netherfoam
Actually, I deleted the entire QuickShop folder and I re-installed and it worked... Not sure why though. But now, when I buy something, the money doesn't get taken away, and when i sell, money dosen't get added. So, my players are able to buy unlimited items. NO CHARGE! So please help.
EDIT: NVM! False alarm... I forgot to make the shops owned by the server... My fail :P sorry...