A 45-year-old man has been banned from playgrounds - and from possessing excrement and smearing food on property.
Steven Chennell, from Wellingborough, Northants, was issued with a criminal antisocial behaviour order (Crasbo) by magistrates on Monday after being found guilty of criminal damage.
Northamptonshire Police obtained the Crasbo after Chennell was found guilty of nine offences of criminal damage and was sentenced to a community order with a supervision requirement for 12 months, and an alcohol treatment order for the same period.
The order bans Chennell from entering any designated children's play area in England and Wales along with a number of local pubs, streets and businesses in Wellingborough.
It also bans him from "being in possession of any excrement, on the outside of his body, human or animal, in a public place" and from "throwing or smearing any object, including food, at any property not belonging to himself".
The order lasts for two years and if it is breached Chennell could face a prison sentence of up to five years.
Pc Vicky Howe, from the anti-social behaviour unit at Northamptonshire Police, said: "Officers from the ASB unit, together with the safer community team, have worked hard to secure this Crasbo.
"It is important that action is taken against people who continue to act in an anti-social manner, detrimentally affecting the lives and businesses of people around them.
"We are extremely pleased with this result and hope that it will act as a deterrent to Mr Chennell from behaving like this in the future."