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 18, 2013There is an option to turn on QuickShop locking to prevent sign breaking, however it overrides LWC protection. Is it possible to have different permissions for each so that if a chest's locked to multiple people, they can all access it?
Thanks, Rob
-
View User Profile
-
Send Message
Posted Feb 17, 2013@CoffeeNutz
Plus, how do you run BukkitForge.jar? It's not running like a normal server... do I have to patch something?
-
View User Profile
-
Send Message
Posted Feb 17, 2013@CoffeeNutz
That link has no NMS code (Which I need to protect items because #Bukkit has no EntityPickupItemEvent).. Ugh, I don't know how to do that :/
@KanaYamamoto
Thanks! I'll pull it and check for any issues
@Blood_Mist
I'm not going to do this, you can do it with your Permissions plugin. Just give users permissions in one world, and don't give it to them in the rest.. eg remove all perms and then use the pex command (if you have pex, it will be similar if you have a different perms plugin) /pex group default add quickshop.create.* marketworld
-
View User Profile
-
Send Message
Posted Feb 17, 2013Got another feature request, could you implement per world limitations? Like you can disallow permission to build shops in "world" and allow shops to be built in world "market"?
Thanks in advance if you consider adding this. :D
-
View User Profile
-
Send Message
Posted Feb 17, 2013@netherfoam
I sent a pull request under the name Daenara. I found a few more than before and I'm not sure, I got all. I also used the name of the survival mode, not the creative mode (they really have items which differ in name between gamemodes). I really hope, I didn't break any code with it since I edited it online. I found one error already and corrected it.
-
View User Profile
-
Send Message
Posted Feb 17, 2013http://build.technicpack.net:8080/job/BukkitForge/?
I was using 235 i'm going to try 239 here shortly
Basically i'll place a chest shop and click it with an item, the item will appear above the chest and ask for a price. I enter chat and type in the price... then i get the error and the item stay floating and no sign appears... I've tried this even in random none WG'd areas just in case and same thing.
Is there a version you'd like me to use cause shopkeepers/market/emeraldmarket/quickshops all stop right before it finishes. I can get any non visual market place working like hyperconomy but i hate non phsiycal markets.. doesnt feel real nuff
-
View User Profile
-
Send Message
Posted Feb 16, 2013Thanks again!
-
View User Profile
-
Send Message
Posted Feb 16, 2013@slimedog007
I don't know, but I'm not writing that feature request.
@Geloum
You're in creative, and posting 3 tickets does NOT make me respond any faster.
@CoffeeNutz
Uh, well, did you update/downgrade forge or something? That error is caused by a different NMS version (Built on a different version of Minecraft.net's server)..Which it was working before from what I gather?
-
View User Profile
-
Send Message
Posted Feb 16, 2013@slimedog007
try multiverse inventories and sepperate the creative world from the main
-
View User Profile
-
Send Message
Posted Feb 16, 2013Netherfoam, is there any way to detect players who are in creative mode? I'm having a lot of problems on my survival/creative map where creative players are finding ways to sell things to shops while in creative.
-
View User Profile
-
Send Message
Posted Feb 16, 2013@CoffeeNutz
Fixed that one i had the database wrong
here is what happens when i use it in game right when i enter teh amount and before it makes the sign and stops working
2013-02-16 13:13:07 [WARNING] [BukkitForge] Task #99 for QuickShop v3.7.1 generated an exception java.lang.NoSuchMethodError: org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(Lorg/bukkit/inventory/ItemStack;)Lnet/minecraft/server/ItemStack; at org.maxgamer.QuickShop.Util.NMS$1.safeGuard(NMS.java:26) at org.maxgamer.QuickShop.Util.NMS.safeGuard(NMS.java:189) at org.maxgamer.QuickShop.Shop.DisplayItem.spawn(DisplayItem.java:51) at org.maxgamer.QuickShop.Shop.DisplayItem.respawn(DisplayItem.java:64) at org.maxgamer.QuickShop.Shop.ChestShop.onLoad(ChestShop.java:626) at org.maxgamer.QuickShop.ShopManager$1.run(ShopManager.java:295) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:346) at keepcalm.mods.bukkit.forgeHandler.SchedulerTickHandler.tickStart(SchedulerTickHandler.java:38) at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:16) at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:120) at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:288) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:588) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) at fy.run(SourceFile:849)
-
View User Profile
-
Send Message
Posted Feb 16, 2013[SEVERE] [BukkitForge] Error occurred while enabling QuickShop v3.7.1 (Is it up to date?) java.lang.NullPointerException at org.maxgamer.QuickShop.Database.Database.hasTable(Database.java:86) at org.maxgamer.QuickShop.QuickShop.onEnable(QuickShop.java:127) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:838) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:822) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:235) at keepcalm.mods.bukkit.asm.BukkitStarter.run(BukkitStarter.java:46) at java.lang.Thread.run(Unknown Source)
-
View User Profile
-
Send Message
Posted Feb 16, 2013QuickShop 3.7.1
Latest
Hi there,
I'm having an issue with your great plugin I try to install. There is no possibility to create one. I put a locker on the ground, then sneak (I enabled it in the config) or even when I dont sneak I right click or left click with wool for example, it breaks the locker or places the wool on it. I did some troubleshooting be removing ALL plugins, trying with different economy plugins, with and without Vault, nothing works, same issue.
The plugin dho is well started, I can type in games commands without any problem, like /qs sell but it keeps telling me of course that he can't find any shop.
He is the no error log from the start of my server with nearly no plugins enabled :
17:41:25 [INFO] Starting minecraft server version 1.4.7 17:41:25 [INFO] Loading properties 17:41:25 [INFO] Default game type: SURVIVAL 17:41:25 [INFO] Generating keypair 17:41:25 [INFO] Starting Minecraft server on 77.111.253.45:25565 17:41:26 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0) 17:41:26 [INFO] [QuickShop] Loading QuickShop v3.7.1 17:41:26 [INFO] [BOSEconomy] Loading BOSEconomy v0.7.3.1 17:41:26 [INFO] [Vault] Loading Vault v1.2.23-b301 17:41:26 [INFO] [PlayerMarkers] Loading PlayerMarkers v0.2.0 17:41:26 [INFO] [Vault] Enabling Vault v1.2.23-b301 17:41:26 [INFO] [Vault][Economy] BOSEconomy7 found: Waiting 17:41:26 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system. 17:41:26 [INFO] [Vault] Enabled Version 1.2.23-b301 17:41:26 [INFO] [Vault][Economy] BOSEconomy hooked. 17:41:26 [INFO] Preparing level "world" 17:41:26 [INFO] Preparing start region for level 0 (Seed: 1464975645) 17:41:26 [INFO] Preparing start region for level 1 (Seed: -7207106060178318338) 17:41:27 [INFO] Preparing start region for level 2 (Seed: -7207106060178318338) 17:41:27 [INFO] [QuickShop] Enabling QuickShop v3.7.1 17:41:27 [INFO] [QuickShop] Hooking Vault 17:41:27 [INFO] [QuickShop] Starting item scheduler 17:41:27 [INFO] [QuickShop] Loading shops from database... 17:41:27 [INFO] Item column type: null, converting to BLOB. 17:41:27 [INFO] Converting shops to 3.4 format... 17:41:27 [INFO] Loading shops... 17:41:27 [INFO] Loading complete. Backing up and deleting shops table... 17:41:27 [INFO] Conversion complete. 17:41:27 [INFO] Conversion success. Continuing... 17:41:27 [INFO] [QuickShop] Loaded 0 shops. 17:41:27 [INFO] Cleaning purchase messages from database that are over a week old... 17:41:27 [INFO] [QuickShop] Registering Listeners 17:41:27 [INFO] [QuickShop] Metrics started. 17:41:27 [INFO] [QuickShop] QuickShop loaded! 17:41:27 [INFO] [BOSEconomy] Enabling BOSEconomy v0.7.3.1 17:41:27 [INFO] BOSEconomy: Automatically created the default bracket 'default'. 17:41:27 [INFO] BOSEconomy v0.7.3.1 enabled. 17:41:27 [INFO] [PlayerMarkers] Enabling PlayerMarkers v0.2.0 17:41:27 [INFO] PlayerMarkers version 0.2.0 enabled 17:41:27 [INFO] Server permissions file permissions.yml is empty, ignoring it 17:41:27 [INFO] Done (1.272s)! For help, type "help" or "?"
It just doesnt work and I dont know why.
Please help me out !
If any relevant:
-
View User Profile
-
Send Message
Posted Feb 16, 2013@netherfoam
i have the latest everything :o
-
View User Profile
-
Send Message
Posted Feb 15, 2013@Solblade45
Likely you have the wrong build of forge. I dont believe this will work on 1.4.6 for forge.
-
View User Profile
-
Send Message
Posted Feb 15, 2013Hey, would like to say awesome plugin. I got a feature request, would you be able to add "per group limitation"? Like rank "member" would be able to create only 1 shop(or what ever amount you want) Then rank "VIP" would be able to create 10 shops.
Thanks again!
Edit: Running latest dev build of bukkit, with 40+ plugins. Running latest version of quickshop, no errors or issues of any kind.
-
View User Profile
-
Send Message
Posted Feb 15, 2013Im geting this error
any idea whats up?
2013-02-16 04:14:12 [WARNING] [BukkitForge] Task #1118 for QuickShop v3.7.1 generated an exception java.lang.NoSuchMethodError: org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(Lorg/bukkit/inventory/ItemStack;)Lnet/minecraft/server/ItemStack; at org.maxgamer.QuickShop.Util.NMS$1.safeGuard(NMS.java:26) at org.maxgamer.QuickShop.Util.NMS.safeGuard(NMS.java:189) at org.maxgamer.QuickShop.Shop.DisplayItem.spawn(DisplayItem.java:51) at org.maxgamer.QuickShop.Shop.DisplayItem.respawn(DisplayItem.java:64) at org.maxgamer.QuickShop.Shop.ChestShop.onLoad(ChestShop.java:626) at org.maxgamer.QuickShop.ShopManager$1.run(ShopManager.java:295) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:346) at keepcalm.mods.bukkit.forgeHandler.SchedulerTickHandler.tickStart(SchedulerTickHandler.java:38) at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:16) at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:119) at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:287) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:588) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) at fy.run(SourceFile:849)
-
View User Profile
-
Send Message
Posted Feb 14, 2013@KanaYamamoto
Unfortunately, Bukkit (nor the Minecraft Server code) gives no way to find the client name for an item stack, so I've had to name every item myself. The full list of items is here https://github.com/netherfoam/QuickShop/blob/master/src/org/maxgamer/QuickShop/Util/Util.java#L300 - If you send a pull request to fix some of the item names up, I will gladly accept it.
-
View User Profile
-
Send Message
Posted Feb 14, 2013Hi, I just installed QuickShop and it works fine for me but I'm a bit puzzled where it gets the item names from. The first test I did was with gunpowder and it promtly told me I was selling sulphur. Then I tried various items and most of them had the correct names but I also got a 'potato item'. Therefor I figure it doesn't uses ingame names since they are displayes correctly.
-
View User Profile
-
Send Message
Posted Feb 14, 2013@netherfoam
i'm only on briefly today 4 hours from now but i'll be on threw the weekend
if you have ventrilo goto my website enderworld.enjin.com the ventrilo info is on yhe bottom left of the page and use the password pirate13 when you log-in to it i'll be using the name tamcey but you should find me faster i leave myself logged in there so ppl can leave messages with me