Does anyone have recommendations for how one might keep a persistent log of player accomplishments (not achievements) both on and offline?
For the sake of example, say player "Max" logs onto the server and starts mining. If he were to input a command, upon execution, he would receive such information as his in-game name, the total number of blocks he's mined throughout his time on the server, and really any other accumulated statists relevant to his character; this information, however, should be persistent.
I have seen some people recommending use of a hash map for logging and retrieving desired information about players but would the information in the map continue to exist upon a server restart? Would it perhaps be better to keep track of things via text log? If anyone has advice/questions I would greatly appreciate your guidance.
Just to clarify, I'm not asking for specifics, just general guidance.