SpiGUI
SpiGUI copied to clipboard
A comprehensive GUI API for Spigot with pages support.
**This is an open discussion on the below points. Feel free to drop a reply with your thoughts.** - Is anyone having issues with the current approach to compatibility with...
how do i get it to list player heads in a gui for every player on the server _Originally posted by @ArcaneLegend1 in https://github.com/SamJakob/SpiGUI/issues/21#issuecomment-1700613120_
By default, items have italic font if renamed in any way. Added ChatColor.RESET to the item's name, resetting the italic font. This also applies to lore I believe the text...
I created a pagable ui with a Toolbar. But it seens like the first slot of the toolbar is still used by the page-content. The Item is not displayed, but...
Hello, i would like to add an event to the bottom inventory (player inventory). I'm adding an item to the player's inventory when the item is clicked in the spiGUI...
Is there a way to handle all inventory click event click types inside the SGButton withListener? The event will allow only LEFT and RIGHT click types [here](https://github.com/SamJakob/SpiGUI/blob/cbd105049997da361c5c738c31d445958669a481/src/main/java/com/samjakob/spigui/menu/SGMenuListener.java#L35) but i want...
When you do shift + click on any button then close the inventory fast enough, the button gets placed into the player's inventory (Its not a ghost item)
1.21.1 changes `org.bukkit.inventory.InventoryView` from an abstract class to an interface. Hence, running the current version of SpiGUI results in: `java.lang.IncompatibleClassChangeError: Found interface org.bukkit.inventory.InventoryView, but class was expected at com.samjakob.spigui.menu.SGMenuListener.onAdjacentInventoryClick(SGMenuListener.java:221)`
I created a multi-line menu that displayed items and gave them upon clicking. Then, I added a toolbar. An item from the toolbar that was in slot 0 (on the...
As of 1.4.0 Anytime `@EventHandler(priority = EventPriority.LOWEST) public void onAdjacentInventoryClick(InventoryClickEvent event)` is called it will attempt to cast `org.bukkit.craftbukkit.entity.CraftPlayer` to a `com.samjakob.spigui.menu.SGMenu` causing errors in the console. (Temporary fix for...