Ban Shulker Box
Ban Shulker Box by Redsword1552273    1
Voici un One Command qui vous permettra de bannir les shulker box de votre serveur ou de votre monde .
Minecraft 1.11
4591 characters
More by Redsword
How to install
Comments
Show source commands
summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:gamerule commandBlockOutput false},{id:commandblock_minecart,Command:fill ~2 ~-3 ~-1 ~6 ~-1 ~1 stained_hardened_clay 11 hollow},{id:commandblock_minecart,Command:fill ~2 ~-2 ~-1 ~6 ~-2 ~1 stained_glass 0 0 stained_hardened_clay},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"------------------------------\\nOne Command créer par : \\nVideo_Game25\",\"color\":\"gold\"},{\"text\":\"\\n\"},{\"text\":\"\\\"\",\"color\":\"red\"},{\"text\":\"Youtube\",\"color\":\"red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC5XAsoHEco6EyKapwcpFwuA\"}},{\"text\":\"\\\"\",\"color\":\"red\"},{\"text\":\"\\n\"},{\"text\":\"\\\"\",\"color\":\"aqua\"},{\"text\":\"Twitter\",\"color\":\"aqua\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://twitter.com/redsword25000\"}},{\"text\":\"\\\"\",\"color\":\"aqua\"},{\"text\":\"\\n\"},{\"text\":\"------------------------------\",\"color\":\"gold\"}]"},{id:commandblock_minecart,Command:/scoreboard objectives add shulker stat.shulkerBoxOpened},{id:commandblock_minecart,Command:/scoreboard objectives add player dummy},{id:commandblock_minecart,Command:/setblock ~2 ~-3 ~1 repeating_command_block 0 replace {auto:1b,Command:/scoreboard players set PLAYER player 0,TrackOutput:0}},{id:commandblock_minecart,Command:/setblock ~2 ~-3 ~-1 repeating_command_block 0 replace {auto:1b,Command:/scoreboard players set PLAYER player 1,TrackOutput:0}},{id:commandblock_minecart,Command:setblock ~1 ~-3 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\"}",Text2:"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"red\\\"}",Text3:"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"red\\\"}",Text4:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~ ~-1 ~5 ~2 ~1 air\\\"}}"}},{id:commandblock_minecart,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"gold\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @e[type=armor_stand,name=TogAct,c=1] pP3V1q_A 1\\\"}}",Text2:"{\\\"text\\\":\\\"On/Off\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_pP3V1q_A_min=1,score_pP3V1q_A=1] ~ ~ ~ blockdata ~ ~ ~ {auto:0}\\\"}}",Text3:"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_pP3V1q_A_min=2] ~ ~ ~ blockdata ~ ~ ~ {auto:1}\\\"}}",Text4:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"gold\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players reset @e[score_pP3V1q_A_min=2] pP3V1q_A\\\"}}"}},{id:commandblock_minecart,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_green\\\"}",Text2:"{\\\"text\\\":\\\"Créer par :\\\",\\\"color\\\":\\\"green\\\"}",Text3:"{\\\"text\\\":\\\"Video_Game25\\\",\\\"color\\\":\\\"green\\\"}",Text4:"{\\\"text\\\":\\\"=-=-=-=-=-=-=-=-=-=\\\",\\\"color\\\":\\\"dark_green\\\"}"}},{id:commandblock_minecart,Command:summon armor_stand ~3 ~-2 ~ {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}},{id:commandblock_minecart,Command:scoreboard objectives add pP3V1q_A dummy},{id:commandblock_minecart,Command:fill ~3 ~-2 ~ ~5 ~-2 ~ chain_command_block 5},{id:commandblock_minecart,Command:setblock ~5 ~-2 ~ chain_command_block 13},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~ repeating_command_block 5},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~ {auto:1,Command:/kill @p}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~ {auto:1,Command:/execute @e[score_player_min=1] ~ ~ ~ /execute @e[score_shulker_min=1] ~ ~ ~ /scoreboard players set @p shulker 0}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~ {auto:1,Command:/execute @e[score_player_min=1] ~ ~ ~ /execute @e[score_shulker_min=1] ~ ~ ~ /say a ouvert une Shulker Box et donc il a été punis .}},{id:commandblock_minecart,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~1 redstone_block},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}]}