Darren Guy, of Gallows Inn Close, pleaded guilty 11 sexual offences at Nottingham Crown Court on Friday, March 11.
The charges included causing or inciting a child to engage in sexual activity, causing a child to watch a sexual act, causing or inciting prostitution or pornography involving a child, making indecent images of a child and possessing extreme pornographic images.
The offences came to light in 2012 when Guy contacted a 14-year-old girl on internet chat rooms.
Guy received a community sentence where he must participate in a Community Sex Offender Programme for not more than 120 days.
Man left victim permanently scarred after smashing glass into his face in Buxton pub
'World’s best sweet shop’ contents up for auction as Peak District owner sells everything to start new adventure
Police 'extremely concerned' for welfare of man missing after walking from Stockport to Ashover
Drug deaths hit record high in High Peak
Buxton B&B set to become children's home if High Peak council approves plans
He also was given a Community Order for three years and a Sexual Harm Prevention Order for five years and must sign the Sexual Offenders register for five years.