stats on users are tracked, and achievements are defined by writing sql queries against those stats. silly fun