Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Title: &b&k-&c&lOptimus&b&k-
- PvE: &e&lPvE&r
- SH: &d&l[&5&lS.H.A.N.I.Q.U.E&d&l]&e
- command /killboard [<text>]:
- permission: sk.options
- trigger:
- if arg-1 is "enable":
- execute console command "/scoreboard objectives remove Optimus"
- execute console command "/scoreboard objectives add Optimus playerKillCount {@Title}"
- execute console command "/scoreboard objectives setdisplay sidebar Optimus"
- message "{@SH} Killboard enabled."
- else if arg-1 is "disable":
- execute console command "/scoreboard objectives remove Optimus"
- execute console command "/scoreboard players reset {@PvE}"
- message "{@SH} Killboard disabled."
- else if arg-1 is not set:
- message "{@SH} Invalid use. /killboard <enable:disable>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement