A man caught with drugs during a test match at Trent Bridge, West Bridgford was left with a bill for £507.50.
Daniel Wilton, 37, was checked by stewards during the match between England and South Africa on July 15, magistrates in Nottingham were told.
“It was a huge error of judgment on my part and was very much out of character. It was in isolation and I am hugely regretful,” said Wilton, 37, of Orlando Drive, Carlton.
Daniel Pietryka, prosecuting, said stewards were told that a spectator was suspected of having drugs in the ground.
Wilton was seen to have “a white powder residue in stubble at the side of his mouth.”
Small amounts of the three drugs were found on him.
“He said he snorted cocaine, had an ecstasy tablet and cannabis,” said Mr Pietryka.
It was accepted that all the drugs were for Wilton alone.
He pleaded guilty to having the three drugs in the Trent Bridge Cricket Ground.
He was fined £475 with £85 prosecution costs and a government surcharge of £47.50.
Wilton was given a month to pay and was told by presiding magistrate Janet Kitson: “We have taken into account the fact that you have pleaded guilty at the earliest opportunity.”