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.
-
View User Profile
-
Send Message
Posted Feb 10, 2013@xclucky
Something like this: http://privatepaste.com/aff7ac5ff5
-
View User Profile
-
Send Message
Posted Feb 9, 2013@netherfoam
I don't know java... but only 30 lines you say? Perhaps I can persuade a friend...
-
View User Profile
-
Send Message
Posted Feb 9, 2013@roblikescake
I've uploaded 3.7 which I've confirmed works with Libigot 1.4.7 (Not tested on forge, but Forge uses the same package naming as Libigot AFAIK, so it should be the same). If items are showing up for a moment, and then disappearing, I'd say this is forges fault. If quickshop were at fault, the items would have to not spawn at all.
-
View User Profile
-
Send Message
Posted Feb 9, 2013Is this mod not Forge compatible? On servers that have this mod, I see the items display above the chests momentarily and then they just disappear. Would this be a problem with the plugin on your end, or something with Forge? When removing Forge via MagicLauncher, the items display just fine.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Dysthymical
What build of Libigot?
-
View User Profile
-
Send Message
Posted Feb 8, 2013Can you make this plugin compatible with Libigot? Tried using it, but can't make shops. This would go great on my Heroes server. Hope you take this into consideration. It is a popular Bukkit fork. Thanks!
-
View User Profile
-
Send Message
Posted Feb 8, 2013@xclucky
I suggest you check out the API, i throw ShopPreCreateEvent immediately before a player Tries to create a shop. So, write a 30 line plugin to wait for the event, then cancel it if they dont own the land theyre creating it on.
-
View User Profile
-
Send Message
Posted Feb 8, 2013You don't have to do this, but it would be really awesome to have on my server. Basically, I'm having issues with players using griefprevention land to open stores on instead of buying land from the server to build a store on. I think it would be great to make a configuration to make shop creation limited only to a Residence (http://dev.bukkit.org/server-mods/residence) that a player had build access to. Like I said, you don't have to do this, but it would be awesome if you did :3. I understand how hard it is to add these things, and being you are not paid to do this (nor do I currently have the money to donate, sorry), I would not expect it of you. If you do add it though, I would be eternally grateful :)
-
View User Profile
-
Send Message
Posted Feb 8, 2013Is this mod not Forge compatible? On servers that have this mod, I see the items display above the chests momentarily and then they just disappear. Would this be a problem with the plugin on your end, or something with Forge? When removing Forge via MagicLauncher, the items display just fine.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@Safrguns
I'll look into it when I get time. I've added it https://github.com/netherfoam/QuickShop/issues/15 in the meantime.
@samsor10
Great!
@Sadragos
Cool!
-
View User Profile
-
Send Message
Posted Feb 7, 2013@netherfoam
Yes... was creating some unlimited shops, and most potions were working fine, but when I tried to create one with Instant damage2 or extended speed, or instant health 2, it would create the shop with no sign or display and no confirmation of creation. Nearby chests already with shop signs lose their displays. Checking console observed multiple sever exceptions. If want, I can paste some in here.... or I can give you a console dump.
Also, is there any way you can disable purchase/sell messages for unlimited shops?
Thanks!
-
View User Profile
-
Send Message
Posted Feb 7, 2013@netherfoam Thx alot :D I've installed vault and it works now :)
-
View User Profile
-
Send Message
Posted Feb 7, 2013This is really a great plugin! I'll use it on my Server, thats going live soon. Just wanted to thank you!
-
View User Profile
-
Send Message
Posted Feb 6, 2013@samsor10
You need to install vault + economy
@Safrguns
Extended potions? I will have to look into that. Previously people were just saying 'creative potions', but that's a load of rot.
@BiscuitYT
You need quickshop.create.sell permissions at least to create a shop.
-
View User Profile
-
Send Message
Posted Feb 6, 2013Extended potions, damage, and health are causing the plugin to crash and mess up nearby shops. Will have to blacklist potions for now until fixed. Great Plugin!
-
View User Profile
-
Send Message
Posted Feb 6, 2013@usrnam
Everything is fine, plugin is activated but when i left click nothing happens
-
View User Profile
-
Send Message
Posted Feb 6, 2013Hi, I really like the plugin and all, I saw that plugin or a simalar one on many servers but, it wont work for me :( i've installed it everything was ok there was a folder for it, but when I Did /qs, it simply printed out "/qs" nothing more I cant even use the plugin but, when I do /plugins I can see it.... I tried twice (deleted it and reinstalled it) if you know whats wrong plz reply, thank you.
-samsor10
-
View User Profile
-
Send Message
Posted Feb 6, 2013@BiscuitYT
You can try to check if the plugin is activated. Check your server.log or type "/qs" in chat to be sure. If it's all good, look at the permissions.
-
View User Profile
-
Send Message
Posted Feb 6, 2013@netherfoam
Hi, i dont know if my plugins are messing it up. BUt everytime i left click on a chest, nothing happens. i hope i get feedback soon Thx.
-
View User Profile
-
Send Message
Posted Feb 6, 2013@netherfoam
Thanks fot the BLOB explanation, i'll try to do something with PHP. (and PM you for my timeout problem)