Links
Tags
Creators
Details
1.1.0
Compatibility
Required content
Changes
1.1.0 release of Playtime Command
Added a new command: /playtime --top - this command lets you see online players' playtime in a leaderboard.
In order to avoid lag, the leaderboard is cached for three seconds before being regenerated, even though, during internal testing, the mod built the leaderboard of 264 online players instantly without hurting performance.
Technical changes
The mod is now compiled for 1.21.10 and, unlike before, minecraft >= 1.20 is now an actually declared dependency in the code too, rather than just on Modrinth.
All of this doesn't change anything related to what versions are supported.
Correction: The supported version is 1.21.5+.
The Modrinth page now reflects this correctly. However, the current JAR still declares >=1.20, so Minecraft may not show a proper version mismatch message. Instead, the game will crash with a generic error if server version is below 1.21.5.
Sorry for the confusion!
SHA256:
7C4AE1F588C2A09E772C4D1FB2E8361973EA4981E6F69361563E8DEDDD1A2152
Source code at current commit: Github
Source code changelog: Github
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:okeAxC3Y:TVOv7kuN"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:okeAxC3Y:TVOv7kuN"
}

