Forum


Notifications
Clear all

MCPE/Bedrock Anti Grief & Auto Scoreboard Currency Generator

McBedrock
(@mcbedrock1)
Illustrious Member Admin

Anti Grief & Auto Scoreboard Currency Generator

 

V3 | 12/8/20 | This addon will automatically make a money scoreboard, prevent griefing by replacing lava with either dirt or air, kills ender dragons, crystals, tnt and automatically bans anyone near a command block summoning a ender dragon or crystal. NO LAG!!!

 

 

This addon will automatically make a money scoreboard, prevent griefing by replacing lava with either dirt or air, kills ender dragons, crystals, tnt and automatically bans anyone near a command block summoning a ender dragon or crystal. NO LAG!!!

Feel free to edit and upload wherever you want if given credit to me and link to my youtube channel

CHANNEL LINK

FUNCTION:
#Currency System

scoreboard objectives add money dummy

execute @a ~ ~ ~ scoreboard players operation @s money2 = @s money

scoreboard players add @a money2 0

scoreboard players add @a money 0

scoreboard objectives remove money2

scoreboard objectives add money2 dummy §§lMONEY

scoreboard objectives setdisplay sidebar money2

execute @a ~ ~ ~ scoreboard players operation @s money2 = @s money

scoreboard players add @a money2 0

scoreboard players add @a money 0

#Anti Griefing System

execute @e[type=ender_crystal] ~ ~ ~ execute @a[r=10,tag=!admin] ~ ~ ~ tag @s add ban

 

execute @e[type=ender_crystal] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 air 0 replace repeating_command_block

kill @e[type=ender_crystal]

execute @e[type=ender_dragon] ~ ~ ~ execute @a[r=10,tag=!admin] ~ ~ ~ tag @s add ban

execute @e[type=ender_dragon] ~ ~ ~ kill @e[type=xp_orb,r=10]

execute @e[type=ender_dragon] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 air 0 replace repeating_command_block

kill @e[type=ender_dragon]

kick @a[tag=ban]

execute @a[tag=!admin] ~ ~ ~ clear @s water_bucket

execute @a[tag=!admin] ~ ~ ~ clear @s lava_bucket

clear @a tnt

clear @a ender_chest

clear @a end_crystal

execute @e[type=tnt] ~ ~ ~ tag @a[r=10,tag=!admin] add ban

kill @e[type=tnt]

execute @e[type=armor_stand] ~ ~ ~ tp @s ~ ~ ~

execute @e[type=minecart] ~ ~ ~ tp @s ~ ~ ~

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 0 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 0 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 1 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 1 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 2 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 2 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 3 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 3 tag @a[r=10,tag=!admin] add ban

 

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 4 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 4 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 5 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 5 tag @a[r=10,tag=!admin] add ban

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 0 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 1 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 2 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 3 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 4 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~ ~ repeating_command_block 5 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 0 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 1 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 2 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 3 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 4 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

execute @a ~ ~ ~ execute @e[c=1,family=mob] ~ ~ ~ detect ~ ~-1 ~ repeating_command_block 5 fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace repeating_command_block

 

#Lava Remover

execute @a ~ ~ ~ fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air 0 replace lava

#Gravel Remover

execute @a ~ ~ ~ fill ~-15 ~-15 ~-15 ~15 ~15 ~15 dirt 0 replace gravel

 
Changelog

Boosted system performance and auto ban when detected unknown command block spawner.

Installation

 

Step 1:

Download

Step 2:

Open Using Minecraft Bedrock Edition

Step 3:

Apply pack to world(s)

Step 4:

Launch World
Step 5:

Enjoy + Subscribe to my youtube channel!

creator: PhoenixDweller

Downloads

Quote
Topic starter Posted : 10/12/2020 12:18 am
Share: