❗️**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 leaderboard permission
Introduced the `playtime.hidefromleaderboard` permission:
- Players with this permission will not be displayed on the playtime leaderboard
- Hidden players are automatically replaced by the next player in playtime ranking
- **Note:** Requires LuckPerms to be installed for this feature to function
## New placeholders
Added new placeholders to enhance your server's information display:
- `%PTM_rank%` and `%PTM_rank_<nickname>%` – Display the current leaderboard position of the specified player. If the player is not on the leaderboard, a customizable message will be shown instead, as defined in the `placeholder.not-in-leaderboard-message` field of the config.yml file.
- `%PTM_firstjoin%` and `%PTM_firstjoin_<nickname>%` – Show the first join date of the specified player. The date is formatted according to the date-time format configured in the config.yml.
## New option to avoid the automatic plugin update check
Added a new configuration option to control automatic plugin update checking:
`check-for-updates` – Toggle automatic update checks on server startup
Particularly useful for versions that can't be upgraded due to dropped support for older Minecraft versions
## New wiki section for common issues
Created a troubleshooting section to help server administrator. It contains step-by-step solutions when the intended methods fail.
Currently there's 1 issue:
- **Chat-Based Input System Issues** – Documented known compatibility problems with plugins that intercept chat events
## New subcommand for /playtimegoal command
Enhanced the `/playtimegoal` command with a new creation subcommand:
- **`/playtimegoal create <goal_name>`** – Create new goals directly via command line
- Provides an alternative method for goal creation when GUI-based input systems are not functioning
- Files can be manually edited in the `plugins/PlayTimeManager/goals/` directory after creation
## Plugin optimization and stability improvements
- **Reduced file size by 50%** – The JAR file has been significantly optimized and is now half the size of the previous version
- **Improved dependency management** – All dependencies are now correctly shaded into the plugin to prevent conflicts with other plugins on your server
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }