java mc plugin open gui 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");