how to open a gui in java minecraft plugin code example
Example: spigot how to make an inventory
Inventory inv = Bukkit.createInventory(player, yourSize, "My Inventory Name");
Inventory inv = Bukkit.createInventory(player, yourSize, "My Inventory Name");