PlaytimeLogger

Quick rating

PlaytimeLogger

No reviews yet

This mod logs players' playtime on the server using Google Spreadsheets API. Useful for monitoring server's active player base.

QoL & Tweaks
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
playtimelogger-1.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Playtime Logger Mod

Purpose

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.

Setup

  1. Download and install this mod on your dedicated server.
  2. For now, you can follow this tutorial
  • Follow the link and create new Project
  • Enable the API
  • Create OAuth consent screen and setup External user type. After that, you can use this project in the testing environment.
  • Don't forget to add scope "./auth/spreadsheets"
  1. Download your generated OAuth client as a json file.
  2. Rename it to "credentials.json" and put this file to "/config/playtimelogger/" (if you have started your server, this directory should already exist)
  3. Restart your server. If everything works correctly, you will be prompted to follow the link in your server console. Follow the link and authorize with Google project that you created. Your credentials will be used by Playtime Logger to generate and update spreadsheet.

Usage

After successful initialization you can start tracking your players' playtime activity. Go to the Google Spreadsheets, authorize with your Google account and search for "Playtime Logger" spreadsheet (the name might be different if you replaced it in the config file). There you will see two sheets:

  1. First one, by default, is called "Total Playtime". There you will see all unique players that visited your server starting from the moment you installed the mod. There you will see players' names, UUIDs (for servers in offline mode), playtime for specified period and last login date.
  2. The second sheet is called "Logs" by default. There you will see individual logins and logouts of every player. Those events are described by Epochs (in seconds), Dates (using =EPOCHTODATE formula), and session playtime in seconds.

License

This project is available under the MIT license. Feel free to learn from it and incorporate it in your own projects.

Playtime Logger Mod

Purpose

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.

Setup

  1. Download and install this mod on your dedicated server.
  2. For now, you can follow this tutorial
  • Follow the link and create new Project
  • Enable the API
  • Create OAuth consent screen and setup External user type. After that, you can use this project in the testing environment.
  • Don't forget to add scope "./auth/spreadsheets"
  1. Download your generated OAuth client as a json file.
  2. Rename it to "credentials.json" and put this file to "/config/playtimelogger/" (if you have started your server, this directory should already exist)
  3. Restart your server. If everything works correctly, you will be prompted to follow the link in your server console. Follow the link and authorize with Google project that you created. Your credentials will be used by Playtime Logger to generate and update spreadsheet.

Usage

After successful initialization you can start tracking your players' playtime activity. Go to the Google Spreadsheets, authorize with your Google account and search for "Playtime Logger" spreadsheet (the name might be different if you replaced it in the config file). There you will see two sheets:

  1. First one, by default, is called "Total Playtime". There you will see all unique players that visited your server starting from the moment you installed the mod. There you will see players' names, UUIDs (for servers in offline mode), playtime for specified period and last login date.
  2. The second sheet is called "Logs" by default. There you will see individual logins and logouts of every player. Those events are described by Epochs (in seconds), Dates (using =EPOCHTODATE formula), and session playtime in seconds.

License

This project is available under the MIT license. Feel free to learn from it and incorporate it in your own projects.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works