PlayerStats

From King Arthur's Gold Wiki
Jump to: navigation, search

The player stats format is used to save persistent statistics about a player to disk. This operation is performed each 3 minutes for all players on the server.

The format always starts with a format version identifier, followed by a space delimited set of statistics about a certain user.

The files are in KAG/Logs/PlayerStats/Username.txt where Username is the name the user was present with on the server at that time. The username is not saved to the file's contents.

Note that this operation is performed for all players including bots. This behaviour may change in future.


Player Stats v0.1

format: version total_kills current_kills total_deaths current_deaths host_id host_ip hardware_id

eg: v0.1 0 0 0 0 16777343 127.0.0.1 0


More format versions will be added below if/when the format changes.