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
Hey Pablo, Just a quick thing I found annoying while setting this plugin up. Im an op on my server and i still need the permission to click on an item. Because when I try to click on an item in the shop GUI nothing happens. I think its because I dont have the permission but i have all the permissions cuz im an op (a.k.a I have the permission '*'). Thanks!
Hey guys, Sorry i have been super busy because i just finished hackintoshing my computer so my drivers went haywire. Yes. The plugin is compatible up to 1.8. And Yes, You need the permissions guishop.use and guishop.slot.number.
@Freezatrony
Plugin is working on my 1.7.8 server. Hope it helps.
EDIT: It is working just awesome on my 1.7.9 Towny Server.
@Fszeker
Thank you! Works great now, good catch!
@pablo37340 ===== I haven't tried it yet but i just want to know if it will work for my 1.7.9 server
@TheIronSquirel
Try using guishop.use and guishop.slot.1 and so on. That worked for me
I think the author messed up the tutorial about permissions.
Hello everyone. Got a problem but not sure if it is happening to anyone else. /shop command only works when in OP. Permissionsex does have gshop.use and does not open GUI when not in OP mode.
Any suggestions?
Thank you
TIS
Uhm please add me on skype: pablo673400
Sorry about not replying to comments, Didnt even know that my plugin got posted on curse when i posted it on dev bukkit.
Hello everyone. Got a problem but not sure if it is happening to anyone else. /shop command only works when in OP. Permissionsex does have gshop.use and does not open GUI when not in OP mode.
Any suggestions? Thank you
Hi,
Nice plugin. Althought i have a problem. Everything's fine and stuff but Name Tags and Horse Armors are not displayed. I checkd the double slots and there are none.
Is there a way to add enchantments on items in shops?
Can i add a lore?
PLEASE GET YOUR PERMISSIONS STRAIGHT: i think it's guishop.use cause that works for me and also why do we have to add seperatae permissions per each slot, can't we just grant access to whole right away or at least be able to use guishop.slot.*?
I am looking into this.
@pablo67340
Sounds good.
Maybe add an option to select quantity on an item?
Does this plugin work with minecraft 1.7.9?
Works great, got a few bugs and it is a bit laggy/slow clicking but it works.
Would like to see the GUI pane stay open after clicking sell/purchase items.
Also, a return option to return to the main option menues.
Working on gonfig file not that hard at all, looks confussing at first but gets easy after you start working with it.
Thank you!
TIS
I will be adding an unstack system shortly. noticed the same issue with armour as well.
@pablo67340
Okay, but make sure, that it will not be possible to buy 64x water bottles (because when you put all of them to brewing stand, you make 64 potions with 1 ingredient), 64 armors (because you can enchant them all with 1 book) etc...
Correct. I will be adding a shift click feature in the next update.
So when player want to buy 1 plank and I have qty: 64 in a shop, he cannot buy just 1 plank? And when I have qty: 1 and player needs a stack of planks, he need to click 64 times?
Thanks Cercal. This error has been fixed in the 2.1 release. i suggest EVERYONE downloads this. 2.0 doesn't allow selling!!!!
Hi, i have only one problem with this plugin, when i take item from creative, this plugin take him and he disappears. In consol plugin make this:
Could not pass event InventoryCreativeEvent to GUIShop v2.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [minecraft_server.jar:git-Spigot-1456] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [minecraft_server.jar:git-Spigot-1456] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [minecraft_server.jar:git-Spigot-1456] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [minecraft_server.jar:git-Spigot-1456] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:1525) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.PacketPlayInSetCreativeSlot.a(SourceFile:23) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.PacketPlayInSetCreativeSlot.handle(SourceFile:9) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:180) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:81) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:713) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:576) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:482) [minecraft_server.jar:git-Spigot-1456] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [minecraft_server.jar:git-Spigot-1456] Caused by: java.lang.NullPointerException at com.pablo67340.shop.GUIShop.trySell(GUIShop.java:393) [?:?] at com.pablo67340.shop.GUIShop.onClick(GUIShop.java:350) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [minecraft_server.jar:git-Spigot-1456] ... 14 more