How to use Spawn Protection – Tutorial Series #017

Commands:
Step 1: Disable TNT
/gamerule tntexplodes false

Step 2: Disable PVP at Spawn
/effect @a[x=69, y=4, z=-31, r=12] weakness 1 225 true

Step 3: Kill Nearby Creepers
/kill @e[x=69, y=4, z=-31, r=12, type=creeper]

Step 4: Remove Gunpowder Entities
/kill @e[name=Gunpowder, x=69, y=4, z=-31, r=12]

Step 5: Toggle Build at Spawn
/fill 73 1 -44 65 1 -19 allow (build on)
/fill 73 1 -44 65 1 -19 deny (build off)

Step 6: Gamemode Changer
/gamemode survival @a[tag=!admin]

Step 7: Add/Remove Admin
/tag @p add admin (become admin)
/tag @p remove admin (remove admin)

Write your comment Here