Resource icon

[Open Assets] HitStats - Dedicated server character damage statistics 1.0

This is a dedicated server script which records damage dealt between characters and saves the output in the form of a text file: luafiles/hitstats.txt

  • Supports any gametype (including custom modes) in which the hazardlog is enabled
  • Hits are recorded as 1 point, and kills as 2 points.
  • All statistics are stored in a text file and saved at the end of each round. Previously saved statistics will be automatically loaded when the script is rehosted on the server.
  • Tracks and saves statistics for custom characters as well!

Commands
hitstats - Version info and console command help
printhitstats <skin1> <skin2> - Prints stats for the specified skins. Leave skin1/2 blank to print all stats.
resethitstats - Wipes all server statistics to 0. Note that the server must trigger the end of the level afterward to write over the text file.



Please note that this script will only run for dedicated server hosts; attempting to run this script outside of a dedicated server setting will do nothing. Additionally, the hazardlog must be enabled for the game to add hits to the stats.
  • hitstats.png
    hitstats.png
    28.1 KB · Views: 310
Author
clairebun
Downloads
397
Views
1,203
Extension type
pk3
File size
2.6 KB
MD5 Hash
952e2dc3060ad3523efeb582e3fec5d7
First release
Last update

More resources from clairebun

Share this resource

Back
Top