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
Would love to see this being used with Citizens to trigger the GUI, great plugin :)
Hi, is it possible to block an item from being bought but that you can still sell it?
And I have swords with custom names that cant be sold. Any way I can sell custom named swords?
@rolo50065 It is because you are using bukkit and not Spigot. Please use http://tcpr.ca/spigot
I am able to pick up items from the shop and put them in my inventory, without paying anything and craft items with them
@ShacoShacoShaco that means you have an error with your shops.yml, config.yml or do not have the latest version.
Having an issue where instead of opening a new store slot, when anybody (Including me) clicks a menu block, the Miscellaneous tab for example, we just take the item instead of navigating the store.
Yep! This should work for you fine!
@ShacoShacoShaco
This plugin looks very interesting and I'm considering using it on my server. I noticed it hooks into Vault, so would it be compatible with an item currency plugin? (Gringotts, is what I've got in mind, as I use it on my own server.)
Woot! Thanks!
Updated. Sorry guys! All the bugs have been addressed.
When I had downloaded it and put it in the plugins folder and reloaded everything you know. I had added the command for the owner default and ect. But after that I did /shop reload then I did /shop everything worked i tested it when i was de-op. Everything worked but I didn't see the items in the gui. Can you please help me!
I'd like to add a bug that i cant seem to find that's been addressed already.
When clicking "Back" in the GUI, users on our server have reported not being able to click the other shops, and needing to close the GUI and reopen it. No biggy
Edit the config but can't even get rid of the donation thing and default things. Need to overwrite them.
@2008Choco
How do I edit InventoryClickEvents? Where do I find this?
@jenks1999
A way to fix jenk's error here, add the following code in to your InventoryClickEvents:
That should fix the issue he's having. :P
The data value will not work for most of mob spawn eggs or lapis lazuli. Im pretty sure I'm doing it right.
@pablo67340
Also if i remove a config item in for example the block section it doesn't update the shopgui you can only change items and not remove them from the list.
@pablo67340
[09:36:52 ERROR]: Could not pass event PlayerInteractEvent to GUIShop v3.9.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:227) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:194) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:190) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1173) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:18) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:1) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_79] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_79] at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] Caused by: java.lang.NullPointerException at com.pablo67340.shop.GUIShop.onInteract(GUIShop.java:128) [?:?] at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_79] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_79] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot_server.jar:git-Spigot-44c59bf-1880a9c] ... 18 more
this error is being spammed in my console.
@Hardowek click on the spigot link Look under the words above, you will see a link that says "NEW PAGE"
How add enchantments ???
- qty:1
- name:'&eDiamond Sword'
- price:600000
- sell:0
- slot:0
- enchantmens: ???
Please help edit enchants :(
Updated