Tags
Creators
Details
3.6.3
Compatibility
Changes
❗️The plugin remains fully compatible with data from version 3.1 and later. 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
Database Migration System
Introduced a comprehensive database migration system allowing seamless switching between database types:
- New
/playtimemigrationcommand – Manage database migrations, available from console only.- Three subcommands available:
start <dbtype>– Schedules migration to the specified database typecancel– Cancels any pending migrationstatus– Displays current database type and migration status
- Three subcommands available:
Supported database types:
- MySQL (
mysql) - MariaDB (
mariadb) - PostgreSQL (
postgresql) - SQLite (
sqlite)
Migration process:
- Migration executes automatically on the next server reload/restart after scheduling
- Automatic backup creation before migration begins
- Existing PlayTimeManager tables in target database are automatically dropped to ensure clean migration
- Important: Target database credentials must be correctly configured in
config.ymlbefore server restart (username, password, connection details, etc.)
Expanded Time Unit Support
Added three new time units for placeholders, playtime formats, and commands:
w(weeks) – Display playtime in weekly incrementsmo(months) – Display playtime in monthly incrementsmc(minecraft days) – Display playtime in Minecraft day units (1 Minecraft day = 20 minutes of real playtime)
New configuration option:
month-value-in-days– Customize how many days equal one month for themounit (defaults to 30 days)
These units can be used anywhere time units are supported, including placeholders, playtime format configurations, and command arguments.
AFK Detection Integration
JetsAntiAFKPro support – Integrated JetsAntiAFKPro as an additional AFK detector option.
Configuration Changes
distribute-removed-timeoption is now set totrueby default in the default playtime format
Bug fixes
- Fixed
%SUBCOMMAND%internal placeholder not being correctly parsed - Fixed automatic update process from some old versions of the plugin
- Fixed
%PTM_rank_<nickname>%placeholder returning nothing when queried for an offline player - Fixed an issue which prevented players data up to 5 minutes from being saved correctly to the database on server shut down
- Various optimizations
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:OzCiibPq:RJUid4Cj"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:OzCiibPq:RJUid4Cj"
}

