How to make a PVP free zone

How to make a PVP free zone - Children riding stallions in countryside at bright sundown

What is the best way to make a PVP free zone, whether it be using commands or by using settings, for a Minecraft realm.



Best Answer

This is how you can do this: You simply have a clock (I used a hopper one) connected to a command block with this command /effect @a[r=how far you want them to not be able to attack in the form of a number] weakness 1 255 This will make them too weak to hit any entity including players while in the radius.




Pictures about "How to make a PVP free zone"

How to make a PVP free zone - Silhouette Photo of Woman Against during Golden Hour
How to make a PVP free zone - Person Standing on Grass Field While Opening Hands
How to make a PVP free zone - Woman Jumping Wearing Green Backpack





PvP and non PVP zones in Vanilla Minecraft




More answers regarding how to make a PVP free zone

Answer 2

maybe resistance? so you cant kill anyone ? command /effect @p resistance 9999 255 true

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Helena Lopes, Jill Wellington, Kourosh Qaffari, Sebastian Voortman