java plugin spigot inventory 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");