Parts of Royston are to benefit from almost £94,000 of improvements, thanks to cash donated by a local developer.
Known as a Section 106 agreement, major developers agree to donate cash to reduce the impact of their developments on local communities when they get planning permission.
The cash for Royston stems from a development on the site of the former Royston High School.
Councillor Roy Miller said: “The funding will improve three recreational areas in Royston, which I’m sure will be most welcomed by residents and visitors alike.”
Royston Park is to get £10,000 to provide a car park to increase accessibility and reduce the number of vehicles left on nearby streets.
And £48,774 will be spent on new play equipment and to refurbish the skate park.
Royston Oakwood recreation ground will receive £35,000 to improve football pitch drainage and provide protective fencing.
A Barnsley Council spokesman said: “Section 106 funding is money that developers of larger sites pay to the council to reduce the impact of the development.
“Developers sign the agreement as part of their planning permission.”