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
when i type /plugins the plugin shows up in red text. im using CraftBukkit 1.11. i do have vaut installed. i did download the right version of guishop...not sure why its not working
REQUIRES VAULT
Quote directly from the page.
I'm having 2 main issues with the plugin.
1. When the server restarts or I reload I am unable to use /shop. Nothing happens. I have to delete the config files and the jar files.
2. The permission node guishop.use isn't working.
I'm running Spigot 1.8
Hello, i got some realy anoying problems the problems are
only Ops can use the shop and when i add the premade shop its empty i hope someone can help me with this problem!
I made 5 shops. Four of them are running well, the fifth wont load. Shows icon, but if I open It. the shop is empty. Its not writing any bad line in log.
Second and a big problem, the /shop reload - is not working. /shop is fine . But if i put /shop reload, it shows bad command, use /help (Spigot help)
Runing 1.11.2 Spigot
Allso a mssage in log:
[16:33:34] [Server thread/ERROR]: Error occurred while enabling GUIShop v5.9 (Is it up to date?)
java.lang.NullPointerException
at com.pablo67340.shop.handler.Shop.loadShop(Shop.java:203) ~[?:?]
at com.pablo67340.shop.handler.Shop.loadShops(Shop.java:131) ~[?:?]
at com.pablo67340.shop.main.Main.onEnable(Main.java:122) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:375) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:325) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:419) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:380) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:335) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:272) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [minecraft_server.jar:git-Spigot-7d78b81-a6d8fa2]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
i cant configure it with items from1.11 altough i have the right version...
[Server thread/ERROR]: Could not pass event InventoryClickEvent to GUIShop v5.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1788) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.PacketPlayInWindowClick.a(SourceFile:33) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.PacketPlayInWindowClick.a(SourceFile:10) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_111]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_111]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:690) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550) [craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
Caused by: java.lang.NoSuchMethodError: org.bukkit.event.inventory.InventoryClickEvent.getClickedInventory()Lorg/bukkit/inventory/Inventory;
at com.pablo67340.shop.listener.PlayerListener.onShopClick(PlayerListener.java:125) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-10c10b3]
... 15 more
Dose this Version compatible with Spigot-Essentials?
I'm running Spigot server and Spigot-Essentials-ECO enabled,
and I got
[13:53:39 INFO]: [GUIShop] Plugin couldn't detect Vault or an Economy plugin (Such as Essentials ECO). Disabling.
It must mean spigot-essentials isnt hooking into vault correctly. Do you have vault enabled?
I downloaded the Version from 2 hours ago. but when i left click on a item after /shop i can take the items from the gui and it wont work as a shop anymore . The Server is on 1.11
Ill look into this thanks.
Most of the reported bugs should be fixed. Please try out the latest version and report back.
Hey, I just installed this plugin and it's exactly what I'm looking for apart from I'm unable to sell items either by clicking them in my inventory or left clicking them in the gui. It just purchases more items. I hope you can fix this soon since it's an amazing plugin. -Thanks
I just posted a fix for this. The file is pending approval right now from bukkit staff. You can get it right now from my personal site: https://craftedplugins.com/scripts/view/9
Hey, it still doesn't let you sell items by right clicking in the buy shop, and if it's possible can you add commands to add an item you are holding to the shop. I really need this feature to sell custom weapons in the shop.
Right clicking in the buy shop isnt supposed to sell. It was never a feature in GUIShop. There is supposed to be an entire sell GUI.
Oh ok, and is there anyway that custom items can be added into the shop at all?
I will be adding this in next update. Along with timed commands.
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
Should be fixed.