Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&9Killboard&8]
- C: &f
- H: &e
- KillboardName: &a&lOrion&lUHC
- Kills: &bKills
- Online: &bOnline
- PvE: &9PvE
- command /killboard [<text>]:
- aliases: /kb
- permission: sk.op
- trigger:
- if arg 1 is not set:
- message "{@P}{@C} /killboard{@H} <on:off:reset>"
- else if arg-1 is "enable" or "on":
- set {killboard} to true
- command "/scoreboard objectives add kills playerKillCount {@KillboardName}"
- command "/scoreboard objectives setdisplay sidebar kills"
- command "/scoreboard players add &8------------ kills 7"
- command "/scoreboard players add {@Kills} kills 6"
- command "/scoreboard players add &8------------ kills 5"
- command "/scoreboard players add {@Online} kills 4"
- command "/scoreboard players add %size of all players% kills 3"
- command "/scoreboard players add &8------------ kills 2"
- command "/scoreboard players add &8@OrionUHC kills 1"
- broadcast "{@P}{@C} Killboard{@H} enabled{@C}!"
- else if arg 1 is "disable" or "off":
- set {killboard} to false
- command "/scoreboard objectives remove kills"
- broadcast "{@P}{@C} Killboard{@H} disabled{@C}!"
- else if arg 1 is "reset":
- set {killboard} to true
- command "/scoreboard objectives add kills playerKillCount {@KillboardName}"
- command "/scoreboard objectives setdisplay sidebar kills"
- command "/scoreboard objectives remove kills"
- broadcast "{@P}{@C} Killboard{@H} reset{@C}!"
- else:
- message "{@P}{@C} /killboard{@H} <on:off:reset>"
- on death of player:
- command "/scoreboard players reset %victim%"
- if attacker is not a player:
- command "/scoreboard players add &c&lPvE kills 1"
- else if attacker is not set:
- command "/scoreboard players add &c&lPvE kills 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement