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
This plugin isn't working on 1.11.2 Bukkit.
Hello,
Whenever initially downloading the plugin, when I do /shop in-game it says "Change MAIN_PAGE in the config to the page you'd like to have open when using this command".
Please help!
i have a problem help me
https://pastebin.com/UzXLDcNX
Just installed 6.0.6:
[08:57:25] [Server thread/INFO]: Generating keypair
[08:57:25] [Server thread/INFO]: Starting Minecraft server on *:25565
[08:57:25] [Server thread/INFO]: Using epoll channel type
[08:57:25] [Server thread/INFO]: Set PluginClassLoader as parallel capable
[08:57:26] [Server thread/ERROR]: Could not load 'plugins/GUIShop-6.0.6.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: SilkSpawners
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:301) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
[08:57:26] [Server thread/INFO]: [Questioner] Loading Questioner v0.6
In reply to Nomadadon:
Just installed 6.0.6:
[08:57:25] [Server thread/INFO]: Generating keypair
[08:57:25] [Server thread/INFO]: Starting Minecraft server on *:25565
[08:57:25] [Server thread/INFO]: Using epoll channel type
[08:57:25] [Server thread/INFO]: Set PluginClassLoader as parallel capable
[08:57:26] [Server thread/ERROR]: Could not load 'plugins/GUIShop-6.0.6.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: SilkSpawners
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:301) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.11.2-46.jar:git-Spigot-3fb9445-2b6c9f4]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
[08:57:26] [Server thread/INFO]: [Questioner] Loading Questioner v0.6
Hey, i have a problem. So when i start up the plugin and im opped it allows me to open the shop. although when i deop myself the plugin ends up saying i dont have permission. Although in the config file i explicitly allowed players to use the command. at the moment im on a modpack server and it is running 1.6.4 on cauldron. all plugins work perfectly but this plugin doesnt let me use it. If anything what is the exact permission node im supposed to put in the config. i only put guishop.use. Thanks for the help in advanced
I fixed !!!
Essentials2 must installing.
https://hub.spigotmc.org/jenkins/job/Spigot-Essentials/
Hi.
I have got a problem.
I'm runnigng
GUI-Shop 5.9.5 and Vault 1.5.6
Vault 1.5.6 is running, but youre plugin will not find Vault.
[GUIShop] Enabling GUIShop v5.9.5
[GUIShop] Plugin couldn't detect Vault or an Economy plugin (Such as Essentials ECO). Disabling.
[GUIShop] Disabling GUIShop v5.9.5
Thanks
I am still having the issue of the shop not functioning properly.
I have my config set to /store as the command (obviously the / isn't in the actual part of the line) and whenever I go to use my shop, /store is unrecognized, but /shop opens the shop.
Second, when I do open my shop, it won't go to the shop I specified in the config. Whenever I click on one of the items, let's say the diamond sword for my PVP shop, it gives me the sword, and I can't put it back, unless i close the inventory, or replace it with another item. I don't know if, in the config, you have to set each number higher than the others from the different shops.
What I mean by that is, when I have my shop items (I have 1-13 in my first shop, and for testing purposes, only 1 in the second shop) Do I have to change the numbers in succeeding order? So, when I have 1-13 in the first shop for number of items, do I have to label the first item in the next shop 14? My config looks something like this:
Blocks:
1:
- slot: 0
- id: '1:0'
- buy-price: 8
- sell-price: 4
2:
- slot: 1
- id: '17:0'
- buy-price: 12
- sell-price: 6
3:
- slot: 2
- id: '17:1'
- buy-price: 12
- sell-price: 6
4:
- slot: 3
- id: '17:2'
- buy-price: 12
- sell-price: 6
5:
- slot: 4
- id: '17:3'
- buy-price: 12
- sell-price: 6
6:
- slot: 5
- id: '162:0'
- buy-price: 12
- sell-price: 6
7:
- slot: 6
- id: '162:1'
- buy-price: 12
- sell-price: 6
8:
- slot: 7
- id: '49'
- buy-price: 50
- sell-price: 25
9:
- slot: 8
- id: '213'
- buy-price: 40
- sell-price: 20
10:
- slot: 9
- id: '155:0'
- buy-price: 40
- sell-price: 20
11:
- slot: 10
- id: '155:1'
- buy-price: 40
- sell-price: 20
12:
- slot: 11
- id: '155:2'
- buy-price: 40
- sell-price: 20
13:
- slot:12
- id: '7'
- buy-price: 1000000
- sell-price: 750000
Raid:
1:
- slot: 0
- id: '46'
- buy-price: 100
- sell-price: 50
2:
- slot: 1
- id: '23'
- buy-price: 80
- sell-price: 40
3:
- slot: 2
- id: '326'
- buy-price: 250
- sell-price: 125
4:
- slot: 3
- id: '331'
- buy-price: 20
- sell-price: 10
5:
- slot: 4
- id: '368'
- buy-price: 150
- sell-price: 75
Gems:
1:
- slot: 0
- id: '265'
- buy-price: 100
- sell-price: 50
PVP:
1:
- slot: 0
- id: '268'
- buy-price: 50
- sell-price: 25
Tools:
1:
- slot: 0
- id: '271'
- buy-price: 66
- sell-price: 33
Farming:
1:
- slot: 0
- id: '295'
- buy-price: 25
- sell-price: 12.50
All of the shop names are exactly the same as they are. Here is the config:
##Menu Items
Rows: 1
1:
Enabled: true
Item: STONE
Name: '&8Block Shop'
Desc: 'Purchase building blocks.'
Shop: 'Blocks'
2:
Enabled: true
Item: TNT
Name: '&4Raid Shop'
Desc: 'Purchase raid materials.'
Shop: 'Raid'
3:
Enabled: true
Item: DIAMOND
Name: '&bMaterial Shop'
Desc: 'Purchase materials.'
Shop: 'Gems'
4:
Enabled: true
Item: DIAMOND_SWORD
Name: '&ePVP Shop'
Desc: 'Purchase fighting gear.'
Shop: 'PVP'
5:
Enabled: true
Item: DIAMOND_PICKAXE
Name: '&1Tool Shop'
Desc: 'Purchase tools here.'
Shop: 'Tools'
6:
Enabled: true
Item: WHEAT
Name: '&6Farm Shop'
Desc: 'Purchase farming here.'
Shop: 'Farming'
If you would like the copies of my yml files, i can send those to you to see ALL of the code. I am running bukkit 1.11.2, and I have Vault and an economy plugin. Is there anything that you see wrong in the config that would help me?
Updated!
When I do /shop, it says it's an unknown command. I'm running spigot 1.8.9.
The GUIShop plugin is disabled. If you look into the logs, you may find the solution.
If it says something like this (I am using my 1.11.2 Bukkit server as an example)
[10:13:05 ERROR]: Error occurred while enabling GUIShop v5.9.2 (Is it up to date?)
java.lang.NullPointerException
The version that I had was an 1.11.1 version. If you look into the files tab at the top next to overview, then you can see next to the version numbers a +1, +2, etc, or nothing. This +1 or +2 is telling you the third number of the version number, 1.11.2, .2 is the third number. +2 = .2.What I did was I got v5 and It worked, as it was 1.11 (+2). You should see if there is a version 1.8 (+9) or something like that, and get the most recent version of the game version you are looking for.
Other than that, as that is the only error I myself have had, then try contacting pablo, if you haven't already.
I have everything loaded into the server but the guishop plugin comes up as disabled. is there any way to fix this?
paperspigot doesn't like "translateAlternateColorCodes."
If you changed your code to string.replace("&", "§"), more people would be able to run it properly.
Error:
[12:48:40 INFO]: [GUIShop] Enabling GUIShop v5.9.2
[12:48:40 ERROR]: Error occurred while enabling GUIShop v5.9.2 (Is it up to date?)
java.lang.NullPointerException
at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:324)
~[spigot.jar:git-PaperSpigot-"8b18730"]
at com.pablo67340.shop.main.Main.loadDefaults(Main.java:161) ~[?:?]
at com.pablo67340.shop.main.Main.onEnable(Main.java:134) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[sp
igot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.
java:332) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager
.java:404) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java
:359) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.j
ava:318) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.reload(CraftServer.java:769
) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.Bukkit.reload(Bukkit.java:556) [spigot.jar:git-PaperSpigot-
"8b18730"]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:2
5) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143
) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer
.java:666) [spigot.jar:git-PaperSpigot-"8b18730"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(Craft
Server.java:629) [spigot.jar:git-PaperSpigot-"8b18730"]
at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:4
16) [spigot.jar:git-PaperSpigot-"8b18730"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:37
9) [spigot.jar:git-PaperSpigot-"8b18730"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:71
3) [spigot.jar:git-PaperSpigot-"8b18730"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:
616) [spigot.jar:git-PaperSpigot-"8b18730"]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
[12:48:40 INFO]: [GUIShop] Disabling GUIShop v5.9.2
First off, I realize that you have had time to contact, but just in case you haven't,
If you're running a 1.11.2 server, you should get the v5.9 file. If you look, next to the version, if you click the files tab at the top next to overview, you should see a +1, +2, etc next to some of the versions. That is the third number in the version, like 1.11.2, .2 is the third decimal, +2 = .2. If you're looking for stuff like this in the future, remember to get the most up to date version as well.
Shop reload won't work for me?
My Inventory Click Event doesn't work an would love for someone to explain how I fix it cause I basically don't know coding, also I don't think I can get the programs, cause I need either silverlight version or a portable one. Witch don't need admin password to download.
I have an issue. Im running my server on 1.8.8. In the shop GUI I am able to take the item out of the shop and use it. Also when i click the item to open the "gun shop" nothing happens
Quick check, I'm running FTB Infinty Evolved (Sadly It's on 1.7.10) Am I able to use this plugin with Mod Support, for example if I wanted to sell ComputerCraft Computers?