Playtime Logger
by JustS-js
Playtime Logger records how long each player stays on a server by writing login and logout events to a Google Spreadsheet.
What it does
The mod uses the Google Spreadsheets API to log each player's logins and logouts automatically, then calculates session timeframes and total playtime per player. Once it has initialized, tracking starts without further setup, and the results can be read directly in the sheet. Server owners who want to watch the size of their active player base can use the output to follow it over time.
Installation takes a few steps on the server. The author describes creating a new Google Cloud project, enabling the Sheets API, adding the scope ./auth/spreadsheets, and saving the generated OAuth client JSON file. Fabric API is required, and the mod runs on a dedicated server, with the environment set to server-side only. The license is MIT License, and the code is open source with public links to the source and issue tracker.
The mod was first published and last updated on 2025-01-08. Its only file is 1.0 for 1.20.1, so the game version is single-target.
Key features
Automatic login logging
Each login and logout is written to a spreadsheet as it happens, without manual entry.
Session and total playtime
Individual session lengths and a running total for each player are calculated from the logged events.
Unique player overview
The Total Playtime sheet lists unique players who have visited since the mod was installed, with names, UUIDs and last login.
Detailed event log
A second sheet called Logs records each login and logout with epoch seconds and dates, along with session playtime in seconds.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Server owners who want a record of player activity in a spreadsheet, and who are willing to create a Google Cloud project and OAuth credentials during setup.
How it compares
Playtime Logger is server-side only, open source under the MIT License, and published for Fabric 1.20.1. ServerPlayertimeTicker is also server-side only, for 1.19.2 – 1.20.1, but is licensed under Creative Commons Attribution Non Commercial Share Alike 4.0 and is not open source. ISIA is server-side only and open source under the MIT License, but covers 1.20.2 – 1.20.4 rather than 1.20.1.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Playtime Logger | Fabric | 1.20.1 | Server-side only | 2025-01-08 |
| ServerPlayertimeTicker | Fabric | 1.19.2 – 1.20.1 | Server-side only | 2024-09-01 |
| ISIA | Fabric | 1.20.2 – 1.20.4 | Server-side only | 2024-04-14 |
Questions
Does Playtime Logger need Fabric API?
Does Playtime Logger have to be installed on players' clients?
Which Minecraft version does Playtime Logger support?
What must be set up before the logger starts?
In the catalog
Playtime Logger is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from JustS-js
Similar mods
What the author says
If you ever encountered a problem with monitoring your server's activity, you might be interested in this modification. This mod uses Google Spreadsheets API to automatically log every player's logins and logouts, calculates individual session timeframes and shows this information in an easy and comfort way. After…
Official listing
- Modrinth page
- modrinth.com/mod/playtime-logger
- Owner
- JustS-js
- Published
- 2025-01-08
- Updated on Modrinth
- 2025-01-08
- Facts verified
- 2026-10-15
