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.
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.
description: Gives access to buying menu.
description: Gives access to selling menu.
description: Gives access to the enchantment menu.
description: Gives access to the specified tab.
shop.tab.* to give permission for all tabs.
description: Gives access to shopping in creative mode.
description: Gives access to admin commands like /reloadshop.
/shop opens the shop GUI.
/reloadshop reload prices and config for the plugin. *working in v1.3.
(Use the files button)
You will also need to install vault and a economy plugin like BOSEconomy or iConomy.
There are four configuration files, Options, Tabs, Prices and EnchantmentPrices.
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.
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.
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
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.
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
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:
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.
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.
Thanks for taking time to read this,
Pastebin your prices.txt file.
Okay Im getting this error when I click building blocks can someone please help?
Verified working with 1.6.2.
Guys the plugin does work 100% with 1.6.2
And another idea would be bind the shop to the diamond so you can right click instead of /shop
trying to add a new mEnu item tab 10 spawn_eggs i can get the tab to show up i see the spawn egg but when i click on it there is nothing in the sub menu i added a TO THE PRICES.TXT SPAWNEGG_CREEPER itemID=383:50 buyPrice=100.0 sellPrice=50.0 tabID=10
when this line is not added to the prices.txt file you cant click on the spawn egg tab 10 but after i add that line to the prices.txt file you can click on the spawn egg tab 10 but no item shows up to buy or sell
Doesn't seem like it. Wont work on my server.
Does this plugin work with 1.6.2?
I have a good idea. How about a you can buy pets! Of course you can buy wolf eggs, or cat spawn eggs. However you'd also need to buy the bones\fish separately. Instead you could just buy a pet (with the spawn egg as the icon) and the animal\monster spawns next to you and is passive! Then it follows you around and stuff. Also this plugin is awesome! I absolutely love it :)
I'm on vacation at the moment, update to 1.6.2 and improvements when I get back home ~ next week. <3
sent in great requests! hope he likes them! and then you guys will also have the greatness of my ideas! :D
i got the same error im running bukkit 1.6.2 (im not sure what your running) but i think its because the plugin is outdated. in the recent files tab the most recent one is for 1.5.2 and im running 1.6.2
There's a plugin called "Ashops" which is like you're selling. It's a cool plugin were you open chests and you can click on items to buy it. There isn't any tabs or categories, but still it's great!
I use Vault v1.2.25-b320 and it works okay. However my server is still 1.5.2.
Just an idea. It'd be cool if you could buy a permission. Like Let's say I put up the permission node "- essentials.hat" (do /hat and wear a block as your hat), then if someone wants to use /hat they can buy it and after 15 days or so (configurable) they can't use it.
This is already possible via the config.
"tabID=0 tabName=Building_Blocks IconID=45" -Make sure ID is not taken. "SAND itemID=12 buyPrice=4.0 sellPrice=0.5 tabID=0" "LOOT_BONUS_BLOCKS enchantmentID=35 enchantmentLevel=3 enchantmentPrice=40"
If you need some help (or even want me to do it), then just contact me via Skype (Hutchmaster99)
Hey I got an idea, I use this plugin in my survival games server, so ppl can buy stuff, could you make that if the player doesn't have permission, he won't be able to see the catagory, like I can make my own catagory, that is the only one that shows up. So it would be easier for the players to understand what to click on :)
I have the same question as @andrewabosh
Can I sell permissions or ranks ?
This plugin won't load, i get these errors when i start the server. Does this plugin require something else than Vault?
20:35:48 [SEVERE] Could not load 'plugins/GuiShop_1.3 (1).jar' in folder 'plugin s' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : me/waffles/shop/Shop : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.loadPlugins(CraftServer.ja va:239) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.<init>(CraftServer.java:21 7) at net.minecraft.server.v1_6_R1.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_6_R1.DedicatedPlayerList.<init>(SourceFile:11 ) at net.minecraft.server.v1_6_R1.DedicatedServer.init(DedicatedServer.jav a:106) at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java :391) at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:5 82) Caused by: java.lang.UnsupportedClassVersionError: me/waffles/shop/Shop : Unsupp orted major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 2) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:266) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:173) ... 9 more
Hello! I was just wondering what version of vault is needed for this to work because I am having trouble on my server getting it to work.
Hi ! I am Taiwanese , I love your plugin so much !! Can I translate your plugin into traditional Chinese language ? If author can support language files that would be better!!! (Too many language string in class files , I can't translate it .) Sorry for my poor English.