PlayTimeManager icon

PlayTimeManager -----

A playtime tracker with customization options and automated rewards for efficient monitoring



PlayTimeManager 3.2
Database & Data Integrity

  • nickname and uuid must now be unique in the database to prevent duplicates and ensure data integrity.
  • New UUID mapping system:
    • Allows updating the UUID of an already registered player based on their nickname.
    • Prevents any instance of duplicates even when switching from a premium to a cracked server (though this is not recommended).

New Features & Improvements

Playtime & Goal Enhancements

  • Years as input: The plugin now accepts years (e.g., 1y, 4d, 4m) and automatically converts 365d into 1y. (closes #2)
  • New placeholder for goals:
    • %GOAL_NAME% now dynamically displays the corresponding goal’s name in messages.
  • New subcommands for /playtimegoal & /playtime:
    • /playtimegoal rename: Rename goals without having to recreate them.
    • /playtime <playername> lastseen: Displays when a player was last seen and how long it has been since then.
      • Requires new permission: playtime.others.lastseen

New Auto Update System


Playtime Limits & Overflow Checks

  • New playtime limits:
    • Maximum: Long.MAX_VALUE (~14.6 million years).
    • Minimum: Strictly 0.
  • Additional overflow and underflow checks have been added.

Bug Fixes

  • Fixed double insertion of groups permissions in goals when upgrading from 3.0.4 to 3.1.
  • Resolved caching inconsistencies when switching between online and offline user states.

New Placeholders

Playtime & Last Seen Placeholders

  • %PTM_PlayTime_<nickname>% → Displays a player's total playtime.
  • %PTM_Lastseen_<nickname>% → Shows when a specific player was last seen (date). (closes #2)
  • %PTM_Lastseen_Elapsed_<nickname>% → Displays how long it has been since a player was last seen (formatted duration). (closes #2)
  • %PTM_Lastseen_Top_#% → Shows when the player at position # was last seen.
  • %PTM_Lastseen_Elapsed_Top_#% → Displays how long it has been since the player at position # was last seen.

Date Formatting

  • New config field: datetime-format
    • Allows customization of date formats for placeholders and /playtime <playername> lastseen output.

Quality of Life Improvements

  • Added autocomplete for online players' nicknames as the first argument of the /playtime command.
    • Requires permission: playtime.others

Backward compatibility
Version 3.2 will automatically update configs and DB from older versions up to 3.0.4.
----------, Feb 10, 2025
Resource Information
Author:
----------
Total Downloads: 328
First Release: Jul 22, 2024
Last Update: Feb 19, 2025
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings