The best way of defending yourself from the attack of the players is to go to the place where there are three blocks. Because they can not spawn in such a small place that has only three blocks.