GUI Shop
This plugin is the ultimate solution to all the signs, the chests, the glitches. This plugin will put a stop to all those head aches. I present to you, GUI shop. This plugin uses a sleek new way of making shops easy, comfortable, and fun!
Having issues configuring the plugin? Look at this!
https://www.youtube.com/watch?v=EiN3OYQg6bA
https://www.spigotmc.org/resources/guishopplus-50-off.15561/
REQUIRES VAULT
If you are coming from the dev.bukkit page, Download the newest version immediatly! Errors, Dupes, and Bugs are all fixed! Enchants added too!!!
YAY! 200k Downloads on dev.bukkit & Spigot! Lets go guys!
The Big Update! A new update has been released 5/29/2015! This update Fixes ALL common reported bugs! You can also disable certain items from being sold! View the Update History to view all changes!
How to disable item from being sold?
As you guys know, A new update was released, Which allows you to disable certain items from being sold! You can do this buy:
1. Go to the item in the shops.yml 2. Erase the current value for "sell" 3. Instead of putting how much you want the item to sell for, Put "false"
E.g: sell: 400 This will let the item be sold for 400$ sell: false Item cannot be sold!
How it works:
This plugin was designed to act like a large chest. you can simply click an item in the chest to buy it, or an item in your inventory to sell it. But it doesn't use a chest. It is a completely Virtual shop that will use any economy plugin you have. As long as you have vault of course. This plugin is Sign-less, Frame less, and head ache-less. This plugin has a simple configuration that you can customize your shop with, and name your items in it! You can also access the shop by clicking a sign you customize yourself!
Configuration:
http://dev.bukkit.org/bukkit-plugins/gui-shop/pages/configuration/
http://dev.bukkit.org/bukkit-plugins/gui-shop/pages/shops-configuration/
How to install:
http://dev.bukkit.org/bukkit-plugins/gui-shop/pages/how-to-install/
Commands:
/guishop edit - Opens in Editor Mode.
/guishop price/p {price} - Set item in hand's buy price.
/guishop sell/s {price} - Set item in hand's sell price.
/guishop shopname/sn {name} - Set item in hand's Shop-Name.
/guishop buyname/bn {name} - Set item in hand's Buy-Name.
/guishop enchant/e {enchants} - Set item in hand's Enchantments.
/guishop asll {line} - Add Shop Lore Line.
/guishop dsll {lineNumber} - Delete Shop Lore Line. Starts at 0.
/guishop esll {lineNumber} {line} - Edit Shop Lore Line. Starts at 0.
/guishop abll {line} - Add Buy Lore Line.
/guishop dbll {lineNumber} - Delete Buy Lore Line. Starts at 0.
/guishop ebll {lineNumber} {line} - Edit Buy Lore Line. Starts at 0.
/guishop ac {command} - Add Command to item.
/guishop dc {lineNumber} - Delete Command by line. Starts at 0.
/guishop ec {lineNumber} {cmd} - Edit Command by line. Starts at 0.
/guishop t {type} - Sets item type.
/guishop mt {type} - Sets item mob type.
Mod Support:
This plugin now supports items from modpacks! You can use this in Tekkit ETC!!!
Permissions:
guishop.use: Allows use of /shop.
guishop.shop.[shopName] E.G guishop.slot.Ores allows use of the ores shop.
guishop.sign.use Allow usage of signs to open shop. Requires guishop.use as well!
guishop.sign.place Allow users to place signs?
guishop.sell Allow user to sell items
guishop.admin Allow user to enter creator mode
How to use:
Its quite simple to use this plugin. All you need to do is open the configuration. Follow the instructions provided within. once completed do /reload OR /shop reload. After that its simple. Do /shop to open the virtual shop. Click an item in the top inventory to buy, Click an item in your inventory to sell!
ADDED: Shift+click to buy any of one item. E.g i sell 16 stone for 1600, if i shift+click i will only get one stone for 100$. Does this for all items.
Source :
You may use this code for educational purposes or to help with plugins of your own. If this code is copied by someone, their project will be requested for removal.
https://github.com/pablo67340/GUIShop
Still not working for me when i start to add more shops then the default amount to the menu the plugin will not work and i will get the unknown command msg
I am able to use /shop but as soon as i do the whole plugin breaks.
if i do /sell it will say sorry you are not able to sell that item. Then if i do /shop again i can take the items from the gui and it wont work as a shop anymore im running spiggot 1.11
any help would be greatly appreciated
make sure u leave items/blocks with a data value of 0 without a data value.
id= '#:0' -wrong
id= '#' -right
How can I add to the shop custom items from other plugins, for example guns (CrackShot plugin)
Awesome shops!
1: - item:368 - qty:1 - name:'&eEnderpearl' - price:50 - sell:25 - slot:0 i cant sell 16 enderpearls i have to set them on by one for selling them
It took me a while to get this working, the system is very touchy when you don't do it properly but once i figured it out everything was fine. Unfortunately i do seem to have one final issue I'm not sure if its something I've done wrong or an actual problem with the plugin. If i separate a stack into anything less than 16 and sell it gives me the money but also returns the item and allows you to just constantly sell the same item over and over. In addition to this it seems that if you deny sale on an item that has an extra data value (Like 35:5 for green wool) the item will revert to the 0 value item (like 35:0 for white wool).
I am unable to disable worlds.
I found the place in the config for this option but it does not work.
It's interfering with Acid Island's minishop so it needs to be disabled in that world.
I'm using the most up to date version as of today.
Thanks.
unable to sell anything, even with permission and opped. Everytime I click something in my inventory, that item stays stuck to my cursor. The items are marked for sale. Buying is not an issue. Any ideas what could be wrong?
Edit: /sells does work
@B25killer
Ill remove this for you next update.
It isn't allowing me to do /shop at all it allows me to do /sells but not /shop
So how do I get this plugin to stop putting this into the logs?
"[18:01:24 INFO]: User closed an inventory"
It is very annoying when going though logs and having to try and over look all of this?
BUG!!!!!!!!!!! We can repair tools and armors in sells menu! Its says that cant sold item and item repaired!
I set sell at 20$, and the item sold for 5$ and no for 20$ :/
Very useful plugin, thanks :)
Can author add commands for open special shop-sector from start '/shop' menu?
I want create npc in special location under my shop (NPC from Citizens, for example), and give this command for this NPC. When player click on NPC, NPC will perform command and open current shop sector with potions, for example...
But i still don't know how to solve the problem with player placeholder? Need to add this to!
1.10.2 update has been posted. Awaiting approval.
I need help with this error
22.07 21:45:43 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:43 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:43 [Server] INFO org.bukkit.event.EventException
22.07 21:45:43 [Server] ERROR Could not pass event InventoryClickEvent to GUIShop v4.3
22.07 21:45:42 [Server] INFO ... 15 more
22.07 21:45:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
22.07 21:45:42 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
22.07 21:45:42 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
22.07 21:45:42 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
22.07 21:45:42 [Server] INFO at com.pablo67340.GUIShop.Listeners.PlayerListener.onShopClick(PlayerListener.java:144) ~[?:?]
22.07 21:45:42 [Server] INFO Caused by: java.lang.NoSuchMethodError org.bukkit.event.inventory.InventoryClickEvent.getClickedInventory()Lorg/bukkit/inventory/Inventory;
22.07 21:45:42 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_05]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:536) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:628) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:672) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_05]
22.07 21:45:42 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_05]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1564) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:42 [Server] INFO org.bukkit.event.EventException
22.07 21:45:42 [Server] ERROR Could not pass event InventoryClickEvent to GUIShop v4.3
22.07 21:45:41 [Server] INFO ... 15 more
22.07 21:45:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
22.07 21:45:41 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
22.07 21:45:41 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
22.07 21:45:41 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
22.07 21:45:41 [Server] INFO at com.pablo67340.GUIShop.Listeners.PlayerListener.onShopClick(PlayerListener.java:144) ~[?:?]
22.07 21:45:41 [Server] INFO Caused by: java.lang.NoSuchMethodError org.bukkit.event.inventory.InventoryClickEvent.getClickedInventory()Lorg/bukkit/inventory/Inventory;
22.07 21:45:41 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_05]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:536) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:628) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:672) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_05]
22.07 21:45:41 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_05]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1564) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
22.07 21:45:41 [Server] INFO org.bukkit.event.EventException
22.07 21:45:41 [Server] ERROR Could not pass event InventoryClickEvent to GUIShop v4.3
1.10 update?
== GUYS PLEASE READ ==
Does it work for 1.10?
If not PLEASE ADD IT
because it is a really needed plugin at any decent server.