cranci1 / Mc-PlayTime-Mac

A simple python script made to have to total play time for minecraft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mc-PlayTime-Mac

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
Launcher Supported
Minecraft Launcher
Tlauncher
Tlauncher Legacy
GDLauncher
Prism Launcher
MultiMC
Modrinth
CourseForge
ATLauncher
Client Supported
Lunar Client
Badlion Client
Labymod
Feather Client

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!


How to use

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

Custom Path

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.

About

A simple python script made to have to total play time for minecraft

License:Apache License 2.0


Languages

Language:Python 100.0%