Play Time Tracker

Play Time Tracker

Mod

Playtime Tracker is a Minecraft mod that monitors and records players' total playtime on a server. It calculates playtime for each session, saves the data in a JSON file, and allows players to check their playtime using the /playtrack command.

Server ManagementUtility

203 downloads
5 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Changelog

[Unreleased]

Changed

  • Updated mod version to 3.0.1: The mod version has been updated to 3.0.1 to include new features and improvements.

Merged

  • Merge branch 'main': Merged changes from the main branch to keep the repository up-to-date.

Added

  • Fabric Maven repository: Added the Fabric Maven repository to settings.gradle to ensure all dependencies are resolved correctly.

[3.0.1]

Changed

  • Updated the mod version to 3.0.1

Merged

  • Merged updates from the main branch to include the latest changes and improvements.

Added

  • Added Fabric Maven repository configuration to settings.gradle.
  • Changed the mod id to all lowercase.
  • no longer maintained (had a bug, was fixed and updated t o 3.0.1)

Changelog

Version 2.0

  • Feature Addition: Added the /playtrack command to allow players to check their total playtime directly in-game.
  • Playtime Tracking: Playtime is now calculated in seconds and saved automatically in playtime.json located in the root directory of the mod.
  • Data Persistence: Playtime data is dynamically saved and retrieved for all players, ensuring accurate tracking across sessions.
  • Error Handling: Added error messages to inform players if their playtime data is not available.

Usage Instructions

Installation

  1. Download the mod .jar file.
  2. Place the .jar file in the mods folder of your Minecraft installation.

Commands

  • /playtrack:
    • Description: Displays the total playtime for the player who triggers the command.
    • Usage: Simply type /playtrack in the chat.
    • Error Handling: If no playtime data is found for the player, an error message will be displayed in the chat.

File Location

  • Playtime data is stored in playtime.json within the root directory of the mod. This file is automatically created and updated as players join and leave the server.

Customization

  • The mod is designed to be simple and user-friendly. No additional configuration is required.

Compatibility

  • This mod is compatible with Minecraft version 1.21 and requires Fabric Loader 0.15.11 or later.

Project members

Circuit-Overtime

Member

Details

Licensed Apache-2.0
Published 2 months ago
Updated 6 days ago