Using a log system that logs almost everything.
Then coded a program that, every minutes, compiles newly added lines of log into statistics easy to use for the website.
Displaying these stats on the website
(still got a few bugs in interface that I'll have to fix one day >.> )
player lists with most important stats, updates itself automatically (and shows who's online)

An exemple of a player's blocks placed and mined display
