This repository holds scripts to parse and handle Pavlov server logs (parse and store in database), then perform analysis of the stored database data. These scripts are focused on Pavlov PUSH server logs, primarily the server infrastructure maintained by the Pavlov PUSH Discord group, but can be adapted for use on other servers and with other gamemodes.
These scripts can be used to parse generic Pavlov server log files but its up to you to figure out how to do that. Most of the raw data is not included in this repository.
Scripts in this repo:
| Filename | Description |
|---|---|
| game_list_database_handler.py | Database handler for recording game list information acquired from the Pavlov server list. |
| gamelist_pushdiscord_analysis.py | Perform analysis on the database generated by game_list_database_handler.py. |
| map_list_generator.py | Generates a json file of all maps in the Pavlov modio listings. |
| mod_analysis.py | Perform analysis of database generated by update_mod_db.py. |
| pavlov_data_analysis.py | Old data analysis script for recording statistics from JTWP generated server logs. |
| pavlov_data_analysis_summary.py | Old data analysis script for recording statistics from JTWP generated server logs. |
| pavlov_server_db_manager.py | Database handler for capturing Pavlov server files. |
| pavlov_server_log_parser.py | Parse and save the data from Pavlov PUSH server files. Uses the pavlov_server_db_manager.py script to update a database of Pavlov server data. |
| pavlov_server_log_parser_orig.py | Original parser for parsing Pavlov server files, is an outdated version of pavlov_server_log_parser.py. |
| pavlovpdater.py | Old version of PyPavlovUpdater used to get modio data. |
| pavserver_db_analysis.py | Primary data analysis script for analysing data from the Pavlov server database generated/updated by the pavlov_server_db_manager.py script. |
| push_bot_kill_parser.py | Failed experiment of parsing player data from the server-status channel of the Pavlov PUSH Discord. |
| push_server_maplist_analysis.py | Generate list of played maps/frequency of map with scraped data (collected weekly) from the Pavlov PUSH Discord. |
| pushdiscord_server_file_grabber.py | Grab data from the Pavlov PUSH Discord log server, save it to local computer and run log parsing script. Credential file not provided. |
| settings_manager.py | Settings/credentials manager for pavlovpdater.py. |
| update_mod_db.py | Update a database of mods with current modio mod information. |
| update_pavlov_stats_db.bat | Script to run the update_mod_db.py script by a linux/windows process. |