Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- PvE: &6PvE
- P: &8[<green>Killboard&8]&7
- Perm: killboard.admin
- command /killboard <text>:
- permission: {@Perm}
- usage: /killboard <On:Off:Reset>
- aliases: /kb
- trigger:
- if arg-1 is "on":
- command "/scoreboard objectives add Kills playerKillCount"
- wait 1 tick
- command "/scoreboard objectives setdisplay sidebar Kills"
- broadcast "{@P} Killboard is now enabled!"
- if arg-1 is "off":
- command "/scoreboard objectives remove Kills"
- wait 1 tick
- command "/scoreboard objectives setdisplay sidebar"
- broadcast "{@P} Killboard is now disabled!"
- if arg-1 is "reset":
- command "/scoreboard objectives remove Kills"
- wait 1 tick
- command "/scoreboard objectives setdisplay sidebar"
- wait 10 ticks
- command "/scoreboard objectives add Kills playerKillCount"
- wait 1 tick
- command "/scoreboard objectives setdisplay sidebar Kills"
- broadcast "{@P} Killboard has been reset!"
- on death:
- victim is a player:
- attacker is a player:
- stop trigger
- else:
- execute console command "scoreboard players add &6&lPvE Kills 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement