Blogs Tutorial

How To Ban Specific Blocks [Vanilla] [CommandBlocks]

  • 2.4k views 1 today
  • 1
  • 0
jackster301
Lvl 42Master Turtle
9
Hello guys!

Ever had a vanilla server or local lan server and your friends keep blowing you up or pouring lava on your house? Well there is a way to stop that from happening using command blocks!

Here is how to do it:

#1: Make a redstone clock. The Faster it is the less of a chance they have of griefing! Faster can equal more server log spam though.

#2: Connect the command block to the redstone.

#3: In the command block type "/clear @p[(x-co-ord),(y co-ord),(z co-ord),r=10000] (data value of item you want to ban)" Fill in your co-ords for the x, y, and z co-ords. Also, data value for TNT is 46.

#4: Your Done! Fear your house being greifed no more! Also, keep doing this if you want multiple blocks banned!

Thanks For Reading!
- jackster301

More like this

  Have something to say?

Welcome