If the binary could output a separate file every once in awhile (any time the list of peers change?) to "peers.json"
Code: Select all
{
"last_updated":"2015-11-23T21:43:32.802087+00:00",
"peers":[
{
"peer_id":1,
"connected":"2015-11-21T11:23:52.688470+00:00",
"disconnected":"2015-11-21T11:37:24.711285+00:00",
"online":false,
"peer_ip":"XXX",
"peer_port":34197,
"player_index":"0",
"username":"Bisa"
},
{
"peer_id":2,
"connected":"2015-11-21T11:29:06.575346+00:00",
"online":true,
"peer_ip":"XXX",
"peer_port":34197,
"player_index":"29",
"username":"Deedo"
}
]
}