Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2016
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. options:
  2. P: &8[&9Killboard&8]
  3. C: &f
  4. H: &e
  5.  
  6. KillboardName: &a&lOrion&lUHC
  7. Kills: &bKills
  8. Online: &bOnline
  9. PvE: &9PvE
  10.  
  11. command /killboard [<text>]:
  12. aliases: /kb
  13. permission: sk.op
  14. trigger:
  15. if arg 1 is not set:
  16. message "{@P}{@C} /killboard{@H} <on:off:reset>"
  17. else if arg-1 is "enable" or "on":
  18. set {killboard} to true
  19. command "/scoreboard objectives add kills playerKillCount {@KillboardName}"
  20. command "/scoreboard objectives setdisplay sidebar kills"
  21. command "/scoreboard players add &8------------ kills 7"
  22. command "/scoreboard players add {@Kills} kills 6"
  23. command "/scoreboard players add &8------------ kills 5"
  24. command "/scoreboard players add {@Online} kills 4"
  25. command "/scoreboard players add %size of all players% kills 3"
  26. command "/scoreboard players add &8------------ kills 2"
  27. command "/scoreboard players add &8@OrionUHC kills 1"
  28. broadcast "{@P}{@C} Killboard{@H} enabled{@C}!"
  29. else if arg 1 is "disable" or "off":
  30. set {killboard} to false
  31. command "/scoreboard objectives remove kills"
  32. broadcast "{@P}{@C} Killboard{@H} disabled{@C}!"
  33. else if arg 1 is "reset":
  34. set {killboard} to true
  35. command "/scoreboard objectives add kills playerKillCount {@KillboardName}"
  36. command "/scoreboard objectives setdisplay sidebar kills"
  37. command "/scoreboard objectives remove kills"
  38. broadcast "{@P}{@C} Killboard{@H} reset{@C}!"
  39. else:
  40. message "{@P}{@C} /killboard{@H} <on:off:reset>"
  41.  
  42. on death of player:
  43. command "/scoreboard players reset %victim%"
  44. if attacker is not a player:
  45. command "/scoreboard players add &c&lPvE kills 1"
  46. else if attacker is not set:
  47. command "/scoreboard players add &c&lPvE kills 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement