Here I can explain you two things.
First thing, Suppose in Jomsocial if you have two profile types such as Partner and Member. Here if you what to show first 3 plans to Member profile type and 4th plan (Free) to Parter profile type only.
Solution: After creating plans go to Restrictions Tab : set "Yes" value for 'Use Custom Restrictions' and in the 'Custom Restrictions' textarea place [[user_js_23]] = 1 for the Member profile type plans and [[user_js_23]] = 2 for Partner profile type plans.
Your can find [[user_js_23]] = profile type under User Account Related data
E.g.
[[user_js_21]] => Arts Activities
[[user_js_22]] => Template
[[user_js_23]] => Profiletype
[[user_js_25]] => Organization Name
[[user_js_23]] = 1 ==> Member profile type id
[[user_js_23]] = 2 ==> Partner profile type id