Need a Stats plugin for your server? (PVP, skyblock, prison, factions, town, survival) Haven't found the best one yet? This Stats plugin will provide all the features you need.
every second:
loop all players:
add 1 to {s::%loop-player's uuid%}
if {s::%loop-player's uuid%} > 59:
remove 60 from {s::%loop-player's uuid%}
add 1 to {m::%loop-player's uuid%}
if {m::%loop-player's uuid%} > 59:
remove 60 from {m::%loop-player's uuid%}
add 1 to {h::%loop-player's uuid%}
if {h::%loop-player's uuid%} > 23:
remove 24 from {h::%loop-player's uuid%}
add 1 to {d::%loop-player's uuid%}
on break:
if {blocks.broken.%player%} is not set:
set {blocks.broken.%player%} to 0
wait 4 ticks
set {blocks.broken.%player%} to {blocks.broken.%player%} + 1
on death:
attacker is a player
add 1 to {kill counter.%attacker%.kills_total}
add 1 to {kill counter.%attacker%.kills_session}
on death of player:
set {kill counter.%player%.kills_session} to 0
add 1 to {kill counter.%player%.deaths_total}