public static void setPlayerInventory(Player p) { Inventory teamselector = Bukkit.createInventory(null, 9*1, "Teamselector"); //Teamselector will be the name of the inventory. }