Bukkit GUI Lib
With the plugin Bukkit GUI Lib you can create inventory gui's (seen on many popular minigame servers), for example a teleporter item which opens a gui, with or without programming.
If you are a server owner, you can create inventory gui's without programming which can contain buttons which executes commands if the player clicks on them and more. An example where you could use this would be a teleporter item which is in your hotbar while your in the lobby and opens a gui on right click with different items where you can click on to teleport to different minigames.
If you are a programmer, you can easily implement inventory gui's or hotbar gui's in your plugin without starting from scratch. Programmers can even use features such as Checkbuttons (Checkboxes in Minecraft), Slider, inventory gui's with tabbed panes, animations and much more.
Tutorials
German
www.youtube.com/watch?v=GtVfwUsUj2o (With english subtitles!)
Features
- Inventory and hotbar gui's without programming because of a nice ingame editor.
- Highly customizable even without programming.
- Set a hotbar for a world which gets automatically shown to every player which joins/is in the world.
- You can use animated icons for every component. (Buttons, Slider, ..) *
- A lot of different pre-made components like Buttons, Checkbuttons, Sliders and more. *
- Useful other features like a YesNoGUI (like a Yes No Dialog on Windows) or tabbed panes. *
- These things can only be used when you are using the plugin as a library.
Commands
- /createGUI <GUI name>: Creates a new inventory gui.
- /editGUI <GUI name>: Opens the ingame gui editor to edit the gui with the specified name. Needs to be executed by a player.
- /removeGUI <GUI name>: Deletes the gui.
- /showGUI <GUI name> (Player name): Shows the gui (1. argument). Can be executed by the console/a command block! You can leave the player name empty but if you do this, the command needs to be executed by a player! (The player who executed it sees the gui)
- /createHGUI <HotbarGUI name>: Creates a new hotbar gui.
- /editHGUI <HotbarGUI Name>: Deletes the ingame hotbar gui editor for editing the specified hotbar gui. Needs to be executed by a player.
- /removeHGUI <HotbarGUI Name>: Löscht das HGUI.
- /showHGUI <HotbarGUI Name> (Player name): Sets the hotbar gui for a player (if the player name is empty, it sets yours)
- /hideHGUI (Player name): Removes the current hotbar gui from the player so he can use is inventory for example. (If player name is empty, it removes your current hotbar gui)
- /bindHotbarToWorld <HotbarGUI name> <World name>: Sets a hotbar to be displayed everytime when a player is in the world with the specified name (for example "world" (the name of the world folder)). If you executed this, you need to rejoin the server to be able to see the hotbar gui.
You can hide a hotbar gui if a world's set one but once you reenter the world, it sets the world hotbar gui.
Permissions
- bg.createGUI: Gives you access to /createGUI and /createHGUI
- bg.editGUI: Gives you access to /editGUI and /editHGUI
- bg.removeGUI: Gives you access to /removeGUI and /removeHGUI
- bg.showGUI: Gives you access to /showGUI and /showHGUI und /hideHGUI
- bg.bindHotbar: Gives you access to /bindHotbarToWorld
when it will be updated? a good idea would be the formatting codes support Ex: &1;&l;&n...
Excuse me Loldragon can u add a new feature to your plugin cooldown, i mean could you add cooldown for some commands?
@CvvF
Ok I'm going to look into that... Unfortunatly the stack trace isn't that helpful :D Is there maybe a more in depth stack trace in the logs? Would be nice to know where in the code it happened which the error log you provided doesn't show :/ Which bukkit/java version are you using?
EDIT: Solved ^^
Hi! Great plugin,but by typing the command "/ showgui (GUIName)" the server says:
[javastacktrace] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_45] [javastacktrace] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45] [javastacktrace] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [Spigot.jar:git-Spigot-fdc1440-53fac9f] [javastacktrace] at java.lang.Thread.run(Unknown Source) [?:1.8.0_45] [javastacktrace] Caused by: java.lang.ArrayIndexOutOfBoundsException [warning] [BGUILib] Task #48 for BGUILib v1.0 generated an exception [javastacktrace] java.lang.ArrayIndexOutOfBoundsException