❗️The plugin remains fully compatible with data from version 3.0.4 and earlier. Before making any modifications, a backup is automatically created, ensuring a seamless and secure migration to the latest version without data loss.❗️
New Features & Improvements
New support for custom playtime formats
Introduced a comprehensive
playtime format system enabling the creation of
personalized time display formats through YAML files in the
Customization/PlaytimeFormats directory.
The system supports both
internal plugin placeholders and
PlaceholderAPI (PAPI) placeholders by appending the format name using:
%PLAYTIME:custom% or
%PTM_playtime:custom%
Features:
- Automatic zero-value hiding
- Singular/plural unit selection
- Configurable unit labels with advanced formatting
More info:
Wiki: Playtime Formats
New /playtimereset subcommands
Expanded the
/playtime <target> reset command to allow more
granular control over player data.
New reset types:
- server_playtime – Resets server stats (PLAY_ONE_MINUTE)
- playtime – Resets database playtime (actual & artificial)
- last_seen / first_join – Timestamp management
- joinstreak – Resets join streak records
- joinstreak_rewards – Resets reward tracking separately
- goals – Resets completed goals
- everything – Full reset (replaces old all)
New /playtimeattribute command
Added
/playtimeattribute <attribute> [true|false] (alias:
/ptattr) for managing player attributes.
- Requires: playtime.others.attributes
- Current attribute: hidefromleaderboard
- Modifies: placeholders.playtime-leaderboard-blacklist in config
Folders organization and configs updater
Renamed
Translations folder to
Customizations.
Changes:
- Relocated: playtime-self-message and playtime-others-message → Customizations/Commands/commands-config.yml
- Fully rewritten config versioning: complete PlayTimeManager folder backup created before updates
More caching!
Improved performance by caching
commands and
GUI config files in memory.
- Reduces file I/O operations
- Lowers server overhead
Bug Fixes
- Fixed not-in-leaderboard-message – now displays properly for %PTM_rank% when player isn't listed
- Fixed leaderboard hiding – replaced permission-based system with new config-based approach (see /playtimeattribute)