The jury at the Dale Cregan trial, which has now been adjourned for the day, earlier heard that the defendants accused of the murder of Mark Short were in "close contact" in the hours before the May 25 shooting at the Cotton Tree pub.
Nicholas Clarke QC, opening the prosecution's case, claimed Leon Atkinson, 35, from Ashton-under-Lyne, travelled to a North Wales caravan park to give himself an "incontrovertible alibi".
He said Cregan, Luke Livesey, 27, and Damian Gorman, 37, were to carry out the attack.
Ryan Hadfield, 28, and Matthew James, 33, were to act as "spotters" to ensure the targets - the Short family - were in the pub, the jurors heard.
But it was Atkinson who was "managing and directing" the operation to "exact revenge" on the Shorts, Mr Clarke said.
More top news
At least 10 people, including two foreigners, have been rescued so far, according to Bangladeshi news reports.
Right-wing think tank warns leaving the UK in order to remain in the EU would turn Scotland into 'Greece without the sun'.
A poll of Britain's largest trade union, seen by ITV News, indicates more than half of those surveyed think the Labour leader should quit.