ServerShop-gui
![]()
ServerShop-gui is a shop system. It allows players to buy item from a defined item list. It uses a Inventory to display the shop GUI. This plugin requires latest version of Vault, other than that, just drop it in plugins (make sure you have Vault plus a supported economy plugin installed)
WARNING: BECAREFUL WHEN SELLING COMMANDS OR PERMISSIONS IF YOU MISS SPELL A PERMISSION NODE AND ADD ONE THAT DOESN'T EXIST, THE PLUGIN WILL RESET YOUR ITEMS.YML, SO HAVE A BACKUP OF YOUR ITEMS.YML
Features
- Put any Items you want in the Shop
- Configure Amount and Price
- Lightweight and simple to use Plugin
- Open the shop either with a right click on a defined Item or a command
- Multiple Shops
- Highly customizable
- Purchasable permissions nodes
- Purchasable player commands
- Purchasable console commands
- Custom Lore
- Enchantments
- Custom display names
Support&Questions
If you have any questions/bug reports or feature requests. Please click on Tickets on top, and create a new one.
Thanks.
Usage
- The Interface(GUI)
- This is a display of all current Items, you click an item to buy it.

Video Tutorial
Thanks to VariationVault for the Video (The video might be outdated)
Metrics Statistic Collection
Metrics is used to collect plugin statistics. Only data such as plugin version and players online is collected. If you do not wish for this data to be collected, disabled the feature in your config.yml (EnableMetrics = false)
stock:
'0':
Type: Item
Reward: Wood:1
Displayname: This is a custom Item name.
lore:
- 'Look a '
- fancy lore
- '&ccan &abe &fadded :)'
Pricetype: Money
Price: 25.0
Sell: 5.0
Amount: 9
'1':
Type: Item
Reward: Stone
Pricetype: Money
Price: 40.0
Sell: 19.5
Amount: 9
'2':
Type: Item
Reward: Diamond_sword
Displayname: Sword of Fire
Enchantments: FIRE_ASPECT:3;KNOCKBACK:40
Pricetype: Money
Price: 25.0
Sell: -1
Amount: 1
'3':
Type: Item
Reward: Mob_Spawner
Pricetype: Money
Price: 500.125
Sell: 0.0
Amount: 1
'4':
Type: Item
Reward: Lever
Pricetype: EXP
Price: 5
Sell: 1
Amount: 64
'5':
Type: Item
Reward: Apple
Pricetype: Money
Price: 0
Sell: 0.0
Amount: 20
'6':
Type: Command
Reward: Wood:4
Pricetype: Money
Displayname: Wood Reward
lore:
- '&eThis is a new Feature '
- '&eIt will run multple commands'
- in this case give and a say announce!
Command: give %player% wood 64
Price: 50
-
View User Profile
-
Send Message
Posted Dec 28, 2013Dear crysis992, please, look at my previous comment!
-
View User Profile
-
Send Message
Posted Dec 26, 2013why dont you make it it work for http://dev.bukkit.org/bukkit-plugins/citizens/
i need some thing like tis but the npc wont spawn i'm now using DtlTraders if tis comes to citizens plugin ten i wil use tis one
-
View User Profile
-
Send Message
Posted Dec 24, 2013Can you please add in game shop setup thanks
-
View User Profile
-
Send Message
Posted Dec 24, 2013@crysis992
Thanks A lot! Have you fixed the issue with the enchantment books?
-
View User Profile
-
Send Message
Posted Dec 24, 2013It seems when an item has a custom display name, lore, etc. It will make it so you cannot sell regular items. Example: Wood at shop has lore/custom name saying: Oakey! Regular wood doesn't. Try to sell it at shop: "You don't have Woodx64!"
-
View User Profile
-
Send Message
Posted Dec 22, 2013@Wolfy262
Click on files, the latest Beta version should work fine with 1.7.2
@jitasi
Already possible, i just didnt update the config page yet. Check this example configuration:
http://pastebin.com/52xixeVK
Item 9 and 10 are Console Commands and Player Commands
-
View User Profile
-
Send Message
Posted Dec 22, 2013LOVE IT SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SO MUCH NEATER THAN A BUNCH OF SIGNS IN A HUGE SQUARE BUILDING!
TY TY TY TY
Love the permission type as well :D
is it possible that we could get a command type (executes a command on purchase)
-
View User Profile
-
Send Message
Posted Dec 22, 2013When is the 1.7 update possibly going to come out?
-
View User Profile
-
Send Message
Posted Dec 21, 2013I really love the new command and playercommand option you put in the latest release, But would it be possible to run the playercommands as an elevated permission (*), possibly also with a delay between how often a item can be bought.
-
View User Profile
-
Send Message
Posted Dec 18, 2013@SgtVault
Best way is to use the plugin "Essentials" if you are using it. Then hold the item you want to know and typ in the chat /itemdb. Then you get a list with the name that you must use in this plugin. The new logs are called:
Log_2
and
Log_2:1
And for the error you are getting. The Message file isn''t up 2 date yet. So whenever you have a wrong setting or don''t have the right Perm or something the plugin can''t find the right message to display explaning you what is wrong. Crysis is going to fix this in the next update.
Hope that helps...
-
View User Profile
-
Send Message
Posted Dec 17, 2013Fix this:
"Could not pass event InventoryClickEvent to ServerShop-GUI v1.3
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:1411)
at net.minecraft.server.v1_6_R3.Packet102WindowClick.handle(SourceFile:31)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:117)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:594)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.NullPointerException
at me.crysis.inventory.ShopBuyListener.onShopBuy(ShopBuyListener.java:64)
at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 15 more"
-
View User Profile
-
Send Message
Posted Dec 17, 2013Also, anyone know the item name for the new wood (logs) and mob spawn eggs? Better yet, can someone give me a list of all item names?
-
View User Profile
-
Send Message
Posted Dec 17, 2013I can't seem to open the shop. Whenever I try to open a category to see the items, it says: "String not found, check your messages.yml for errors," but I can't seem to find anything wrong with it.
-
View User Profile
-
Send Message
Posted Dec 17, 2013[17:39:30] [Server thread/ERROR]: Could not load 'plugins/shop.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/avalon/servershop/ServerShop : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) [craftbukkit.jar:git-Spigot-1193] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:306) [craftbukkit.jar:git-Spigot-1193] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) [craftbukkit.jar:git-Spigot-1193] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:259) [craftbukkit.jar:git-Spigot-1193] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:133) [craftbukkit.jar:git-Spigot-1193] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:430) [craftbukkit.jar:git-Spigot-1193] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1193] Caused by: java.lang.UnsupportedClassVersionError: com/avalon/servershop/ServerShop : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_26] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [?:1.6.0_26] at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [?:1.6.0_26] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_26] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_26] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_26] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_26] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_26] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_26] at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) [craftbukkit.jar:git-Spigot-1193] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) [craftbukkit.jar:git-Spigot-1193] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_26] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_26] at java.lang.Class.forName0(Native Method) [?:1.6.0_26] at java.lang.Class.forName(Class.java:247) [?:1.6.0_26] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) [craftbukkit.jar:git-Spigot-1193] ... 6 more
-
View User Profile
-
Send Message
Posted Dec 17, 2013i cant load this plugin classic error!
-
View User Profile
-
Send Message
Posted Dec 17, 2013I love you plugin @crysis992
I would like to suggest you that is it possible to create time.yml to store the player period when they rent a perrmission such as essentitals.home for 7 day then after 7day can't use it need to rent gain? Thankyou
-
View User Profile
-
Send Message
Posted Dec 15, 2013@DutchXposure
The message files will be fixed in the next release.
The stock feature will not come back in the near future. I removed it cause it wasnt used by much servers.
@xp9kus
Sorry, this is a "big" projects,and i cannot make stable builds faster. I'm already working hard on this project.
@KleinesGumi
What doesnt work for you? Details please
@Wolfy262
I'll look into this issue as soon as im at home in about 7 days.
,
crysis992
-
View User Profile
-
Send Message
Posted Dec 15, 2013Do enchantment books work in the shop? When I added a book with the right enchantment, the text was blue, but the normal books are yellow, and the in-shop ones don't work in an anvil.
-
View User Profile
-
Send Message
Posted Dec 12, 2013dont work for me!
-
View User Profile
-
Send Message
Posted Dec 11, 2013Oh no, NPC support removed =( Dear author, can you make the next build faster?