A Honley man threw punches at nightclub staff after his friends were ejected following a fight.
William Morris, of Marlbeck Close, admitted using threatening behaviour.
Kirklees magistrates heard that the incident happened outside Mavericks 80s Lounge in the early hours of June 14.
The court was told that at just before 2am there was a disturbance inside the King Street nightspot.
Two men were asked to leave and Morris, 35, followed.
Vanessa Jones, prosecuting, said that one of the men felt that he had been unfairly ejected from the club and began remonstrating with staff.
Mrs Jones said: “He went up to the barrier, pushed a member of door staff and that’s when the disturbance began.
“All three men were verbally and physically aggressive towards the staff. There was lots of shouting and pushing.”
Morris and another man threw punches at the staff and all three were detained while police were called.
The incident was captured on CCTV footage taken from the club and the street.
All of the men appeared to be under the influence of alcohol when they were arrested.
John Ozyer, mitigating for Morris, said: “The defendant only became involved when bouncers appeared to be dragging (his friends) around.
“He wasn’t happy about that and started shouting to the bouncer and threw punches but there was no connection.
“He’d had a lot to drink and that would have had an influence on how he conducted himself.”
Magistrates gave Morris a conditional discharge for 12 months.
He must still pay £85 costs and £15 victim surcharge.