Advertisement
Guest User

Untitled

a guest
Nov 29th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. options:
  2. stats-cmd: /stats
  3. kill-give: 1
  4. on first join:
  5. set {PvPStats.%player%.kills} to 0
  6. set {PvPStats.%player%.deaths} to 0
  7. on death:
  8. attacker is a player
  9. victim is a player
  10. add 1 to {PvPStats.%victim%.deaths}
  11. add 1 to {PvPStats.%attacker%.kills}
  12. execute console command "/eco give %attacker% {@kill-give}"
  13. {PvPStats.%attacker%.kills} is equal to 150:
  14. execute console command "/say %attacker% has earned kit stone!"
  15. execute console command "/manuaddp %attacker% essentials.kits.stone"
  16. on command "{@stats-cmd}":
  17. player has permission "PvPStats.check"
  18. send "&a[---------------]-[ &dPvP Stats &a]-[---------------]" to player
  19. send "&r" to player
  20. send "&cKills: &7%{PvPStats.%player%.kills}%" to player
  21. send "&cDeaths: &7%{PvPStats.%player%.deaths}%" to player
  22. send "&r" to player
  23. send "&a[---------------]-[ &dPvP Stats &a]-[---------------]" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement