ArtzifyHD

Stats

Jul 24th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. Options:
  2. Version: 1.0
  3.  
  4.  
  5. #
  6. # W E L C O M E T O
  7. #
  8. # S T A T S
  9. #
  10. # C R E A T E D B Y : J A C K | I P A R I S
  11. #
  12. # (! Please don't edit the settings below unless you know what you are doing !)
  13.  
  14.  
  15. Options:
  16. Header: &2ยป &a&lStats &2&m-----*-------------------------*-----
  17. Footer: &2&m----*---------------------------------*-----
  18. Main Colour: &a
  19. Second Colour: &2
  20.  
  21.  
  22.  
  23.  
  24.  
  25. on join:
  26. if {Stats::%uuid of player%::firsttime} is not set:
  27. set {Stats::%uuid of player%::firsttime} to "%now%"
  28. if {Stats::%uuid of player%::deaths} is not set:
  29. set {Stats::%uuid of player%::deaths} to 0
  30. if {Stats::%uuid of player%::kills} is not set:
  31. set {Stats::%uuid of player%::kills} to 0
  32. if {Stats::%uuid of player%::blocksbroken} is not set:
  33. set {Stats::%uuid of player%::blocksbroken} to 0
  34.  
  35. on death:
  36. add 1 to {Stats::%uuid of player%::deaths}
  37. if attacker is a player:
  38. add 1 to {Stats::%uuid of player%::kills}
  39.  
  40. on break:
  41. add 1 to {Stats::%uuid of player%::blocksbroken}
  42.  
  43. on join:
  44. if {hourcounter::%player's uuid%} is not set:
  45. set {hourcounter::%player's uuid%} to 0
  46. if {minutecounter::%player's uuid%} is not set:
  47. set {minutecounter::%player's uuid%} to 0
  48. set {counter.%player%} to true
  49. while {counter.%player%} is true:
  50. wait 1 minute
  51. add 1 to {minutecounter::%player's uuid%}
  52. if {minutecounter::%player's uuid%} = 60:
  53. set {minutecounter::%player's uuid%} to 0
  54. add 1 to {hourcounter::%player's uuid%}
Add Comment
Please, Sign In to add comment