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
A hacker group who claimed to be behind a cyber attack on Sony Pictures have posted a message online apparently mocking the FBI.
The returns of Benedict Cumberbatch's detective and the X Factor judge were among 2014's most tweeted TV moments in a billion conversations.
A family has issued an appeal to help find their missing pet turkey - in case he gets gobbled up as someone's Christmas dinner.