Goblom Read again XD Exactly what I said Famous Guy Well, you get a modified red wool block when you join the server ( at least, it should be ) That block can you use to open the GUI
Famous Guy if it was default it would be annoying because every time that someone would want to move a piece of red wool around in the inventory the hats gui would pop up... If you want me to write another command into the plugin i can, this being /getgui or /getguiblock and all that does is place the customized wool (or other block) into your inventory Famous Guy From my experience with Inventory GUIs & custom items the plugin should work perfectly... With my experience with IconMenu im not sure what to expect (so feedback would be great when you get around to testing it)
When I do /hatgui it says "hatgui" in the chat. And no one gets anything when they log on and they have the perm. :c HElp
timtower already fixed that. First thing i checked Is there an error in console when a player joins ?
Having trouble compiling this going by the instructions, im using eclipse and im a noob Any advise or a compiled version please if anyone will be helpful enough :3
toxictroop It uses maven. Famous Guy #Facepalm... I registered the command in the plugin.yml incorrectly. You just need to update your local source. or open the plugin up and change hatgui to hatsgui EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Famous Guy Thats because the command is not /hatgui its /hatsgui... (facepalm) I registered it wrong in the plugins plugin.yml but the repo already has it fixed you just need a new jar or open your current jar and edit the plugin.yml to reflect the changes.
Goblom Famous Guy, https://www.dropbox.com/s/u26c3nsp92rqf7d/HatsGUI.jar EDIT: Famous Guy Don't rush things
Goblom How do I change the name? :s http://prntscr.com/1zgw1c And when I right click the block it doesn't open the GUI, But when I do /hatsgui it does. @Goblom but when I right click an item on the GUI it doesn't wear it. timtower How do I import a source code of a plugin into Eclipse? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Famous Guy Google it, got to go, also: Try to use the edit button next time and wait for us ( developers ) to fix the problems you are having
Famous Guy im sorry, rule #6 i will not help you compile the plugin or edit the plugin... If you find a bug tell me i will fix it. If you just say it doesn't work then that doesn't help me fix the problem. Also, expect problems. wrote plugin in an hour. #ImDoneHere. If you find a bug please tell me how to reproduce the bug & if found error please post your server.log
"How do I change the name? http://prntscr.com/1zgw1c And when I right click the block it doesn't open the GUI, But when I do /hatsgui it does. But when I click the block it doesn't place the item on your head."
Then you will lose support from this. BTW: That version isn't 100% correct with names yet EDIT: https://www.dropbox.com/s/u26c3nsp92rqf7d/HatsGUI.jar Hope it is now
22:39:12 [SEVERE] Could not pass event InventoryClickEvent to Hats GUI v1.0 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:1402) 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.IllegalArgumentException: No enum constant org.bukkit.Material.Items.obsidian.Material at java.lang.Enum.valueOf(Unknown Source) at org.bukkit.Material.valueOf(Material.java:64) at org.goblom.hatsgui.HatsGUI.getHat(HatsGUI.java:115) at org.goblom.hatsgui.HatsGUI.access$0(HatsGUI.java:108) at org.goblom.hatsgui.HatsGUI$1.onOptionClick(HatsGUI.java:79) at org.goblom.hatsgui.IconMenu.onInventoryClick(IconMenu.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
Open inventory and click the wool, but there is an issue on the gui once opened from clicking the wool, the hat can be moved around and doesn't register a command to put onto head. oh reset it :3 oops.. EDIT: nope still the same error. 22:45:02 [SEVERE] Could not pass event InventoryClickEvent to Hats GUI v1.0 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:1402) 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.IllegalArgumentException: No enum constant org.bukkit.Material.Items.obsidian.Material at java.lang.Enum.valueOf(Unknown Source) at org.bukkit.Material.valueOf(Material.java:64) at org.goblom.hatsgui.HatsGUI.getHat(HatsGUI.java:115) at org.goblom.hatsgui.HatsGUI.access$0(HatsGUI.java:108) at org.goblom.hatsgui.HatsGUI$1.onOptionClick(HatsGUI.java:79) at org.goblom.hatsgui.IconMenu.onInventoryClick(IconMenu.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more EDIT by Moderator: merged posts, please use the edit button instead of double posting.
toxictroop Looking into it now Edit: Should be fixed on the repo. Looks like timtower is gone for now though :/