Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aliases:
- clan-create:
- - scoreboard players tag @p add create
- - blockdata 14 4 82 {Command:"testfor @e[type=armor_stand,name=$$1,tag=!$$1$$2]",auto:1}
- - setblock 16 5 82 minecraft:chain_command_block 9 replace {Command:"scoreboard teams add c_$$1",auto:1}
- - setblock 16 6 82 minecraft:chain_command_block 9 replace {Command:"scoreboard teams option c_$$1 color $$3",auto:1}
- - setblock 16 7 82 minecraft:chain_command_block 9 replace {Command:"scoreboard teams option c_$$1 friendlyfire false",auto:1}
- - setblock 16 8 82 minecraft:chain_command_block 9 replace {Command:"scoreboard teams join c_$$1 @p",auto:1}
- - setblock 16 9 82 minecraft:chain_command_block 9 replace {Command:"summon armor_stand ~ ~ ~ {CustomName:\"$$1\",Tags:[\"spread\",\"c$$1$$2\"],CustomNameVisible:1,NoGravity:1,Small:1}",auto:1}
- - setblock 16 10 82 minecraft:chain_command_block 9 replace {Command:"pex user @a[tag=create] suffix \" &8[&c$$1&8]\"",auto:1}
- - setblock 16 14 82 minecraft:chain_command_block 9 replace {Command:"scoreboard players tag @a remove create",auto:1}
- - setblock 16 15 82 minecraft:chain_command_block 9 replace {Command:"fill 16 5 82 16 20 82 air",auto:1}
- - setblock 16 12 82 minecraft:chain_command_block 9 replace {Command:"scoreboard players reset @a timer",auto:1}
- - setblock 16 11 82 minecraft:chain_command_block 9 replace {Command:"scoreboard players tag @a[tag=create] add l$$1",auto:1}
- - setblock 16 13 82 minecraft:chain_command_block 9 replace {Command:"tellraw @a[tag=create] {\"text\":\"You have successfully created a clan named $$1!\",\"color\":\"green\"}",auto:1}
- clan-create-item:
- - replaceitem entity @p slot.weapon.mainhand diamond 1 0
- - menu script add /clan-create {the clan's name} {the clan's password} {the clan's color}
- - menu script hide
- - menu script title &7Create a clan
- clan-delete:
- - scoreboard players tag @p add delete
- - setblock 14 3 80 minecraft:repeating_command_block 1 replace {Command:"testfor @e[type=armor_stand,name=$$1]",auto:1}
- - setblock 14 4 80 minecraft:chain_command_block 9 replace {Command:"execute @a[tag=delete,tag=l$$1] ~ ~ ~ minecraft:kill @e[type=armor_stand,name=$$1]",auto:1}
- - setblock 14 6 80 minecraft:chain_command_block 9 replace {Command:"scoreboard teams remove c_$$1",auto:1}
- - setblock 14 5 80 minecraft:chain_command_block 9 replace {Command:"pex user @a[team=c_$$1] suffix &f",auto:1}
- - setblock 14 7 80 minecraft:chain_command_block 9 replace {Command:"scoreboard players tag @a remove l$$1",auto:1}
- - setblock 14 10 80 minecraft:chain_command_block 9 replace {Command:"fill 14 3 80 14 15 80 air",auto:1}
- - setblock 14 9 80 minecraft:chain_command_block 9 replace {Command:"scoreboard players tag @a remove delete",auto:1}
- - setblock 14 8 80 minecraft:chain_command_block 9 replace {Command:"tellraw @a[tag=delete] {\"text\":\"You've deleted your clan $$1!\",\"color\":\"red\"}",auto:1}
- - setblock 14 11 80 minecraft:chain_command_block 9 replace {Command:"scoreboard players reset @a timer2",auto:1}
- clan-delete-item:
- - replaceitem entity @p slot.weapon.mainhand tnt 1 0
- - menu script add /clan-delete {the clan's name}
- - menu script hide
- - menu script title &7Delete your clan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement