To make easier extensions development a dynamic plugin loader should be implemented to allow collecting stats (simulation events). In this way you can have a graphic collector, can dump data to mongodb or MySQL, to a file, can retransmit simulation data over MQTT, WebSockets...