This is a simple python script made to check all the logs files on some minecraft launchers, to get the Total playtime on that launcher (Soon will have a 'All' option to check all launchers).
It currently works on:
Supported Launchers | Supported Clients | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Check the Soon page to understand more about the unsupported launcher/clients.
Labymod and tlauncher use the normal directory of minecraft logs.
Note
More Launcher will be working pretty soon! And if i miss any launcher please let me know!
Important
Python is required to run this file. Install this: python installer
Clone repo:
git clone https://github.com/cranci1/Mc-PlayTime-Mac
Navige to the directory:
cd Mc-PlayTime-Mac
Install the requirements:
pip install -r requirements.txt
Run the script:
python3 mc-time.py
To use a custom path you just need to find the path to a log folder. (The name doesn't have to be logs/log) It only requires that the folder needs to have files with .log.gz extension.