how and why do players get banned for
Violating community guidelines or laws that supersede them.
so if i block some one it would not banned
That is correct, a player blocking another player does not cause them to get banned from the game.
If you feel a player is worthy of a ban for violating the rules, then you can report the player in question.
thankyou for your help