Skip to content

Commit

Permalink
v1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaizerBrumo committed Jun 10, 2023
1 parent 19981d7 commit 0623698
Show file tree
Hide file tree
Showing 26 changed files with 504 additions and 1,012 deletions.
476 changes: 0 additions & 476 deletions Safeguard anti-cheat B/entities/player.json

This file was deleted.

12 changes: 5 additions & 7 deletions Safeguard anti-cheat B/functions/anti/anti_cbe.mcfunction
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#bridge-file-version: #97
tellraw @s {"rawtext":[{"text":"§6[§eSafeGuard§6]§r§c§l "},{"text":"ERROR: §r§4This function shouldn't be ran manually§r"}]}
# Stops players from using CBE(command block exploit)
#Detect and warn
# Stops players from using CBE(command block exploit)
#Detect and warn
execute as @a[scores={anti_cbe_on=0}] run execute as @e[type=command_block_minecart,tag=!admin] run tellraw @a {"rawtext":[{"text":"§6[§eSafeGuard§6]§r§c§l "},{"selector":"@a[r=10,tag=!admin]"},{"text":" §r§4Were detected summoning a §l§ccommand block minecart!§r"}]}
execute as @a[scores={anti_cbe_on=0}] run execute as @e[type=npc,tag=!admin,tag=!friend] run tellraw @a {"rawtext":[{"text":"§6[§eSafeGuard§6]§r§c§l "},{"selector":"@a[r=10,tag=!admin]"},{"text":" §r§4Were detected summoning a §l§cNPC!§r"}]}
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run kill @e[type=item,name="tile.movingblock.name"]
Expand All @@ -14,18 +14,16 @@ execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run kill @e[
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run kill @e[type=item,name="§g§lBee Nest NPC Command"]
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run kill @e[type=item,name="§g§lMovingBlock BeeNest NPC Command"]
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run kill @e[type=item,name="§g§lInvisible Beehive NPC Command"]
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run kill @e[r=10,type=moving_block]
execute as @a[scores={anti_cbe_on=0}] run execute as @e[type=moving_block] run tellraw @a {"rawtext":[{"text":"§6[§eSafeGuard§6]§r§c§l "},{"selector":"@a[r=10,tag=!admin]"},{"text":" §r§4Was detected placing a §l§cMoving Block!§r"}]}
#Warning
#Warning
execute as @a[scores={anti_cbe_on=0}] run execute as @e[type=command_block_minecart,tag=!admin] run execute as @a[r=10,tag=!admin] run function punishment/warning/cbe_warning
execute as @a[scores={anti_cbe_on=0}] run execute as @e[type=npc,tag=!admin,tag=!friend] run execute as @a[r=10,tag=!admin] run function punishment/warning/cbe_warning
#Killing entities
#Killing entities
execute as @a[scores={anti_cbe_on=0}] run kill @e[type=command_block_minecart]
execute as @a[scores={anti_cbe_on=0}] run kill @e[type=npc,tag=!friend]
execute as @a[scores={anti_cbe_on=0}] run kill @e[type=bee]
execute as @a[scores={anti_cbe_on=0}] run kill @e[type=leash_knot]
execute as @a[scores={anti_cbe_on=0}] run kill @e[type=armor_stand]
#replacing
#replacing
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run fill ~8 ~5 ~8 ~-8 ~-5 ~-8 air 0 replace bee_nest
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run fill ~8 ~5 ~8 ~-8 ~-5 ~-8 air 0 replace beehive
execute as @a[scores={anti_cbe_on=0}] run execute as @a[tag=!admin] run fill ~8 ~5 ~8 ~-8 ~-5 ~-8 air 0 replace dispenser
Expand Down
2 changes: 0 additions & 2 deletions Safeguard anti-cheat B/functions/anti/anti_crash.mcfunction

This file was deleted.

172 changes: 0 additions & 172 deletions Safeguard anti-cheat B/functions/anti/anti_items.mcfunction

This file was deleted.

Loading

0 comments on commit 0623698

Please sign in to comment.