is hell based on service to self, or selfish type?
Selfishness is not a bad thing. You must take care of yourself selfishly so as to ensure you do not end up as a burden to society or those around you. When you are strong enough, you can be of service to other people.
Gurus or spiritual masters advise their disciples to be selfish and develop themselves through meditation and austerities before venturing into society for performing service, so as to reduce the chances of getting corrupted oneself.
Selfishness becomes a
bad thing or hellish when your desires overtake your legitimate needs.
heaven is based on service to all, or selfless type?
Unselfish service reduces the negative selfishness and viciousness in the ego, and through this the Self or Spirit within is revealed, resulting in joy and peace characteristic of the Self.
It is the ego that is the barrier to the Self or Buddha nature within each human being.