GUIShop
This plugin simply adds one command for your players; /shop.
This command will open a clickable GUI with the shop on top and your inventory on the bottom.
Simply navigate to the item you want, and click on it to buy or sell it.
Please read the whole thread if you can.
Features:
1. Easy to use click GUI.
2. Buy or sell any item at a configurable price.
3. Sell enchantments books with any enchantment.
4. Sort item into categories for ease of use.
5. Hooks into vault for economy.
Permissions:
shop.buy:
description: Gives access to buying menu.
shop.sell:
description: Gives access to selling menu.
shop.enchantments:
description: Gives access to the enchantment menu.
shop.tab.<tabID>:
description: Gives access to the specified tab.
shop.tab.* to give permission for all tabs.
shop.creative:
description: Gives access to shopping in creative mode.
shop.admin:
description: Gives access to admin commands like /reloadshop.
Commands:
/shop opens the shop GUI.
/reloadshop reload prices and config for the plugin. *working in v1.3.
Download:
Direct download:
(Use the files button)
You will also need to install vault and a economy plugin like BOSEconomy or iConomy.
Images:
Configuration:
There are four configuration files, Options, Tabs, Prices and EnchantmentPrices.
Options
There are five options:
SHOP_TITLE=§2[Shop] DONATE_MESSAGE_ON=true DONATE_MESSAGE=§cDonate to gain access! ALLOW_BROWSE=false PRICE_MULTIPLIER=1.0
SHOP_TITLE will change the prefix of all messages and GUIs made by the shop plugin. This must be under 20 characters long.
DONATE_MESSAGE_ON turns the message about donating on.
DONATE_MESSAGE lets you set the message that will ask people to donate.
ALLOW_BROWSE lets players look through tabs that they do not have permission for, but they can not buy/sell anything in those tabs.
PRICE_MULTIPLIER all the prices will be multiplied by this number, good for quickly scaling up the prices to suit your server.
Tabs
tabID=0 tabName=Building_Blocks IconID=45
Each tab must have a unique ID (tabID=0 in this case). This is used to identify which tab each item goes into.
The second part (tabName=Building_Blocks) is to set what this group of items is called, in this example "Building Blocks". Instead of spaces use underscores, '_', in the name of the tab.
The last part (IconID=45) is to change the icon of the tab. It is the item ID of the icon, eg 45 is the ID for bricks. You can find the icon IDs of items on minecraft wiki.
Example:
tabID=0 tabName=Building_Blocks IconID=45 tabID=1 tabName=Decorations IconID=38 tabID=2 tabName=Redstone IconID=331 tabID=3 tabName=Transportation IconID=27
Prices
WOOD_BIRCH itemID=5:2 buyPrice=4.0 sellPrice=0.5 tabID=0
The first part (WOOD_BIRCH) is not important, just for you to remember what item the configuration is for and it is not interpreted by the plugin at all.
The second part (itemID=5:2) is the minecraft ID of an item. You can find these on minecraft wiki or just google it.
To get a different version of an item (eg birch wood instead of Oak wood) just add a semicolon (:) and the appropriate data for the alternative version (also available on minecraft wiki).
The third and fourth part (buyPrice=4.0 sellPrice=0.5) is the price of a single item, eg one wood.
The plugin will automatically generate a list of possible block for you to use, and it will set a default price for these blocks. You can always add or remove any block you want to the list, and I recommend you modify the prices o suit your server
The last part (ItemTAB=0) is which tab (group of items) in the shop GUI the item will appear in.
0 is Building Blocks, 1 is Decorations, 2 is Redstone, 3 is Transportation, 4 is Misc, 5 is Foodstuffs, 6 is Tools, 7 is Combat, 8 is Brewing and 9 is Materials, you can change these in the tabs config.
Example:
SAND itemID=12 buyPrice=4.0 sellPrice=0.5 tabID=0 GRAVEL itemID=13 buyPrice=4.0 sellPrice=2.0 tabID=0 GOLD_ORE itemID=14 buyPrice=45.0 sellPrice=22.5 tabID=0 DIRT itemID=3 buyPrice=4.0 sellPrice=0.5 tabID=0 COBBLESTONE itemID=4 buyPrice=4.0 sellPrice=0.5 tabID=0 WOOD_BIRCH itemID=5:2 buyPrice=4.0 sellPrice=0.5 tabID=0 WOOD_DARK itemID=5:1 buyPrice=4.0 sellPrice=0.5 tabID=0
Enchantments
DURABILITY enchantmentID=34 enchantmentLevel=3 enchantmentPrice=10
Again the first part (DURABILITY) is just for you; not used by the plugin.
The second part is the enchanment ID for the enchantment type, these can be found here:
http://www.minecraftforum.net/topic/1711629-enchantment-id-list/
The third part is pretty simple, just how strong the enchantment is. This one (enchantmentLevel=3) will get you unbreaking level III.
The last bit (enchantmentPrice=10) is simple as well, just the price to buy one enchantment book.
Example:
LOOT_BONUS_BLOCKS enchantmentID=35 enchantmentLevel=3 enchantmentPrice=40 PROTECTION_FIRE enchantmentID=1 enchantmentLevel=4 enchantmentPrice=30 DIG_SPEED enchantmentID=32 enchantmentLevel=5 enchantmentPrice=50 PROTECTION_FALL enchantmentID=2 enchantmentLevel=4 enchantmentPrice=50 SILK_TOUCH enchantmentID=33 enchantmentLevel=1 enchantmentPrice=100
Please comment if you use the plugin or would like to make a suggestion.
Videos
English:
http://youtu.be/bJyvUOLr33g
Credits: SimplyAussieGamer
Portuguese:
https://www.youtube.com/watch?v=u5r01sSCE-I
Credits: AbsintoJ
Metrics
Thanks for taking time to read this,
~ Waffles
Can you allow us to add mob eggs ??
Just want to say that the default pricing of your shop is really bad. A Lapis block is worth an insane amount of money compared to the amount of lapis required to make it. Not to mention one could buy an ore block with fortune, then mine it, and sell the material back to buy another ore block, and just take it from there. I love your plugin, though. After some tweaking, I managed to close most of the loopholes.
can you add full list of item. it good but i find it limit what it sell... i try adding missing item and your program will not add...
it about time i find a working shop
Hey there! I was wondering if you could add an option to sell commands. What I mean is, when a player clicks an object inside the shop, instead of giving him/her an item, the plugin runs a command that's been configured before. I want to have this because I want to sell permission nodes to players, and I think that the command way is more flexible than just the permissions.
PD: Sorry for my bad english, it's not my native language.
i want this plugin!
[14:50:03] [Server thread/ERROR]: Could not load 'plugins/GUIShop_2.1.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: us/alreadycoded/shop/Shop : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:255) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:233) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:420) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] Caused by: java.lang.UnsupportedClassVersionError: us/alreadycoded/shop/Shop : 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-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] 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-Bukkit-1.6.4-R2.0-34-g2220179-b2948jnks] ... 9 more
My players cant buy or sell stuff and i'm running a 1.7 server but i'm using multicraft control panel can someone help PLEASE
e
Name Tag ID 421 and Creeper Head ID 397:4 not working and showing up in the shop.
@wumpyc
Yeah, this is true, will be good if you disable selling swords and similar tools .. thanx
If players buy stacked swords they can enchant them with one book and seperate them then
Hello, I love this plugin but can u make shops per world that run on different currencies Thank you
Hello creators of GUIShop! Great plugin! Is there any way you could make it configurable to change the message when the shop is opened and when items are bought or sold? Also there is a problem when you buy or sell something, instead of the configured shop name it will appear [Shop] in white. And when you buy or sell items it will be like "[Shop] Purchased/Sold item for (amount spent) ! Sorry I have ocd and the space then ! drives me insane
This is just the best plugin :-) I do though have a problem. Everything works fine but I can't add the Name Tag to the shop. Item 421. It simply won't show up?!
Any ideas?
Video Tutorial on the Plugin
https://www.youtube.com/watch?v=u5r01sSCE-I
Credits: (AbsintoJ/GUIShop)
Hey, so I'm on version 1.6.4 and well, permissions aren't working. I saw below someone said the same. Is there going to be a fix soon?
ERROR FOR v2.1 Bukkit 1.6.4 R2.0 = http://prntscr.com/24826j
is this MAJOR? o.o
i have been having problems adding spawn eggs to my shop
Spawn_Creeper itemID=383:50 buyPrice=10000.0 sellPrice=0.0 tabID=10 also i made a tab for the spawn eggs how can i make a tab for the spawn eggs like a buy/sell. enchantments. and spawneggs
please reply as soon as you can
How do we get Enchantments into the shop whats the TAB ID or what am i suppose to do?
@Iwitrag
Make sure to add it to both Tabs in the config files.