A Pottstown man faces several years of sex offender supervision and other restrictions on charges he had online conversations with undercover state agents posing as an underage girl and attempted to have sexual contact with who he believed was a minor.